From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16095 invoked by alias); 7 Oct 2004 18:54:30 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 16063 invoked from network); 7 Oct 2004 18:54:28 -0000 Received: from unknown (HELO Bighorn.Adtech-Inc.COM) (207.105.1.199) by sourceware.org with SMTP; 7 Oct 2004 18:54:28 -0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Subject: RE: Information Request Date: Thu, 07 Oct 2004 18:54:00 -0000 Message-ID: <9E9C7F94BFE2AA469B2D3B9C7AC36358041E10@bighorn.adtech-inc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Ramadass, Ramanathan" To: , X-SW-Source: 2004-10/txt/msg00054.txt.bz2 It seems like you are not linking against the C runtime startup files (file= s 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" o= ption (gcc -v) to see what exactly are the input files to "ld". HTH Ram -----Original Message----- From: hnknbd@tin.it [mailto:hnknbd@tin.it] Sent: Wednesday, October 06, 2004 3:33 PM To: gcc-help@gcc.gnu.org Subject: Information Request spect. GCC, I am using cross compiler powerpc-eabi-gcc on Linux OS running on PC platfo= rm. 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/mypro= va/prova2.c /gnutools/lib/gcc/powerpc-eabi/3.4.2/../../../../powerpc-eabi/bin/ld: warni= ng: cannot find entry symbol _start; defaulting to 01800074 /gnutools/lib/gcc/powerpc-eabi/3.4.2/libgcc.a(eabi.o)(.text+0xc4): In funct= ion `__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/buil= d/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/buil= d/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/buil= d/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/buil= d/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/buil= d/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/buil= d/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/buil= d/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/buil= d/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/buil= d/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/buil= d/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/buil= d/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/buil= d/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/buil= d/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/buil= d/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