| View previous topic :: View next topic |
| Author |
Message |
Ampage
Joined: 14 May 2005 Posts: 7
|
Posted: Wed Jun 22, 2005 8:27 pm Post subject: Need help with secCtrlRead |
|
|
(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...
| Quote: | 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! |
|
| Back to top |
|
 |
ReKleSS

Joined: 18 Jun 2005 Posts: 73 Location: Melbourne, Australia
|
Posted: Wed Jun 22, 2005 8:59 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Ampage
Joined: 14 May 2005 Posts: 7
|
Posted: Wed Jun 22, 2005 10:39 pm Post subject: |
|
|
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! |
|
| Back to top |
|
 |
|