:: PlayerAdvance.org ::  

Précédent   :: PlayerAdvance.org :: > :: Développement Amateur :: > Aide au développement

Publicité

Réponse
 
Outils de la discussion Modes d'affichage
Vieux 08/02/2009, 10h28   #1
Ma-xou
Membre
 
Date d'inscription: 08/02/2009
Messages: 8
Par défaut bug de compilation PALib

Bonjour à tous
Je suis développeur amateur (web surtout) j'essaie de développer sur DS mais c'est la catastrophe lol.
Code:
C:\devkitPro\PAlibExamples\Text\Normal\Text>make clean
clean ...Text

C:\devkitPro\PAlibExamples\Text\Normal\Text>make
main.c
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:24,
                 from c:/devkitPro/PAlibExamples/Text/Normal/Text/source/main.c:
7:
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h: In function 'PA_CheckLid':
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:302: warning: 'getIPC' is stat
ic but used in inline function 'PA_CheckLid' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:308: warning: 'getIPC' is stat
ic but used in inline function 'PA_CheckLid' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h: In function 'PA_SetScreenLigh
t':
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:388: warning: 'getIPC' is stat
ic but used in inline function 'PA_SetScreenLight' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:389: warning: 'getIPC' is stat
ic but used in inline function 'PA_SetScreenLight' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h: In function 'PA_SetLedBlink':

c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:405: warning: 'getIPC' is stat
ic but used in inline function 'PA_SetLedBlink' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:406: warning: 'getIPC' is stat
ic but used in inline function 'PA_SetLedBlink' which is not static
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:73,
                 from c:/devkitPro/PAlibExamples/Text/Normal/Text/source/main.c:
7:
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h: In function 'PA_16c8pixels':
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h:91: warning: 'PA_Plot8Pixels' is s
tatic but used in inline function 'PA_16c8pixels' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h: In function 'PA_16c8X8Letter':
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h:105: warning: 'PA_16c8X8Color' is
static but used in inline function 'PA_16c8X8Letter' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h: In function 'PA_16cLetter':
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h:507: warning: 'PA_16c16X16Letter'
is static but used in inline function 'PA_16cLetter' which is not static
arm-eabi-g++ -mthumb-interwork -mno-fpu -L/c/devkitPro/PAlib/lib -specs=ds_arm9.
specs main.o -Lc:/devkitPro/PAlib//lib -lpa9 -L/c/devkitPro/libnds/lib -lfat -ln
ds9 -ldswifi9 -o build.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.3.2/../../../../arm-eabi/lib/ds
_arm9_crt0.o: In function `CIDLoop':
(.init+0x2e0): undefined reference to `initSystem'
collect2: ld returned 1 exit status
make[1]: *** [/c/devkitPro/PAlibExamples/Text/Normal/Text/Text.elf] Error 1
make: *** [build] Error 2

C:\devkitPro\PAlibExamples\Text\Normal\Text>pause
Appuyez sur une touche pour continuer...
catastrôphe ! lol
J'aimerais bien un peu d'aide =)
Merci d'avance !!

[edit] ça c'est quand je lance le built de l'exemple text

Dernière modification par Yodajr ; 10/02/2009 à 02h24.
Ma-xou est déconnecté   Réponse avec citation

Publicité

Vieux 08/02/2009, 10h46   #2
Lord Raptor
Membre confirmé
 
Date d'inscription: 08/10/2006
Localisation: Sophia-Antipolis
Messages: 1 247
Par défaut

La dernière version de la libnds n'est pas compatible avec la dernière version de la palib.

Désinstalle tout, et réinstalle DevKitPro r21 et la dernière PaLib
__________________
Lord Raptor est déconnecté   Réponse avec citation
Vieux 08/02/2009, 11h18   #3
Ma-xou
Membre
 
Date d'inscription: 08/02/2009
Messages: 8
Par défaut

J'ai fait comme dit ...
Et comme j'ai pas compris "autrement" ce que tu viens de dire je sais pas quoi faire.

(avec mes mots j'ai renommé le dossier devkitARM, j'ai mis celui là à la place mais j'ai toujours le bug !)

Merci pour ta réponse =)

Code:
C:\devkitPro\palib\examples\Text\Normal\HelloWorld>make clean
clean ...HelloWorld

C:\devkitPro\palib\examples\Text\Normal\HelloWorld>make
main.c
In file included from c:/devkitPro/libnds/include/nds/timers.h:55,
                 from c:/devkitPro/libnds/include/nds.h:116,
                 from C:/devkitPro/palib/lib/include/nds/PA9.h:10,
                 from c:/devkitPro/palib/examples/Text/Normal/HelloWorld/source/
main.c:3:
c:/devkitPro/libnds/include/nds/linkedlist.h:88:7: warning: no newline at end of
 file
