Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    316
    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:
    316
    You might benefit from /scripts/fixheaders
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Diatone

    Diatone Well-Known Member

    Joined:
    Aug 22, 2001
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    316
    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:
    316
    Pretty weird. What are the os specs on the box? Maybe that will trigger something for someone.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Diatone

    Diatone Well-Known Member

    Joined:
    Aug 22, 2001
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    316
    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:
    316
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. DuncanMcLord

    DuncanMcLord Active Member

    Joined:
    Dec 12, 2001
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    306
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice