uracoli-devel
[Top][All Lists]
Advanced

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

[uracoli-devel] [bug #32518] Src/Lib/Ioutil/acc_mma7455.c fails to compi


From: Joerg Wunsch
Subject: [uracoli-devel] [bug #32518] Src/Lib/Ioutil/acc_mma7455.c fails to compile
Date: Thu, 17 Feb 2011 17:06:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.19) Gecko/2010071610 Firefox/3.0.19

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/




reply via email to

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