This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
PE operations on non PE file. collect2: ld return exit
- From: anupam dot goel at st dot com
- To: ecos-discuss at sources dot redhat dot com
- Date: Sat, 19 Jul 2003 12:45:57 +0530
- Subject: [ECOS] PE operations on non PE file. collect2: ld return exit
> Hi,
>
> I am using cygwin 1.32 on windowsXP.
ecos 2.0
> gcc/gcc-3.2-3
> gcc2/gcc2-2.95.3-10
> GNU Make version 3.79.1
>
> I am getting the following linker error.
> ------------------
> gcc -Tos/ecos/simulator/lib/target.ld -nostartfiles -nostdlib
> -Los/ecos/simulator/lib/ -Lrelease/embedded/lib -L/usr/lib/w32api/
> -L/usr/lib -o
> test/systest/sta_and_ap.out ./test/common/obj/ecos_main.o
> ./test/systest/obj/libTest.a -lVkernel -lEmbedded
> /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
> PE operations on non PE file.
> collect2: ld returned 1 exit status
> make: *** [test/systest/sta_and_ap.out] Error 1
> ---------------------
> I am simply building a binary exec and I am not doing anything related
> to portable execs so I am not able to figure out why am I getting PE
> errors.
>
> Please advise on how to fix this problem.
>
> Thanks a lot.
>
> Regards,
Alak
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss