#143561 - yellowstar - Tue Oct 23, 2007 10:03 pm
I am getting linker errors with my NiFi app.(not pong)
(built on the wireless lib)
But,
I'm getting linker errors.
I'm trying to use a lib I wrote for wireless stuff.(same stuff
as in pong)
Another thing:
I noticed that the my lib is only 8
bytes for some reason.
Here's what the app will do:
This is for Slot-1 users whom want to backup/overwrite eeprom
to/from sav files.
It's a EEPROM reader and file sender.
First the host gets booted with the card.
Then the client.
The host reads the EEPROM.
And then, it sends the EEPROM,
for the client to save to the card.
For overwriting the EEP,
it's the opposite.
The client sends the sav file.
The host recieves it,
then it overwrites the EEPROM with the sav file.
Last edited by yellowstar on Fri Nov 09, 2007 7:39 pm; edited 4 times in total
(built on the wireless lib)
But,
I'm getting linker errors.
I'm trying to use a lib I wrote for wireless stuff.(same stuff
as in pong)
Another thing:
I noticed that the my lib is only 8
bytes for some reason.
Here's what the app will do:
This is for Slot-1 users whom want to backup/overwrite eeprom
to/from sav files.
It's a EEPROM reader and file sender.
First the host gets booted with the card.
Then the client.
The host reads the EEPROM.
And then, it sends the EEPROM,
for the client to save to the card.
For overwriting the EEP,
it's the opposite.
The client sends the sav file.
The host recieves it,
then it overwrites the EEPROM with the sav file.
Code: |
Makefile LIBS := -lfat -llobby9d -lnds9 -lyellwireless |
Code: |
linking NiFi_EEP.arm9.elf connect.o: In function `main': c:/AndrewConsoleStuff/MMaxLibWifi/NiFi_EEP/arm9/source/connect.cpp:91: undefined reference to `AskMode()' c:/AndrewConsoleStuff/MMaxLibWifi/NiFi_EEP/arm9/source/connect.cpp:94: undefined reference to `FindPlayers()' prog.o: In function `ProgMain()': c:/AndrewConsoleStuff/MMaxLibWifi/NiFi_EEP/arm9/source/prog.cpp:35: undefined reference to `Init_Timers()' c:/AndrewConsoleStuff/MMaxLibWifi/NiFi_EEP/arm9/source/prog.cpp:43: undefined reference to `GetPlayerQuit()' collect2: ld returned 1 exit status |
Code: |
#ifndef YELL_WIRELESS_H_ #define YELL_WIRELESS_H_ void Init_Timers(); bool GetPlayerQuit();//Returns wether or not //wether your opponet has quit. //Based on wether or not a timeout on //that player stays for 3-5 seconds. void AskMode(); void FindPlayers(); #endif |
Last edited by yellowstar on Fri Nov 09, 2007 7:39 pm; edited 4 times in total