Page 1 of 1

Problem with Dserial Palib Source

Posted: Tue Sep 14, 2010 9:59 am
by algeroth
Hi!
i have downloaded the source package of Dserial Palib Source... in Dserial website
http://www.natrium42.com/wiki/Examples
when i want to build it , it make some errors:

Code: Select all

C:\devkitPro\PAlib\DSerialPaLib>make clean
clean ...DSerialPaLib

C:\devkitPro\PAlib\DSerialPaLib>make
firmware.bin
card_spi.c
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c: In function 'cardSpiBusy':
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c:39:9: error: 'CARD_CR1' undecl
ared (first use in this function)
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c:39:9: note: each undeclared id
entifier is reported only once for each function it appears in
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c: In function 'cardSpiStart':
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c:44:2: error: 'CARD_CR1' undecl
ared (first use in this function)
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c: In function 'cardSpiStop':
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c:49:2: error: 'CARD_CR1' undecl
ared (first use in this function)
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c: In function 'cardSpiInit':
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c:58:2: error: 'WAIT_CR' undecla
red (first use in this function)
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c:58:14: error: 'ARM9_OWNS_CARD'
 undeclared (first use in this function)
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c: In function 'cardSpiTransfer'
:
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c:79:2: error: 'CARD_EEPDATA' un
declared (first use in this function)
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c: In function 'cardSpiTransferB
uffer':
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c:109:3: error: 'CARD_EEPDATA' u
ndeclared (first use in this function)
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c: In function 'cardSpiWriteBuff
er':
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c:147:3: error: 'CARD_EEPDATA' u
ndeclared (first use in this function)
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c: In function 'cardSpiTransfer'
:
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c:91:1: warning: control reaches
 end of non-void function
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c: In function 'cardSpiBusy':
c:/devkitPro/PAlib/DSerialPaLib/source/card_spi.c:40:1: warning: control reaches
 end of non-void function
make[1]: *** [card_spi.o] Error 1
make: *** [build] Error 2

C:\devkitPro\PAlib\DSerialPaLib>pause
Appuyez sur une touche pour continuer...
i've just copy the zip file.... and uncompress it...
thanks!

Re: Problem with Dserial Palib Source

Posted: Tue Sep 14, 2010 3:21 pm
by WinterMute
The problem is the use of PAlib

http://devkitpro.org/wiki/PAlib