Code: Select all
Bill@minibox ~/mywifi-cpp
$ make
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -I. -I/usr/local/p
spdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -c -o main.o mai
n.cpp
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -I. -I/usr/local/p
spdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -c -o pg_redux.o
pg_redux.cpp
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -I. -I/usr/local/p
spdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -c -o nlh.o nlh.
cpp
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -I. -I/usr/local/p
spdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -c -o loadutil.o
loadutil.cpp
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -I. -I/usr/local/p
spdev/psp/sdk/include -O2 -G0 -Wall -c -o stubs.o stubs.s
stubs.s: Assembler messages:
stubs.s:16: Warning: ignoring changed section attributes for .text.stub
stubs.s:24: Warning: ignoring changed section attributes for .text.stub
stubs.s:55: Warning: ignoring changed section attributes for .text.stub
stubs.s:83: Warning: ignoring changed section attributes for .text.stub
stubs.s:106: Warning: ignoring changed section attributes for .text.stub
stubs.s:116: Warning: ignoring changed section attributes for .text.stub
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -L. -L/usr/local/
pspdev/psp/sdk/lib main.o pg_redux.o nlh.o loadutil.o stubs.o -lpspdebug -lps
pdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspuser -lpspkernel -o wifitest.elf
main.o: In function `main':
main.cpp:(.text+0x1d8): undefined reference to `sceUtilityCheckNetParam(int)'
main.cpp:(.text+0x1f0): undefined reference to `sceUtilityGetNetParam(int, unsig
ned int, void*)'
main.cpp:(.text+0x200): undefined reference to `sceUtilityGetNetParam(int, unsig
ned int, void*)'
main.cpp:(.text+0x23c): undefined reference to `sceUtilityGetNetParam(int, unsig
ned int, void*)'
main.cpp:(.text+0x25c): undefined reference to `sceUtilityGetNetParam(int, unsig
ned int, void*)'
main.cpp:(.text+0x284): undefined reference to `sceNetApctlConnect(int)'
main.cpp:(.text+0x298): undefined reference to `sceNetApctlGetState(int*)'
main.cpp:(.text+0x2fc): undefined reference to `sceNetApctlGetState(int*)'
main.cpp:(.text+0x360): undefined reference to `sceNetApctlDisconnect()'
main.cpp:(.text+0x424): undefined reference to `sceNetApctlGetInfo(int, void*)'
main.cpp:(.text+0x4b4): undefined reference to `sceNetInetSocket(int, int, int)'
main.cpp:(.text+0x4f0): undefined reference to `sceNetInetBind(int, void*, int)'
main.cpp:(.text+0x504): undefined reference to `sceNetInetListen(int, int)'
main.cpp:(.text+0x520): undefined reference to `sceNetInetAccept(int, void*, int
*)'
main.cpp:(.text+0x540): undefined reference to `sceNetInetSend(int, void const*,
int, int)'
main.cpp:(.text+0x558): undefined reference to `sceNetInetSend(int, void const*,
int, int)'
main.cpp:(.text+0x5b8): undefined reference to `sceNetInetRecv(int, unsigned cha
r*, int, int)'
Any help would be appreciated, thanks. :)
-Bill