Juan Lablanca
2005-10-10 15:15:16 UTC
Hi,
I am trying to cross compile ncurses-5.4 with the compiler arm-elf-gcc(arm-elf-tools-20030314).Although the last week i was able to make it, somehow something happened and now i can not get rid of the following error (by compiling):
../ncurses/comp_captab.c: In function `_nc_get_table':
../ncurses/comp_captab.c:74: `_nc_cap_table' undeclared (first use in this function)
../ncurses/comp_captab.c:74: (Each undeclared identifier is reported only once
../ncurses/comp_captab.c:74: for each function it appears in.)
../ncurses/comp_captab.c:74: `_nc_info_table' undeclared (first use in this function)
make[1]: *** [../obj_s/comp_captab.o]
I guess it must be something wrong with an include path or the terminfo setting, and despite i
have shuffled the different STDFLAGS, INCLUDES and paths for TERMINFO
(please see the attached my-config.sh) and included another options such as: --with-build-cc=gcc\ it remains not working . I have also applied a patch for that version (patch-5.4-20050827.sh), but it did not work, it gave me another error by linking (something about segmentation fault) Could anybody give me a hand please?
Thanx in advance and regards,
Juanfran
I am trying to cross compile ncurses-5.4 with the compiler arm-elf-gcc(arm-elf-tools-20030314).Although the last week i was able to make it, somehow something happened and now i can not get rid of the following error (by compiling):
../ncurses/comp_captab.c: In function `_nc_get_table':
../ncurses/comp_captab.c:74: `_nc_cap_table' undeclared (first use in this function)
../ncurses/comp_captab.c:74: (Each undeclared identifier is reported only once
../ncurses/comp_captab.c:74: for each function it appears in.)
../ncurses/comp_captab.c:74: `_nc_info_table' undeclared (first use in this function)
make[1]: *** [../obj_s/comp_captab.o]
I guess it must be something wrong with an include path or the terminfo setting, and despite i
have shuffled the different STDFLAGS, INCLUDES and paths for TERMINFO
(please see the attached my-config.sh) and included another options such as: --with-build-cc=gcc\ it remains not working . I have also applied a patch for that version (patch-5.4-20050827.sh), but it did not work, it gave me another error by linking (something about segmentation fault) Could anybody give me a hand please?
Thanx in advance and regards,
Juanfran