LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-21-2010, 04:25 AM   #1
fabrarhussain
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
Red face Problem while making .trb file from C source file


Hi,

I am new one over here and don't know that this question is related or not to these forums. Can anybody help.

I am trying to compile C source file to generate .trb file (turbo file) which will then burn on trubo sim using TP2. When I comiple the code following error is occuring.

before going through belwo error I was getting error 'Unknown MCU atmega128', known MCU are: (list appread), then I change the configuration and set the MCU to supported list then following error is occuring.

XXXXXXX@MYN8G5R52S /home/my-aip/my-aip
$ make
avr-ld -o my-aip.elf my-aip.o -L../../turbo-devel/lib -T turbo.lds -d -r --emit-
relocs -R ../../turbo-devel/lib/public_calls -lformlib -laes -lm -lc `avr-gcc -p
rint-libgcc-file-name`
C:\installs\AvrGcc\bin\avr-ld.exe: cannot open C:\installs\AvrGcc\bin\..\lib\gcc
: Invalid argumentcc.a
make: *** [my-aip.elf] Error 1

Now strange thing is that whats so ever the value is of atmegs.. is I am facing same issue.

Can you guys please help me. I am in very much tense bcz from yesterday I am working on this and nothing happened.

Thanks in advance.
 
Old 07-22-2010, 02:48 AM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
Hi
Quote:
don't know that this question is related or not to these forums
I think you'd better ask for moderator to move your thread in programming or hardware/embedded section.

Quote:
/home/my-aip/my-aip
Looks like you're under linux (any other UNIX at least)? so
Quote:
C:\installs\AvrGcc\bin\avr-ld.exe: cannot open C:\installs\AvrGcc\bin\..\lib\gcc
this line is quite strange, you're calling the Windows avr linker version.
I think you just have to fix your Makefile, search for a line which looks like "LD=C:\installs\AvrGcc\bin\avr-ld.exe"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copy the file whose source path is mentioned in a file to the specified Destination bluepenguine Linux - General 1 06-03-2010 05:31 AM
making a playlist file from a html source file linuxhippy Slackware 2 06-30-2006 07:14 AM
Problems with making file from source code justinmc Linux - Software 5 01-09-2005 09:44 PM
Making VSAM file from a flat file in AIX Raghothaman AIX 2 08-25-2004 04:55 PM
problem making file Noems Linux - Newbie 3 07-20-2004 04:33 AM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration