forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

trying to build wifi .3 onb mac os x

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
w.kosma



Joined: 28 Oct 2005
Posts: 19

PostPosted: Mon Nov 14, 2005 9:21 am    Post subject: trying to build wifi .3 onb mac os x Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
PspPet



Joined: 30 Mar 2005
Posts: 210

PostPosted: Mon Nov 14, 2005 12:43 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group