ltib
[Top][All Lists]
Advanced

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

[Ltib] Linking question


From: Luka Rahne
Subject: [Ltib] Linking question
Date: Wed, 18 May 2011 16:46:22 +0200

I am new to  Linux, but still, using instructions I was able to setup
environment, compiled and also able to remotely debuged printf("Hello
World");

I have problem using any other than standard libraries.

I am building for MCF54418 and if I add <ltib>/rootfs/usr/lib to
linker path and try to build "pthread.h" application HelloWorld
http://pastebin.com/ugYmSiFU I get error:

Compiling: main.c
Linking console executable: bin/Debug/HelloWorld
/opt/freescale/usr/local/gcc-4.4.54-eglibc-2.10.54/m68k-linux/lib/gcc/m68k-linux-gnu/4.4.1/../../../../m68k-linux-gnu/bin/ld:
m68k:isa-c:emac architecture of input file
`/home/ralu/ltib/ltib-modelo-20100709/rootfs/lib/libpthread-2.10.1.so'
is incompatible with m68k:isa-b:float:emac output
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings


How should solve this? I have been trying this for almost 2 days.

Luka



reply via email to

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