ncurses compilation

Jonathan Eisenstein jeisen at mindspring.com
Fri Nov 3 13:12:39 PST 2000


I'm having some trouble compiling ncurses, both while in the chroot
environment and in my normal system. Looking at the file that the make
fails on, I have the feeling I'm missing some include files (tic.h and
hashsize.h, and probably more). Here's the compilation log:
-------------- next part --------------
cd man && make INSTALL_PREFIX="" all
make[1]: Entering directory `/usr/src/ncurses-5.1/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/ncurses-5.1/man'
cd include && make INSTALL_PREFIX="" all
make[1]: Entering directory `/usr/src/ncurses-5.1/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/ncurses-5.1/include'
cd ncurses && make INSTALL_PREFIX="" all
make[1]: Entering directory `/usr/src/ncurses-5.1/ncurses'
gcc -o make_hash -O3 -mcpu=i586 -march=i586  -I../ncurses -I.  -DNDEBUG -I. -I../include -DHAVE_CONFIG_H -DTERMINFO=\"/usr/share/terminfo\" -DMAIN_PROGRAM ./tinfo/comp_hash.c 
../tinfo/comp_hash.c: In function `_nc_make_hash_table':
../tinfo/comp_hash.c:78: parse error before `;'
../tinfo/comp_hash.c:78: parse error before `)'
../tinfo/comp_hash.c: At top level:
../tinfo/comp_hash.c:90: parse error before `}'
../tinfo/comp_hash.c: In function `hash_function':
../tinfo/comp_hash.c:117: invalid type argument of `unary *'
../tinfo/comp_hash.c: In function `main':
../tinfo/comp_hash.c:229: parse error before `)'
../tinfo/comp_hash.c:230: invalid type argument of `unary *'
../tinfo/comp_hash.c:256: parse error before `)'
../tinfo/comp_hash.c:288: parse error before `;'
../tinfo/comp_hash.c:288: parse error before `)'
../tinfo/comp_hash.c: At top level:
../tinfo/comp_hash.c:298: parse error before string constant
../tinfo/comp_hash.c:298: warning: data definition has no type or storage class
../tinfo/comp_hash.c:300: parse error before string constant
../tinfo/comp_hash.c:303: parse error before string constant
../tinfo/comp_hash.c:303: warning: data definition has no type or storage class
../tinfo/comp_hash.c:312: parse error before string constant
../tinfo/comp_hash.c:312: warning: data definition has no type or storage class
../tinfo/comp_hash.c:314: parse error before string constant
../tinfo/comp_hash.c:314: warning: data definition has no type or storage class
../tinfo/comp_hash.c:315: parse error before string constant
../tinfo/comp_hash.c:315: warning: data definition has no type or storage class
../tinfo/comp_hash.c:317: parse error before string constant
../tinfo/comp_hash.c:318: warning: data definition has no type or storage class
../tinfo/comp_hash.c:319: parse error before string constant
../tinfo/comp_hash.c:319: warning: data definition has no type or storage class
../tinfo/comp_hash.c:320: parse error before string constant
../tinfo/comp_hash.c:320: warning: data definition has no type or storage class
../tinfo/comp_hash.c:321: parse error before string constant
../tinfo/comp_hash.c:321: warning: data definition has no type or storage class
make[1]: *** [make_hash] Error 1
make[1]: Leaving directory `/usr/src/ncurses-5.1/ncurses'
make: *** [all] Error 2


More information about the lfs-dev mailing list