trying to build wifi .3 onb mac os x

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

Moderators: cheriff, TyRaNiD

Post Reply
w.kosma
Posts: 19
Joined: Fri Oct 28, 2005 11:33 pm

trying to build wifi .3 onb mac os x

Post by w.kosma »

hello,

sorry for bothering again,
but does anyone have any idea how to build wifi .3 from the source from web
i get following errors:
is there any extra library for wlan?

thanks,
wojciech

wojciech-kosmas-Computer:/users/wk/desktop/wifi_03/src/simple wk$ make kxploit
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -c -o main.o main.c
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -c -o nlh.o nlh.c
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -c -o loadutil.o loadutil.c
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -I. -I/usr/local/pspdev/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:47: Warning: ignoring changed section attributes for .text.stub
stubs.s:57: 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 nlh.o loadutil.o stubs.o -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspuser -lpspkernel -o wifisimp03.elf
main.o: In function `user_main':
main.c:(.text+0x120): undefined reference to `sceUtilityCheckNetParam'
main.c:(.text+0x138): undefined reference to `sceUtilityGetNetParam'
loadutil.o: In function `FlushCaches':
loadutil.c:(.text+0x218): undefined reference to `sceKernelIcacheInvalidateAll'
collect2: ld returned 1 exit status
make: *** [wifisimp03.elf] Error 1
PspPet
Posts: 210
Joined: Wed Mar 30, 2005 2:13 am
Contact:

Post by PspPet »

Smells like you have an old version of PSPSDK
Get the latest from the SVN server

It should build with the latest SVN version (or any version since the sample was released)

BTW: sceUtilityCheckNetParam, sceUtilityGetNetParam and sceKernelIcacheInvalidateAll were added to the SVN version a while ago.

If you are lucky, you won't need a toolchain update as well
Post Reply