The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

parse error - please help

Discussion in 'General Discussion' started by Diatone, Jun 3, 2002.

  1. Diatone

    Diatone Well-Known Member

    Joined:
    Aug 22, 2001
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    when I try to ./buildapache.sea I get quite a lot of output that looks something like this.
    -------------------------------------------------------------------
    /usr/include/libio.h:353: warning: data definition has no type or storage class
    /usr/include/libio.h:361: parse error before `__off64_t'
    /usr/include/libio.h:460: parse error before `_IO_padn'
    /usr/include/libio.h:460: parse error before `__ssize_t'
    /usr/include/libio.h:460: warning: data definition has no type or storage class
    /usr/include/libio.h:463: parse error before `_IO_seekoff'
    /usr/include/libio.h:463: parse error before `__off64_t'
    /usr/include/libio.h:463: warning: data definition has no type or storage class
    /usr/include/libio.h:464: parse error before `_IO_seekpos'
    /usr/include/libio.h:464: parse error before `__off64_t'
    /usr/include/libio.h:464: warning: data definition has no type or storage class
    In file included from /usr/include/ncurses/ncurses.h:81,
    from dialog.h:29,
    from lxdialog.c:22:
    /usr/include/stdio.h:80: parse error before `fpos_t'
    /usr/include/stdio.h:80: warning: data definition has no type or storage class
    In file included from /usr/include/ncurses/ncurses.h:81,
    ----------------------------------------------------------------

    And buildapache.sea just stops at


    /usr/include/bits/stdio.h:122: warning: control reaches end of non-void function
    make: *** [lxdialog.o] Error 1


    Can anyone please help me out with why this would be happening?
     
  2. Annette

    Annette Well-Known Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    445
    Likes Received:
    0
    Trophy Points:
    16
    You might benefit from /scripts/fixheaders
     
  3. Diatone

    Diatone Well-Known Member

    Joined:
    Aug 22, 2001
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Hi Annette,

    Thanks, but still no go. Same errors
     
  4. Annette

    Annette Well-Known Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    445
    Likes Received:
    0
    Trophy Points:
    16
    Pretty weird. What are the os specs on the box? Maybe that will trigger something for someone.
     
  5. Diatone

    Diatone Well-Known Member

    Joined:
    Aug 22, 2001
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    It is a redhat 7.3 box with cpanel/whm base install. It also happened I believe on one of my redhat 6.2 boxes a while back also.
     
  6. Daniel

    Daniel Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    I had the same thing happen on two servers. Redhat 7.1 and 7.2. It worked fine on other servers with the same setup.
     
  7. DuncanMcLord

    DuncanMcLord Active Member

    Joined:
    Dec 12, 2001
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Yup,
    also same here:
    2 of 3 machines produce those errors!
    I read in another Thread about reinstalling the compilers for my OS.
    Which ones would i have to install?

    Thanks,

    Duncan
     
Loading...

Share This Page