This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Error building ncurses.


cg-ng build
....
....
[INFO ]  Installing native gdb
[EXTRA]    Building static target ncurses
[ERROR]    make[1]: *** [tic] Error 1
[ERROR]    Build failed in step 'Installing native gdb'
[ERROR]    Error happened in '/usr/local/lib/ct-ng-1.7.1/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from '/usr/local/lib/ct-ng-1.7.1/scripts/build/debug/300-gdb.sh' at line # 155 in function 'do_debug_gdb_build'
[ERROR]          called from '/usr/local/lib/ct-ng-1.7.1/scripts/build/debug.sh' at line # 35 in function 'do_debug'
[ERROR]          called from '/usr/local/lib/ct-ng-1.7.1/scripts/crosstool-NG.sh' at line # 577 in function 'main'
[ERROR]    Look at '/home/greearb/x-tools/arm-unknown-linux-gnueabi/build.log' for more info on this error.
[ERROR]  (elapsed: 46:08.44)
[46:09] / make: *** [build] Error 2

[greearb@ben-dt2 cxt]$ ct-ng version
This is crosstool-NG version 1.7.1

Copyright (C) 2008  Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

I'm using arm-unknown-linux-gnueabi.  The only changes I made were to
disable gcj and Fortran.

Host system is 64-bit Fedora 11.


The build.log had this at the bottom:


[ALL ] a - ../obj_g/key_defined.o
[ALL ] a - ../obj_g/keybound.o
[ALL ] a - ../obj_g/keyok.o
[ALL ] a - ../obj_g/version.o
[ALL ] x86_64-build_redhat-linux-gnu-ranlib ../lib/libncurses_g.a
[ALL ] make[2]: Leaving directory `/home/greearb/tmp/cxt/targets/arm-unknown-linux-gnueabi/build/build-ncurses-build-tic/ncurses'
[ALL ] x86_64-build_redhat-linux-gnu-gcc ../objects/tic.o ../objects/dump_entry.o -I../progs -I/home/greearb/tmp/cxt/targets/src/ncurses-5.7/progs -DHAVE_CONFIG_H -I/home/greearb/tmp/cxt/targets/src/ncurses-5.7/progs/../include -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 --param max-inline-insns-single=1200 -static -L../lib -lncurses -L../lib -lncurses -dynamic -ldl -o tic
[ALL ] /usr/bin/ld: cannot find -ldl
[ALL ] collect2: ld returned 1 exit status
[ERROR] make[1]: *** [tic] Error 1
[ALL ] make[1]: Leaving directory `/home/greearb/tmp/cxt/targets/arm-unknown-linux-gnueabi/build/build-ncurses-build-tic/progs'
[ERROR] Build failed in step 'Installing native gdb'
[ERROR] Error happened in '/usr/local/lib/ct-ng-1.7.1/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR] called from '/usr/local/lib/ct-ng-1.7.1/scripts/build/debug/300-gdb.sh' at line # 155 in function 'do_debug_gdb_build'
[ERROR] called from '/usr/local/lib/ct-ng-1.7.1/scripts/build/debug.sh' at line # 35 in function 'do_debug'
[ERROR] called from '/usr/local/lib/ct-ng-1.7.1/scripts/crosstool-NG.sh' at line # 577 in function 'main'
[ERROR] Look at '/home/greearb/x-tools/arm-unknown-linux-gnueabi/build.log' for more info on this error.



As far as I can tell, I have lib dl installed fine:


/lib/libdl-2.10.2.so
/lib/libdl.so.2
/lib64/libdl-2.10.2.so
/lib64/libdl.so.2
/usr/lib64/libdl.so


It looks like the base compiler tool chain worked though, as I was able to cross-compile.


Thanks,
Ben

--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


-- For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]