From: hnknbd@tin.it
To: gcc-help@gcc.gnu.org
Subject: Information Request
Date: Wed, 06 Oct 2004 22:32:00 -0000 [thread overview]
Message-ID: <41536AD500019204@ims3a.cp.tin.it> (raw)
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
next reply other threads:[~2004-10-06 22:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-06 22:32 hnknbd [this message]
2004-10-07 4:12 ` ELF file OS ABI error in shared library kripashankar
-- strict thread matches above, loose matches on Subject: below --
2004-10-07 18:54 Information Request Ramadass, Ramanathan
2004-09-09 9:56 alex19_82
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41536AD500019204@ims3a.cp.tin.it \
--to=hnknbd@tin.it \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).