[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
# ncurses for mips
From: |
Sam |
Subject: |
# ncurses for mips |
Date: |
Mon, 24 Jun 2002 12:39:31 +0800 |
Hi everybody,
I have installed ncurses 5.2 on Mandrake 8.2, and work well..
However, I try to install it for MIPS and get some error...
so I reconfigure with --libdir to appropriate lib path,
address@hidden ncurses-5.2]# ./configure --target=mips-linux
--libdir=/opt/toolchains/mips/mips-linux/lib
it still in problem...
(My MIPS corss-compiler is work well for linux kernel and other application)
and the log as follows,
Could anybody give me some suggestion?
thanks all,
--Sam
address@hidden ncurses-5.2]# ./configure --target=mips-linux
creating cache ./config.cache
Configuring NCURSES 5.2 ABI 5 (週一 6月 24 11:48:35 CST 2002)
checking host system type... i686-pc-linux-gnu
checking target system type... mips-mips-linux-elf
checking build system type... i686-pc-linux-gnu
Configuring for linux-gnu
checking for prefix... /usr
creating headers.sh
[SKIP]
** Configuration summary for NCURSES 5.2 20001021:
bin directory: /usr/bin
lib directory: /usr/lib
include directory: /usr/include
man directory: /usr/man
terminfo directory: /usr/share/terminfo
address@hidden ncurses-5.2]# make
cd man && make DESTDIR="" all
make[1]: Entering directory `/home/
r - ../objects/alloc_ttype.o
r - ../objects/comp_captab.o
rd ../obj_g;
mips-linux-gcc -I../ncurses -I. -DNDEBUG -I. -I../include -DHAVEc
cd ../obj_g;
mips-linux-gcc -I../ncurses -I. -DNDEBUG -I. -I../include -DHAVEc
cd ../obj_g;
mips-linux-gcc -I../ncurses -I. -DNDEBUG -I. -I../include -DHAVEc
cd ../obj_g;
mips-linux-gcc -I../ncurses -I. -DNDEBUG -I. -I../include -DHAVEc
[SKIP]
make[1]: Entering directory `/home/sam/ncurses-5.2/progs'
cd ../objects;
mips-linux-gcc -I../progs -I. -DNDEBUG -I. -I../include -DHAVEc
cd ../objects;
mips-linux-gcc -I../progs -I. -DNDEBUG -I. -I../include -DHAVEc
mips-linux-gcc ../objects/tic.o
../objects/dump_entry.o -L../lib -L/usr/lib -lnc
/lib/libc.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [tic] Error 1
make[1]: Leaving directory `/home/sam/ncurses-5.2/progs'
make: *** [all] Error 2
=======
======= reconfigure
=======
address@hidden ncurses-5.2]# ./configure --target=mips-linux
--libdir=/opt/toolchains/mips/mips-linux/lib
** Configuration summary for NCURSES 5.2 20001021:
bin directory: /usr/bin
lib directory: /opt/toolchains/mips/mips-linux/lib
include directory: /usr/include
man directory: /usr/man
terminfo directory: /usr/share/terminfo
address@hidden ncurses-5.2]# make
[SKIP]
gawk -f ./tinfo/MKnames.awk ./../include/Caps
cat namehdr boolnames boolfnames numnames numfnames strnames strfnames
nameftr c
cat namehdr boolcodes numcodes strcodes codeftr >./codes.c
rm -f namehdr nameftr codeftr boolnames boolfnames boolcodes numnames
numfnamess
mips-linux-gcc -o
make_keys -O2 -I../ncurses -I. -DNDEBUG -I. -I../include -D
./make_keys ./tinfo/keys.list > init_keytry.h
/bin/sh: ./make_keys: cannot execute binary file
make[1]: *** [init_keytry.h] Error 126
make[1]: Leaving directory `/home/sam/ncurses-5.2/ncurses'
make: *** [all] Error 2
- # ncurses for mips,
Sam <=