In file included from C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:10,
                 from C:/devkitPro/palib/lib/include/nds/arm9/PA_BgTiles.h:7,
                 from C:/devkitPro/palib/lib/include/nds/arm9/PA_Text.h:9,
                 from C:/devkitPro/palib/lib/include/nds/arm9/PA_GBFS.h:15,
                 from C:/devkitPro/palib/lib/include/nds/PA9.h:19,
                 from c:/devkitPro/palib/examples/Text/Normal/HelloWorld/source/
main.c:3:
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_ReserveChanne
l':
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:331: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMasterVolu
me':
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:337: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:338: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SoundStop':
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:370: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:372: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:373: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:373: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_MP3Pause':
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:379: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:380: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_MP3Unpause':
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:386: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:387: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_MP3Stop':
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:393: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_GetMP3Status'
:
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:400: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Volume'
:
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:406: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:406: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:407: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:407: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Delay':

C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:413: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Loop':
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:419: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Rate':
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:425: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:426: warning: 'getIPC' is depr
ecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
In file included from C:/devkitPro/palib/lib/include/nds/arm9/PA_BgTiles.h:7,
                 from C:/devkitPro/palib/lib/include/nds/arm9/PA_Text.h:9,
                 from C:/devkitPro/palib/lib/include/nds/arm9/PA_GBFS.h:15,
                 from C:/devkitPro/palib/lib/include/nds/PA9.h:19,
                 from c:/devkitPro/palib/examples/Text/Normal/HelloWorld/source/
main.c:3:
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'PA_PowerOff':

C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:47: warning: 'getIPC' is de
precated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:47: error: 'TransferRegion'
 has no member named 'aux'
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'PA_CheckLid':

C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:308: warning: 'getIPC' is d
eprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:314: warning: 'getIPC' is d
eprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'PA_SetScreenL
ight':
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:385: warning: 'getIPC' is d
eprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:385: error: 'TransferRegion
' has no member named 'aux'
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:386: warning: 'getIPC' is d
eprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:386: error: 'TransferRegion
' has no member named 'aux'
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'PA_SetLedBlin
k':
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:402: warning: 'getIPC' is d
eprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:402: error: 'TransferRegion
' has no member named 'aux'
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:403: warning: 'getIPC' is d
eprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:403: error: 'TransferRegion
' has no member named 'aux'
In file included from C:/devkitPro/palib/lib/include/nds/PA9.h:58,
                 from c:/devkitPro/palib/examples/Text/Normal/HelloWorld/source/
main.c:3:
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h: At top level:
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h:45: error: 'Keyboard' rede
clared as different kind of symbol
c:/devkitPro/libnds/include/nds/arm9/keyboard.h:113: error: previous declaration
 of 'Keyboard' was here
make[1]: *** [main.o] Error 1
make: *** [build] Error 2

C:\devkitPro\palib\examples\Text\Normal\HelloWorld>pause
Appuyez sur une touche pour continuer...

Dernière modification par Ma-xou ; 08/02/2009 à 11h33.
Ma-xou est déconnecté   Réponse avec citation
Vieux 08/02/2009, 12h20   #4
t4ils
Membre confirmé
 
Date d'inscription: 10/11/2005
Localisation: Morangis ( 91 )
Messages: 2 754
Voir les codes amis Wii
Par défaut

suis plutôt ce tuto
http://forum.palib.info/index.php?topic=6319.0

je pense que ça devrait marcher nickel ensuite
__________________
Un renard, en plus de voler, ca code !

t4ils est déconnecté   Réponse avec citation
Vieux 08/02/2009, 12h49   #5
Ma-xou
Membre
 
Date d'inscription: 08/02/2009
Messages: 8
Par défaut

Level UP !
Lol. Merci !
Je vais éditer la doc officielle .
Ma-xou est déconnecté   Réponse avec citation
Réponse

Liens sociaux

Publicité



Utilisateurs regardant la discussion actuelle : 1 (0 membre(s) et 1 invité(s))
 
Outils de la discussion
Modes d'affichage

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Navigation rapide

Discussions similaires
Discussion Auteur Forum Réponses Dernier message
NDS Installation de la PAlib + devkitPro et compilation, sans problème! @NOTIZ@ Tutoriels 55 11/03/2013 23h58
NDS Bug de compilation Devkitpro & PAlib yoann91 Aide au développement 21 22/02/2009 17h15
NDS Problème compilation PAlib adrientoub Aide au développement 21 14/11/2007 11h36
NDS Problème de compilation d'un .c en .nds avec PAlib et devkitPro @NOTIZ@ Aide au développement 4 15/03/2007 14h08
NDS problème compilation PAlib sous linux (debian) ravioli156 Aide au développement 8 27/02/2006 19h11


Fuseau horaire GMT +2. Il est actuellement 17h46.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd. Tous droits réservés.
Version française #16 par l'association vBulletin francophone
Design par Ass-Itch, DJP et Dr.Vince