Need help with secCtrlRead

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Ampage
Posts: 7
Joined: Sat May 14, 2005 5:36 pm

Need help with secCtrlRead

Post by Ampage »

(Help a noob out)

Hi

I have been messing arround with nems hello world and compiling and running things just fine... except when I add controller.c I get this error when making...
C:\ps2dev\puz>ee-ld -O0 startup.o puz.o pg.o -M -Ttext 8900000 -q -o out 1>puz.map
puz.o(.text+0x34): In function `wait_button':
/cygdrive/c/ps2dev/puz/controller.c:9: undefined reference to `secCtrlRead'
puz.o(.text+0x74):/cygdrive/c/ps2dev/puz/controller.c:14: undefined reference to
`secCtrlRead'
puz.o(.text+0xc4): In function `Read_Key':
/cygdrive/c/ps2dev/puz/controller.c:27: undefined reference to `secCtrlRead'
Need a hint or two about what Im missing.
Thanks!
User avatar
ReKleSS
Posts: 73
Joined: Sat Jun 18, 2005 12:57 pm
Location: Melbourne, Australia

Post by ReKleSS »

Well... it might help if you spelt "sceCtrlRead" right first :p
If it's not that, make sure you have the stubs in startup.s
-ReK
Ampage
Posts: 7
Joined: Sat May 14, 2005 5:36 pm

Post by Ampage »

Well... the spelling was messed up cause I kept editing it trying to get it to work and when I changed it back I was rushing(didnt work when spelled correctly either)

but yes, startup.s was messed up. and it works now.

THANKS!
Post Reply