Problems compiling jtagomat-1.2.8 in Linux

View: New views
4 Messages — Rating Filter:   Alert me  

Problems compiling jtagomat-1.2.8 in Linux

by jvallet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all.

I am trying to compile jtagomat-1.2.8 (that I found accidentally in
http://www.www.ethernut.de/arc/), and I get the following error:

-----------------------------
avr-gcc tbstartup.o turtleboot.o comm.o led.o -mmcu=atmega168
-Wl,-Map=turtleboot.map,--cref,--defsym,appstart=0x0000 -nostartfiles
-nodefaultlibs -Ttext=0x3800 -o turtleboot.elf
turtleboot.o: In function `main':
turtleboot.c:(.text+0x106): undefined reference to `__stack'
turtleboot.c:(.text+0x108): undefined reference to `__stack'
make[4]: *** [turtleboot.elf] Error 1
-----------------------------

It happens the same with the latest cvs version (perhaps is the same?).
Any hints are welcomed.

Thanks!
José


_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

Re: Problems compiling jtagomat-1.2.8 in Linux

by Ethernut :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

José Vallet wrote:
> turtleboot.o: In function `main':
> turtleboot.c:(.text+0x106): undefined reference to `__stack'
> turtleboot.c:(.text+0x108): undefined reference to `__stack'

I assume that it's related to the compiler/linker/rtlib. Which version
of avr-gcc and avr-libc are you using?

Harald


_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

Re: Problems compiling jtagomat-1.2.8 in Linux

by jvallet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Harald Kipp wrote:
> José Vallet wrote:
>> turtleboot.o: In function `main':
>> turtleboot.c:(.text+0x106): undefined reference to `__stack'
>> turtleboot.c:(.text+0x108): undefined reference to `__stack'
>
> I assume that it's related to the compiler/linker/rtlib. Which version
> of avr-gcc and avr-libc are you using?

gcc version 4.2.2
avr-libc version 1.4.7-1

both straight from Kubuntu 8.04 repositories

José
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

Re: Problems compiling jtagomat-1.2.8 in Linux

by jvallet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

José Vallet wrote:
> gcc version 4.2.2

I _did_ want to mean avr-gcc, although I wrote gcc. Sorry.

José
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion