[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: [uracoli-devel] [bug #32518] Src/Lib/Ioutil/acc_mma7455.c fails to c
From: |
Daniel Thiele |
Subject: |
AW: [uracoli-devel] [bug #32518] Src/Lib/Ioutil/acc_mma7455.c fails to compile |
Date: |
Thu, 17 Feb 2011 20:45:52 +0100 |
Yes, my fault. Thank you Jörg.
I accidently removed the compiler switch "BOARD_HAS_ACC_MMA7455" when cleaning
out this file. Fixed it. I will try to close the bug if i remember my savannah
pwd.
Daniel
-----Ursprüngliche Nachricht-----
Von: address@hidden [mailto:address@hidden Im Auftrag von Joerg Wunsch
Gesendet: Donnerstag, 17. Februar 2011 18:07
An: Joerg Wunsch; address@hidden
Betreff: [uracoli-devel] [bug #32518] Src/Lib/Ioutil/acc_mma7455.c fails to
compile
URL:
<http://savannah.nongnu.org/bugs/?32518>
Summary: Src/Lib/Ioutil/acc_mma7455.c fails to compile
Project: µracoli
Submitted by: joerg_wunsch
Submitted on: Thu 17 Feb 2011 06:06:45 PM CET
Category: Library
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
When compiling the CVS Head for e.g. a zgbt1281a2uart0
module, I get:
avr-gcc -o build/zgbt1281a2uart0/lib/Ioutil/acc_mma7455.o -c -Wall -Wundef -Os
-gstabs -fno-inline -mmcu=atmega1281 -Dzgbt1281a2uart0 -Dzgbt1281a2uart0
-DF_CPU=8000000UL -Ibuild/zgbt1281a2uart0/lib/Inc -ISrc/Lib/Inc
-Ibuild/zgbt1281a2uart0/lib/Ioutil -ISrc/Lib/Ioutil -Iinstall/inc
Src/Lib/Ioutil/acc_mma7455.c
Src/Lib/Ioutil/acc_mma7455.c: In function 'acc_regrd':
Src/Lib/Ioutil/acc_mma7455.c:61: warning: implicit declaration of function
'ACC_SELN_LO'
Src/Lib/Ioutil/acc_mma7455.c:67: warning: implicit declaration of function
'ACC_SELN_HI'
Src/Lib/Ioutil/acc_mma7455.c: In function 'acc_init':
Src/Lib/Ioutil/acc_mma7455.c:110: error: 'ACC_SELN_PORT' undeclared (first use
in this function)
Src/Lib/Ioutil/acc_mma7455.c:110: error: (Each undeclared identifier is
reported only once
Src/Lib/Ioutil/acc_mma7455.c:110: error: for each function it appears in.)
Src/Lib/Ioutil/acc_mma7455.c:110: error: 'ACC_SELN_bp' undeclared (first use
in this function)
Src/Lib/Ioutil/acc_mma7455.c:111: error: 'ACC_SELN_DDR' undeclared (first use
in this function)
scons: *** [build/zgbt1281a2uart0/lib/Ioutil/acc_mma7455.o] Error 1
scons: building terminated because of errors.
It seems, by now only the LittleG board actually defines
anything like that:
% grep -R ACC_SELN_LO .
./install/inc/boards/board_lgee.h:#define ACC_SELN_LO() do{ ACC_SELN_PORT
&= ~_BV(ACC_SELN_bp); }while(0)
./install/inc/boards/board_lgee.h:#define ACC_SELN_LO() do{ ACC_SELN_PORT
&= ~_BV(ACC_SELN_bp); }while(0)
./Src/Lib/Inc/boards/board_lgee.h:#define ACC_SELN_LO() do{ ACC_SELN_PORT
&= ~_BV(ACC_SELN_bp); }while(0)
./Src/Lib/Inc/boards/board_lgee.h:#define ACC_SELN_LO() do{ ACC_SELN_PORT
&= ~_BV(ACC_SELN_bp); }while(0)
./Src/Lib/Ioutil/acc_mma7455.c: ACC_SELN_LO();
./Src/Lib/Ioutil/acc_mma7455.c: ACC_SELN_LO();
./Src/Lib/Ioutil/acc_mma7455.c: ACC_SELN_LO();
I guess the compilation should then only be enabled for
boards that actually support it.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?32518>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/