Error compiling ncurses in lfs 6.0
When I try tocompile ncursesI received the folowing error:
gcc ../obj_s/clear.o -L../lib -lncurses -I../progs -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -I/tools/include -O2 -fPIC -o clear cd ../obj_s; gcc -I../progs -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -I/tools/include -O2 -fPIC -c ../progs/tput.c ../progs/tput.c: In function heck_aliases': ../progs/tput.c:87: error: ROG_INIT' undeclared (first use in this function) ../progs/tput.c:87: error: (Each undeclared identifier is reported only once ../progs/tput.c:87: error: for each function it appears in.) make[1]: *** [../obj_s/tput.o] Error 1 make[1]: Leaving directory /mnt/lfs/sources/ncurses-5.4/progs' make: *** [all] Error 2 I erased the directory and started but get the same error... Can someone help me... Oh, my host distro is a fedora core 2... []s... |
hi
hi,
it seems that your ncurses rpm got corrupted. i think you must have the Linux CD with you. from there just check it our for the RPM avilable in that CD's. it is under the RedHat/RPMs/.. just check it out... once you find the rpm for the ncurses-{version of the RPM} .. THEN type the command rpm -ivh --force ncurses-{version} it will install the RPMs and your prob will get over. bye & cheers. |
this is a strange one cause the gcc command has -I. and that should do it
those symbols are defined in the included file transform.h it's so simple it can't be wrong seems like to me you could try putting the #include <transform.h> as #include "transform.h" instead just to see if there is some naming conflict one odd thing is some of the chars you posted are not appearing correctly here in either 8859-1 or utf-8 that's the only thing i see -- i wonder if encoding could cause stuff like this ? anybody else ? or you have a bad rpm (wink wink) |
All times are GMT -5. The time now is 01:29 PM. |