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.

buildapache.sea error

Discussion in 'EasyApache' started by Stephen, Apr 28, 2002.

  1. Stephen

    Stephen Active Member

    Joined:
    Aug 14, 2001
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    8
    I just downloaded [ cpanel-redhat7.2-install.sea (Sat Mar 23 10:34:00 2002) ] and ran it on a working machine with cpanel previously installed.

    Then I downloaded buildapache.sea (Fri Apr 26 08:26:22 2002)
    and ran it, got the following errors:

    ----------------

    ...

    /usr/include/fcntl.h:83: parse error before `__mode_t'
    /usr/include/fcntl.h:112: parse error before `__off_t'
    In file included from dialog.h:24,
    from lxdialog.c:22:
    /usr/include/unistd.h:240: parse error before `intptr_t'
    /usr/include/unistd.h:240: warning: data definition has no type or storage class
    /usr/include/unistd.h:247: parse error before `socklen_t'
    /usr/include/unistd.h:247: warning: data definition has no type or storage class
    /usr/include/unistd.h:290: parse error before `lseek'
    /usr/include/unistd.h:290: parse error before `__off_t'
    /usr/include/unistd.h:290: warning: data definition has no type or storage class
    /usr/include/unistd.h:310: parse error before `read'
    /usr/include/unistd.h:310: warning: data definition has no type or storage class
    /usr/include/unistd.h:313: parse error before `write'
    /usr/include/unistd.h:313: warning: data definition has no type or storage class
    /usr/include/unistd.h:378: parse error before `ualarm'
    /usr/include/unistd.h:378: parse error before `__value'
    /usr/include/unistd.h:379: warning: data definition has no type or storage class
    /usr/include/unistd.h:383: parse error before `__useconds'
    /usr/include/unistd.h:393: parse error before `__uid_t'
    /usr/include/unistd.h:398: parse error before `__uid_t'
    /usr/include/unistd.h:403: parse error before `__uid_t'
    In file included from dialog.h:24,
    from lxdialog.c:22:
    /usr/include/unistd.h:518: parse error before `getpid'
    /usr/include/unistd.h:518: warning: data definition has no type or storage class
    /usr/include/unistd.h:521: parse error before `getppid'
    /usr/include/unistd.h:521: warning: data definition has no type or storage class
    /usr/include/unistd.h:526: parse error before `getpgrp'
    /usr/include/unistd.h:526: warning: data definition has no type or storage class
    /usr/include/unistd.h:536: parse error before `__getpgid'
    /usr/include/unistd.h:536: parse error before `__pid'
    /usr/include/unistd.h:536: warning: data definition has no type or storage class
    /usr/include/unistd.h:545: parse error before `__pid'
    /usr/include/unistd.h:580: parse error before `setsid'
    /usr/include/unistd.h:580: warning: data definition has no type or storage class
    /usr/include/unistd.h:588: parse error before `getuid'
    /usr/include/unistd.h:588: warning: data definition has no type or storage class
    /usr/include/unistd.h:591: parse error before `geteuid'
    /usr/include/unistd.h:591: warning: data definition has no type or storage class
    /usr/include/unistd.h:594: parse error before `getgid'
    /usr/include/unistd.h:594: warning: data definition has no type or storage class
    /usr/include/unistd.h:597: parse error before `getegid'
    /usr/include/unistd.h:597: warning: data definition has no type or storage class
    /usr/include/unistd.h:602: parse error before `__gid_t'
    /usr/include/unistd.h:613: parse error before `__uid'
    /usr/include/unistd.h:618: parse error before `__ruid'
    /usr/include/unistd.h:623: parse error before `__uid'
    /usr/include/unistd.h:630: parse error before `__gid'
    /usr/include/unistd.h:635: parse error before `__rgid'
    /usr/include/unistd.h:640: parse error before `__gid'
    /usr/include/unistd.h:647: parse error before `fork'
    /usr/include/unistd.h:647: warning: data definition has no type or storage class
    /usr/include/unistd.h:654: parse error before `vfork'
    /usr/include/unistd.h:654: warning: data definition has no type or storage class
    /usr/include/unistd.h:700: parse error before `tcgetpgrp'
    /usr/include/unistd.h:700: warning: data definition has no type or storage class
    /usr/include/unistd.h:703: parse error before `__pid_t'
    In file included from dialog.h:24,
    from lxdialog.c:22:
    /usr/include/unistd.h:825: parse error before `__off_t'
    /usr/include/unistd.h:841: parse error before `__off_t'
    /usr/include/unistd.h:872: parse error before `__delta'
    In file included from dialog.h:25,
    from lxdialog.c:22:
    /usr/include/ctype.h:76: parse error before `*'
    /usr/include/ctype.h:76: warning: data definition has no type or storage class
    /usr/include/ctype.h:77: parse error before `*'
    /usr/include/ctype.h:77: warning: data definition has no type or storage class
    In file included from /usr/include/string.h:360,
    from dialog.h:27,
    from lxdialog.c:22:
    /usr/include/bits/string2.h:405: parse error before `__uint16_t'
    /usr/include/bits/string2.h:409: parse error before `__uint16_t'
    /usr/include/bits/string2.h:412: warning: function declaration isn't a prototype
    /usr/include/bits/string2.h: In function `__strcpy_small':
    /usr/include/bits/string2.h:414: parse error before `__uint32_t'
    /usr/include/bits/string2.h:414: warning: no semicolon at end of struct or union
    /usr/include/bits/string2.h:415: `__uint16_t' undeclared (first use in this function)
    /usr/include/bits/string2.h:415: (Each undeclared identifier is reported only once
    /usr/include/bits/string2.h:415: for each function it appears in.)
    /usr/include/bits/string2.h:417: warning: control reaches end of non-void function
    /usr/include/bits/string2.h: At top level:
    /usr/include/bits/string2.h:417: `__dest' undeclared here (not in a function)
    /usr/include/bits/string2.h:417: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:418: parse error before `switch'
    /usr/include/bits/string2.h:428: conflicting types for `__u'
    /usr/include/bits/string2.h:417: previous declaration of `__u'
    /usr/include/bits/string2.h:428: warning: initialization makes integer from pointer without a cast
    /usr/include/bits/string2.h:428: initializer element is not constant
    /usr/include/bits/string2.h:428: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:429: parse error before `-&'
    /usr/include/bits/string2.h:436: redefinition of `__u'
    /usr/include/bits/string2.h:428: `__u' previously defined here
    /usr/include/bits/string2.h:436: warning: initialization makes integer from pointer without a cast
    /usr/include/bits/string2.h:436: initializer element is not constant
    /usr/include/bits/string2.h:436: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:437: parse error before `-&'
    /usr/include/bits/string2.h:441: redefinition of `__u'
    /usr/include/bits/string2.h:436: `__u' previously defined here
    /usr/include/bits/string2.h:441: warning: initialization makes integer from pointer without a cast
    /usr/include/bits/string2.h:441: initializer element is not constant
    /usr/include/bits/string2.h:441: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:442: parse error before `-&'
    /usr/include/bits/string2.h:446: redefinition of `__u'
    /usr/include/bits/string2.h:441: `__u' previously defined here
    /usr/include/bits/string2.h:446: warning: initialization makes integer from pointer without a cast
    /usr/include/bits/string2.h:446: initializer element is not constant
    /usr/include/bits/string2.h:446: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:447: parse error before `-&'
    /usr/include/bits/string2.h:448: redefinition of `__u'
    /usr/include/bits/string2.h:446: `__u' previously defined here
    /usr/include/bits/string2.h:448: warning: initialization makes integer from pointer without a cast
    /usr/include/bits/string2.h:448: initializer element is not constant
    /usr/include/bits/string2.h:448: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:449: parse error before `-&'
    /usr/include/bits/string2.h:453: redefinition of `__u'
    /usr/include/bits/string2.h:448: `__u' previously defined here
    /usr/include/bits/string2.h:453: warning: initialization makes integer from pointer without a cast
    /usr/include/bits/string2.h:453: initializer element is not constant
    /usr/include/bits/string2.h:453: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:454: parse error before `-&'
    In file included from /usr/include/libio.h:32,
    from /usr/include/stdio.h:65,
    from /usr/include/ncurses/ncurses.h:81,
    from dialog.h:29,
    from lxdialog.c:22:
    /usr/include/_G_config.h:28: parse error before `__off_t'
    /usr/include/_G_config.h:28: warning: no semicolon at end of struct or union
    /usr/include/_G_config.h:30: parse error before `}'
    /usr/include/_G_config.h:30: warning: data definition has no type or storage class
    /usr/include/_G_config.h:33: parse error before `__off64_t'
    /usr/include/_G_config.h:33: warning: no semicolon at end of struct or union
    /usr/include/_G_config.h:35: parse error before `}'
    /usr/include/_G_config.h:35: warning: data definition has no type or storage class
    In file included from /usr/include/stdio.h:65,
    from /usr/include/ncurses/ncurses.h:81,
    from dialog.h:29,
    from lxdialog.c:22:
    /usr/include/libio.h:286: parse error before `__off_t'
    /usr/include/libio.h:286: warning: no semicolon at end of struct or union
    /usr/include/libio.h:305: parse error before `_offset'
    /usr/include/libio.h:305: warning: data definition has no type or storage class
    /usr/include/libio.h:318: parse error before `}'
    /usr/include/libio.h:344: parse error before `__io_read_fn'
    /usr/include/libio.h:344: warning: data definition has no type or storage class
    /usr/include/libio.h:352: parse error before `__io_write_fn'
    /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,
    from dialog.h:29,
    from lxdialog.c:22:
    /usr/include/stdio.h:497: parse error before `fpos_t'
    /usr/include/stdio.h:500: parse error before `*'
    In file included from /usr/include/stdio.h:632,
    from /usr/include/ncurses/ncurses.h:81,
    from dialog.h:29,
    from lxdialog.c:22:
    /usr/include/bits/stdio.h: In function `getc_unlocked':
    /usr/include/bits/stdio.h:52: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:52: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:52: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:53: warning: control reaches end of non-void function
    /usr/include/bits/stdio.h: In function `getchar_unlocked':
    /usr/include/bits/stdio.h:59: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:59: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:59: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:60: warning: control reaches end of non-void function
    .
    .
    .
    ---------------------------

    I am not sure what I need to do to get this fixed! Please help!
     
  2. Stephen

    Stephen Active Member

    Joined:
    Aug 14, 2001
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    8
    Please excuse my stupidity! I am thinking cpanel-redhat7.2-install.sea built dimaged the c compiler ? so I am planning to install this http://rpmfind.net//linux/RPM/redhat/7.2/i386/gcc-2.96-98.i386.html

    Am I on the right direction? Thank you so much!
     
  3. Brownie

    Brownie Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    16
    you can just run /scripts/fixheaders and it should fix that for you :)
     
  4. Stephen

    Stephen Active Member

    Joined:
    Aug 14, 2001
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    8
    Thank you, Brownie!
     
  5. Brownie

    Brownie Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    16
    No Probs :)
     

Share This Page