simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] Simulavrxx (0.8.006) compile problem on gentoo linu


From: Klaus Rudolph
Subject: Re: [Simulavr-devel] Simulavrxx (0.8.006) compile problem on gentoo linux
Date: Mon, 15 Jan 2007 11:07:59 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040114

Hi,

please add

#include "hwport.h"

to the cpp file(s) and class HWPort to the .h file. In CVS it is allready fixed.

Sorry for the late response!

If you have further problems, feel free to ask again!


Regards,
 Klaus





Radovid Drobnjak schrieb:

Hi

Please, be patient I am a noob in this field.

I am trying to debug a mine program for the atmega169.

I had tried to compile the latest simulavrxx tarbal (0.8.006) with the command:

#  ./configure --with-bfd-path=/usr/lib/binutils/avr/2.16.1

and since here no problem. But then, when I try to make it I get this error:
"
at4433.h:42: error: ISO C++ forbids declaration of 'HWPort' with no type
at4433.h:42: error: expected ';' before '*' token
at4433.h:43: error: ISO C++ forbids declaration of 'HWPort' with no type
at4433.h:43: error: expected ';' before '*' token
at4433.h:44: error: ISO C++ forbids declaration of 'HWPort' with no type
at4433.h:44: error: expected ';' before '*' token
at4433.h:45: error: ISO C++ forbids declaration of 'HWPort' with no type
at4433.h:45: error: expected ';' before '*' token
at4433.h:47: error: ISO C++ forbids declaration of 'HWPort' with no type
at4433.h:47: error: expected ';' before '*' token
at4433.cpp: In constructor 'AvrDevice_at90s4433::AvrDevice_at90s4433()':
at4433.cpp:51: error: 'portb' was not declared in this scope
at4433.cpp:52: error: 'portc' was not declared in this scope
at4433.cpp:53: error: 'portd' was not declared in this scope
at4433.cpp:55: error: 'portx' was not declared in this scope
at4433.cpp:57: error: 'porty' was not declared in this scope
make[3]: *** [at4433.lo] Error 1
make[3]: Leaving directory `/home/radovid/Desktop/Simulatorji/simulavrxx-0.8.006/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/radovid/Desktop/Simulatorji/simulavrxx-0.8.006/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/radovid/Desktop/Simulatorji/simulavrxx-0.8.006/src'
make: *** [all-recursive] Error 1
"
I am working on gentoo linux and using:
gcc ver: 4.1.1 (Gentoo 4.1.1-r3)
binutils ver: 2.16.1-r3
glibc ver: 2.4-r4

avr toolchain is consisted of:
gcc version 3.4.6
binutils version 2.16.1
avr-libc version 1.4.5

I belive that it should do with some older version of gcc, binutils and/or glibc. If it is true which ones?

I had similar problems with simulavr, but afterwards I found a rpm on the web and it seems to work. It is possible to find something similar also for simulavrxx? Dpkg (deb) package should also do.

And for last: It is possible to debug programs writen for atmega 169 in simulavr?

Thank you very much for your patience in advance.

Best Regards
Radovid


_______________________________________________
Simulavr-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/simulavr-devel







reply via email to

[Prev in Thread] Current Thread [Next in Thread]