Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > The Community > Everything BSD
Reload this Page compilation problem of the toolchain for c++ application on ARM9
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Everything BSD For all discussions regarding Free/NetBSD and OpenBSD.

Reply
 
Thread Tools Display Modes
Old 04-24-2007   #1 (permalink)
abhin
Just Joined!
 
Join Date: Apr 2007
Posts: 1
compilation problem of the toolchain for c++ application on ARM9

am building Tool chain using Build root.

My target is at91rm9200(arm920t).



I also enable C++ support for that.

Tool chain is build successfully



But when I compile my CPP project.

It doesn’t work.

The ERROR is:

/home/buildroot/build_arm/staging_dir/gcc/arm-linux-uclibc/3.4.6/../../../arm-linux-uclibc/bin/ld:test1.o: Relocations in generic ELF (EM: 3).

Test1.o: could not read symbols:File is in wrong format

Collect2: ld returned 1 exit status.



I think my toolchain is OK.

There is some linking is required.



How to resolve this?

What parameter I need to support for enable C++?

What library should link?
abhin is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 10:18 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0