Problem with Dserial Palib Source

Locked
algeroth
Posts: 3
Joined: Mon Sep 13, 2010 6:38 pm

Problem with Dserial Palib Source

Post by algeroth » Tue Sep 14, 2010 9:59 am

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!

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Problem with Dserial Palib Source

Post by WinterMute » Tue Sep 14, 2010 3:21 pm

The problem is the use of PAlib

http://devkitpro.org/wiki/PAlib
Help keep devkitPro toolchains free, Donate today

Personal Blog

Locked

Who is online

Users browsing this forum: No registered users and 2 guests