Diatone

Well-Known Member
Aug 22, 2001
111
0
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?
 

Annette

Well-Known Member
PartnerNOC
Aug 12, 2001
445
0
316
You might benefit from /scripts/fixheaders
 

Annette

Well-Known Member
PartnerNOC
Aug 12, 2001
445
0
316
Pretty weird. What are the os specs on the box? Maybe that will trigger something for someone.
 

Diatone

Well-Known Member
Aug 22, 2001
111
0
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.
 

Daniel

Well-Known Member
PartnerNOC
Aug 13, 2001
165
0
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.
 

DuncanMcLord

Active Member
Dec 12, 2001
31
0
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