Problem compiling for arm-elf and uClinux
Carlos Sánchez <[email protected]> Fri, 15 Apr 2005 19:14:31 +0200
| Newsgroups | gmane.comp.video.picogui.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm trying to compile picogui-0.46 for an ARM7 (arm-elf) under uClinux
and I have a problem when make:
After "../configure --host=3Darm-elf --build=3D`../config.guess`" I get =
the
next message validating all I've selected with "make menuconfig"
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
Profile read from: profile.user
widgets: background.c box.c button.c checkbox.c flatbutton.c
label.c listitem.c menuitem.c radiobutton.c submenuitem.c canvas.c
dialogbox.c indicator.c panelbar.c panel.c popup.c scroll.c scrollbox.c
tabpage.c terminal_frontend.c terminal_vt102.c terminal_textgrid.c
textbox_frontend.c textbox_document.c textbox_paragraph.c
pgstr_textbuffers.c field.c textedit_frontend.c textedit_llist.c
textedit_logical.c toolbar.c
debug: videotest.c benchmark.c
vidbase: linear1.c slowvbl.c dvbl_dither.c dvbl_primitives.c
font_bdf.c
driver: null.c t6963c.c
wrappers: rotate90.c rotate180.c rotate270.c
input: rawttykb.c if_client_adaptor.c
formats: bmp.c html.c gif.c plaintext.c
os: posix.c posix_signals.c posix_commandline.c uclinux.c
compiler: arm-elf-gcc -Os -g
linker: arm-elf-ld
driver-cflags:
driver-libs: --static
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
When making after many..many compilations shows this error message:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld:
net/.libs/libnet.al(eventq.lo): Relocations in generic ELF (EM: 40)
net/.libs/libnet.al(eventq.lo): could not read symbols: File in wrong
format
collect2: ld returned 1 exit status
make[2]: *** [libpgserver.la] Error 1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
I don't understand why it calls ld instead of arm-elf-ld. All generated
code is from arm-elf-gcc. What's wrong?
Regards...
Carlos S=E1nchez
[email protected]
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click