It seems like you are not linking against the C runtime startup files (files named crt1.o, crti.o, crtbegin.o etc). Did you build the cross-compiler? If so check that you have the runtime files built. Also use the "verbose" option (gcc -v) to see what exactly are the input files to "ld". HTH Ram -----Original Message----- From: hnknbd@xxxxxx [mailto:hnknbd@xxxxxx] Sent: Wednesday, October 06, 2004 3:33 PM To: gcc-help@xxxxxxxxxxx Subject: Information Request spect. GCC, I am using cross compiler powerpc-eabi-gcc on Linux OS running on PC platform. When I try to compile a source file prova2.c with the command: /gnutools/powerpc-eabi/bin# ./gcc -Wall -o -g /gnutools/myprova/prova2.c the following messages returns: root@darkstar:/gnutools/powerpc-eabi/bin# ./gcc -Wall -o -g /gnutools/myprova/prova2.c /gnutools/lib/gcc/powerpc-eabi/3.4.2/../../../../powerpc-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 01800074 /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.text+0xc4): In function `__eabi': /tmp/build/gcc/gcc/eabi.S:232: undefined reference to `__init' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x8):/tmp/build/gcc/gcc/eabi.S:146: undefined reference to `__SDATA_START__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0xc):/tmp/build/gcc/gcc/eabi.S:148: undefined reference to `__SBSS_END__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x14):/tmp/build/gcc/gcc/eabi.S:150: undefined reference to `__SDATA2_START__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x18):/tmp/build/gcc/gcc/eabi.S:151: undefined reference to `__SBSS2_END__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x1c):/tmp/build/gcc/gcc/eabi.S:152: undefined reference to `__GOT_START__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x28):/tmp/build/gcc/gcc/eabi.S:155: undefined reference to `__GOT_END__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x2c):/tmp/build/gcc/gcc/eabi.S:156: undefined reference to `__GOT2_START__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x30):/tmp/build/gcc/gcc/eabi.S:157: undefined reference to `__GOT2_END__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x34):/tmp/build/gcc/gcc/eabi.S:158: undefined reference to `__FIXUP_START__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x38):/tmp/build/gcc/gcc/eabi.S:159: undefined reference to `__FIXUP_END__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x3c):/tmp/build/gcc/gcc/eabi.S:163: undefined reference to `__CTOR_LIST__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x40):/tmp/build/gcc/gcc/eabi.S:164: undefined reference to `__CTOR_END__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x44):/tmp/build/gcc/gcc/eabi.S:165: undefined reference to `__DTOR_LIST__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x48):/tmp/build/gcc/gcc/eabi.S:166: undefined reference to `__DTOR_END__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x4c):/tmp/build/gcc/gcc/eabi.S:167: undefined reference to `__EXCEPT_START__' /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.got2+0x50):/tmp/build/gcc/gcc/eabi.S:171: undefined reference to `__EXCEPT_END__' collect2: ld returned 1 exit status I ask you any information to resolve this problem. Many thanks and regards Filippo D'Angelo