[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] [support #102942] Compile problem
From: |
Theodore A. Roth |
Subject: |
[Simulavr-devel] [support #102942] Compile problem |
Date: |
Wed, 24 Mar 2004 13:44:04 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3 |
This mail is an automated notification from the support tracker
of the project: Simulavr: an AVR simulator.
/**************************************************************************/
[support #102942] Latest Modifications:
Changes by:
Theodore A. Roth <address@hidden>
'Date:
Wed 03/24/04 at 18:44 (US/Pacific)
What | Removed | Added
---------------------------------------------------------------------------
Priority | 5 - Normal | 2
Assigned to | None | troth
------------------ Additional Follow-up Comments ----------------------------
You have a problem with the search patch for header files. AVR-GCC is searching
in the simulavr source dir (.../src/) and finding the eeprom.h there instead
of the eeprom.h file provided by avr-libc.
I suspect that you have somehow added a "-I<dir>" to your CFLAGS environment
that is confusing avr-gcc.
Also, the inclusion of ina90.h seems a bit odd to me which leads me to believe
that you are using a very old version of avr-libc. In the current 1.0.x
releases, avr/pgmspace.h does not include ina90.h.
I would bet that upgrading to binutils-2.14, avr-gcc-3.3.2 and avr-libc-1.0.4
will fix your problem.
/**************************************************************************/
[support #102942] Full Item Snapshot:
URL: <http://savannah.nongnu.org/support/?func=detailitem&item_id=102942>
Project: Simulavr: an AVR simulator
Submitted by: 0
On: Wed 03/24/04 at 15:52
Category: None
Priority: 2
Severity: 1 - None
Resolution: None
Assigned to: troth
Originator Email: address@hidden
Status: Open
Summary: Compile problem
Original Submission: Hello,
I'm a student and for my end studies workd, I have to work on the AVR
Microcontroller. I try to use the simulavr project, but there a probleme
with the compilation.
address@hidden test_c]$ make
In file included from
/home/joseph/setOutils/opt/avrgcc/avr/include/ina90.h:100,
from
/home/joseph/setOutils/opt/avrgcc/avr/include/avr/pgmspace.h:57,
from demo.c:9:
.../src/eeprom.h:68: parse error before "VDevice"
.../src/eeprom.h:76: parse error before '*' token
.../src/eeprom.h:81: parse error before '*' token
.../src/eeprom.h:84: parse error before '}' token
.../src/eeprom.h:94: parse error before "FILE"
demo.c: In function `main':
demo.c:20: invalid lvalue in assignment
demo.c:23: invalid lvalue in assignment
make: *** [demo.o] Erreur 1
address@hidden test_c]$
I tryed to debug it but without success.
please can you tell me from where the problem comes ?
thx !
Joseph S
Follow-up Comments
------------------
-------------------------------------------------------
Date: Wed 03/24/04 at 18:44 By: troth
You have a problem with the search patch for header files. AVR-GCC is searching
in the simulavr source dir (.../src/) and finding the eeprom.h there instead
of the eeprom.h file provided by avr-libc.
I suspect that you have somehow added a "-I<dir>" to your CFLAGS environment
that is confusing avr-gcc.
Also, the inclusion of ina90.h seems a bit odd to me which leads me to believe
that you are using a very old version of avr-libc. In the current 1.0.x
releases, avr/pgmspace.h does not include ina90.h.
I would bet that upgrading to binutils-2.14, avr-gcc-3.3.2 and avr-libc-1.0.4
will fix your problem.
For detailed info, follow this link:
<http://savannah.nongnu.org/support/?func=detailitem&item_id=102942>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/