[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CROSS-COMPILING encurses &Insatalling
From: |
nagaraju chilukuri |
Subject: |
CROSS-COMPILING encurses &Insatalling |
Date: |
Tue, 25 May 2004 06:38:55 +0100 (BST) |
Hai all,
I am working on lynux.I want to CROSS-COMPILE ncurses software for an "arm" based machine.I have the cross-compiler.
I downloaded the "ncurses" software from net and tried to do that.Then i got following messages.
For "make"(or make sources) the response is as follows...
address@hidden ncurses-5.0]# make sources
cd man && make INSTALL_PREFIX="" sources
make[1]: Entering directory `/usr/local/ncurses-5.0/man'
sh ./MKterminfo.sh ./terminfo.head ./../include/Caps ./terminfo.tail >terminfo.5make[1]: Leaving directory `/usr/local/ncurses-5.0/man'
cd include && make INSTALL_PREFIX="" sources
make[1]: Entering directory `/usr/local/ncurses-5.0/include'
sh ./MKhashsize.sh ./Caps >hashsize.h
AWK=gawk sh ./MKparametrized.sh ./Caps >parametrized.h
gawk -f MKterm.h.awk ./Caps > term.h
sh ./edit_cfg.sh ../include/ncurses_cfg.h term.h
** edit: HAVE_TCGETATTR
** edit: HAVE_TERMIOS_H
** edit: HAVE_TERMIO_H
** edit: NCURSES_CONST
** edit: BROKEN_LINKER
make[1]: Leaving directory `/usr/local/ncurses-5.0/include'
cd ncurses && make INSTALL_PREFIX="" sources
make[1]: Entering directory `/usr/local/ncurses-5.0/ncurses'
sh ./base/MKlib_gen.sh "arm-linux-gcc -E" "gawk"
<../include/curses.h | \
fgrep undef >../include/nomacros.h
arm-linux-gcc -o make_hash -O2 -I../ncurses -I. -DNDEBUG -I. -I../include -DHAVE_CONFIG_H -DTERMINFO=\"/usr/share/terminfo\" -DMAIN_PROGRAM ./tinfo/comp_hash.c
sh ./tinfo/MKcaptab.awk gawk ./../include/Caps > comp_captab.c
./tinfo/MKcaptab.awk: line 19: ./make_hash: cannot execute binary file
./tinfo/MKcaptab.awk: line 20: ./make_hash: cannot execute binary file
sh ./tty/MKexpanded.sh "arm-linux-gcc -E" -I../ncurses -I. -DNDEBUG -I. -I../include -DHAVE_CONFIG_H -DTERMINFO=\"/usr/share/terminfo\" > expanded.c
sh ./tinfo/MKfallback.sh >fallback.c
gawk -f ./tinfo/MKnames.awk ./../include/Caps
cat namehdr boolnames boolfnames numnames numfnames strnames strfnames nameftr >./names.c
cat namehdr boolcodes numcodes strcodes codeftr >./codes.c
rm -f namehdr nameftr codeftr boolnames boolfnames boolcodes numnames
numfnames
numcodes strnames strfnames strcodes
arm-linux-gcc -o make_keys -O2 -I../ncurses -I. -DNDEBUG -I. -I../include -DHAVE_CONFIG_H -DTERMINFO=\"/usr/share/terminfo\" ./tinfo/make_keys.c
./make_keys ./tinfo/keys.list > init_keytry.h
/bin/sh: line 1: ./make_keys: cannot execute binary file
make[1]: *** [init_keytry.h] Error 126
make[1]: Leaving directory `/usr/local/ncurses-5.0/ncurses'
make: *** [sources] Error 2
For make INSTALL the response is as follows...
make[1]: *** [../objects/comp_captab.o] Error 1
make[1]: Leaving directory `/usr/local/ncurses-5.0/ncurses'
make: *** [install] Error 2
I am unable to understand what went wrong.Please suggest me what to donow.
Thanking you,
Nagaraju
Yahoo! Messenger - Communicate instantly..."Ping" your friends
today! Download Messenger Now
- CROSS-COMPILING encurses &Insatalling,
nagaraju chilukuri <=