bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross Compiling troubles


From: tchiwam
Subject: Cross Compiling troubles
Date: Wed, 13 Feb 2002 22:40:19 +0200 (EET)

Hello,

I am trying to build ncurses to put in my /usr/local/<arch>/...
so that I compile dynamic and static things that requier ncurses...

I already have gcc-2.95.3 with all the language as cross-compiler and
host-compiler, glibc-2.2.5

I now use ncurses-5.2-20011222
I have read the INTALL cross compile section and tried to play around
ncurses ./configure option , drop build= and host= ...


Thank you,
Philippe Trottier

(I am not yet on ncurses list)



This is what I tought would work :

export BUILD_CC=gcc
./configure --prefix=/usr/local/<arch> \
--with-shared --disable-termcap \
--host=<harch> --target=<arch> --build=<harch> &&
make sources &&
make &&
make install

So far I always endend with the following:

make[1]: Entering directory `/usr/src/ncurses-5.2/ncurses'
cd ../obj_s;  gcc -I../ncurses -I. -D_GNU_SOURCE -DNDEBUG -I. -I../include
-I/usr/local/i386-linux//include -DHAVE_CONFIG_H -O2  -fPIC -c
../ncurses/comp_captab.c
../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] Error 1
make[1]: Leaving directory `/usr/src/ncurses-5.2/ncurses'
make: *** [all] Error 2







reply via email to

[Prev in Thread] Current Thread [Next in Thread]