Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - ld: Relocatable linking with relocations from format elf32-i386 : (1 Item)
   
ld: Relocatable linking with relocations from format elf32-i386  
Hi,

I have installed QNX Momentics IDE 4.5  on my windows machine (XP).
My application  creates combined single .o file from few .o s. when it tries to create combined .o following error 
displayed. Same thing if I compile in QNX machine it is compiling.

Can anybody  help me to sove this problem.

QNX Momentics IDE 4.5 compilation:
-------------------------------------------

C:\QNX640\host\win32\x86\usr\bin\make TARGET=host --file=C:/DOCUME~1/che17210/LOCALS~1/Temp/QMakefile124888003903336452.
tmp 

make[1]: Entering directory `C:/Checkout_ECS/ECS_28/dfm/application/ecs_npc/iss/future/l2iwf'

process_begin: CreateProcess((null), ld -r -L /usr/qnx640/target/qnx6/x86/usr/lib -o C:\Checkout_ECS\ECS_28\dfm\
application\ecs_npc\iss\future/l2iwf/obj/FutureL2IWF.o C:\Checkout_ECS\ECS_28\dfm\application\ecs_npc\iss\future/l2iwf/
obj/l2cfa.o C:\Checkout_ECS\ECS_28\dfm\application\ecs_npc\iss\future/l2iwf/obj/l2init.o C:\Checkout_ECS\ECS_28\dfm\
application\ecs_npc\iss\future/l2iwf/obj/l2util.o C:\Checkout_ECS\ECS_28\dfm\application\ecs_npc\iss\future/l2iwf/obj/
l2stubs.o C:\Checkout_ECS\ECS_28\dfm\application\ecs_npc\iss\future/l2iwf/obj/l2vlist.o C:\Checkout_ECS\ECS_28\dfm\
application\ecs_npc\iss\future/l2iwf/obj/l2vlan.o C:\Checkout_ECS\ECS_28\dfm\application\ecs_npc\iss\future/l2iwf/obj/
l2pkt.o C:\Checkout_ECS\ECS_28\dfm\application\ecs_npc\iss\future/l2iwf/obj/l2pb.o C:\Checkout_ECS\ECS_28\dfm\
application\ecs_npc\iss\future/l2iwf/obj/l2pbvlan.o, ...) failed.

make[1]: Leaving directory `C:/Checkout_ECS/ECS_28/dfm/application/ecs_npc/iss/future/l2iwf'

make (e=2): The system cannot find the file specified.


make[1]: *** [C:\Checkout_ECS\ECS_28\dfm\application\ecs_npc\iss\future/l2iwf/obj/FutureL2IWF.o] Error 2

C:\QNX640\host\win32\x86\usr\bin\make: *** [MAKEALL] Error 2

 

Cygwin compilation:
-----------------------
$ make TARGET=host
'-n' is not recognized as an internal or external command,
operable program or batch file.
*********************************************************
You must activate within 12 days
For more information or to get a new license key contact
QNX Software Systems at activate@qnx.com
*********************************************************
make[1]: Entering directory `/cygdrive/c/Checkout_ECS/ECS_28/dfm/application/ecs
_npc/iss/future/l2iwf'
ld: Relocatable linking with relocations from format elf32-i386 (C:\Checkout_ECS
\ECS_28\dfm\application\ecs_npc\iss\future/l2iwf/obj/l2cfa.o) to format pe-i386
(C:\Checkout_ECS\ECS_28\dfm\application\ecs_npc\iss\future/l2iwf/obj/FutureL2IWF
.o) is not supported
make[1]: *** [C:\Checkout_ECS\ECS_28\dfm\application\ecs_npc\iss\future/l2iwf/ob
j/FutureL2IWF.o] Error 1
make[1]: Leaving directory `/cygdrive/c/Checkout_ECS/ECS_28/dfm/application/ecs_
npc/iss/future/l2iwf'
make: *** [MAKEALL] Error 2


Thanks,
vinod.