This is the mail archive of the 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]

Re: Error building ncurses.

Ben, All,

On Wednesday 30 June 2010 21:16:36 Ben Greear wrote:
> cg-ng build
> 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  ]    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'
> As far as I can tell, I have lib dl installed fine:
> /lib/
> /lib/
> /lib64/
> /lib64/
> /usr/lib64/

Notice the '-static' on the command line? Do you have a libdl.a somewhere?
On my Debian, libdl is in package libc6-dev. Fedora should have it in a
similarly named package.

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

Yes, the toolchain is properly finished when the debug tools are being
compiled. There's stil the 'finish' step, but that is not that important
(compressing log file, setting RO permissions, removing man...).

Yann E. MORIN.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

For unsubscribe information see

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