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 

error building from toolchain

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



Joined: 11 Oct 2005
Posts: 7

PostPosted: Thu Nov 17, 2005 5:57 pm    Post subject: error building from toolchain Reply with quote

Quote:

Making all in sdk
if psp-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../sdk/base -I../../sdk/kernel -I../../sdk/user -I../../sdk/net -I../../sdk/utility -g -O2 -G0 -Wall -MT query_mod.o -MD -MP -MF ".deps/query_mod.Tpo" -c -o query_mod.o query_mod.c; \
then mv -f ".deps/query_mod.Tpo" ".deps/query_mod.Po"; else rm -f ".deps/query_mod.Tpo"; exit 1; fi
if psp-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../sdk/base -I../../sdk/kernel -I../../sdk/user -I../../sdk/net -I../../sdk/utility -g -O2 -G0 -Wall -MT fixup.o -MD -MP -MF ".deps/fixup.Tpo" -c -o fixup.o fixup.c; \
then mv -f ".deps/fixup.Tpo" ".deps/fixup.Po"; else rm -f ".deps/fixup.Tpo"; exit 1; fi
if psp-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../sdk/base -I../../sdk/kernel -I../../sdk/user -I../../sdk/net -I../../sdk/utility -g -O2 -G0 -Wall -MT inethelper.o -MD -MP -MF ".deps/inethelper.Tpo" -c -o inethelper.o inethelper.c; \
then mv -f ".deps/inethelper.Tpo" ".deps/inethelper.Po"; else rm -f ".deps/inethelper.Tpo"; exit 1; fi
inethelper.c:16:24: error: pspNetInet.h: No such file or directory
inethelper.c:17:28: error: pspNetResolver.h: No such file or directory
inethelper.c:18:25: error: pspNetApctl.h: No such file or directory
inethelper.c: In function 'initInet':
inethelper.c:97: warning: implicit declaration of function 'sceNetInetInit'
inethelper.c:101: warning: implicit declaration of function 'sceNetResolverInit'
inethelper.c:105: warning: implicit declaration of function 'sceNetApctlInit'
inethelper.c: In function 'termInet':
inethelper.c:119: warning: implicit declaration of function 'sceNetApctlTerm'
inethelper.c:120: warning: implicit declaration of function 'sceNetResolverTerm'
inethelper.c:121: warning: implicit declaration of function 'sceNetInetTerm'
make[3]: *** [inethelper.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
ERROR BUILDING PSPSDK

:( help
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Thu Nov 17, 2005 9:19 pm    Post subject: Reply with quote

Fixed in revision 1461.
Back to top
View user's profile Send private message
x2cube



Joined: 11 Oct 2005
Posts: 7

PostPosted: Fri Nov 18, 2005 2:57 pm    Post subject: Reply with quote

mrbrown wrote:
Fixed in revision 1461.


thanks that works
Back to top
View user's profile Send private message
Elxx



Joined: 07 Dec 2005
Posts: 16

PostPosted: Thu Dec 08, 2005 2:30 pm    Post subject: Reply with quote

Sorry to resurrect this topic, but I'm getting a similar error. Downloaded the latest version of the toolchain (psptoolchain-20051202.tgz).

Quote:

make[3]: *** [inethelper.o] Error 1
make[3]: Leaving directory `/tmp/pspdev/pspsdk/src/sdk`
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src`
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pspdev/pspsdk`
make: *** [all] Error 2
ERROR BUILDING PSPSDK
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Thu Dec 08, 2005 3:49 pm    Post subject: Reply with quote

Fixed in 1541.
Back to top
View user's profile Send private message
Elxx



Joined: 07 Dec 2005
Posts: 16

PostPosted: Thu Dec 08, 2005 4:05 pm    Post subject: Reply with quote

Worked like a charm. Thank you very much for such a quick fix!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
NyNex



Joined: 08 Jan 2006
Posts: 13

PostPosted: Tue Jan 10, 2006 7:04 am    Post subject: Reply with quote

Hi!

I get the same error with psptoolchain rev 1666:

In file included from inethelper.c:18:
../../src/net/pspnet_resolver.h:62: warning: 'struct in_addr' declared inside pa
rameter list
../../src/net/pspnet_resolver.h:62: warning: its scope is only this definition o
r declaration, which is probably not what you want
../../src/net/pspnet_resolver.h:76: warning: 'struct in_addr' declared inside pa
rameter list
make[3]: *** [inethelper.o] Error 1
make[3]: Leaving directory `/tmp/pspdev/pspsdk/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pspdev/pspsdk'
make: *** [all] Error 2
ERROR BUILDING PSPSDK


I have followed the steps on

http://wiki.pspdev.org/psp:programming_faq

I have reinstalled, I have used -p parameter...Any idea?
Back to top
View user's profile Send private message
amer



Joined: 01 Jan 2006
Posts: 3

PostPosted: Tue Jan 10, 2006 2:43 pm    Post subject: Reply with quote

I use psptoolchain-20051202.tgz, I also encounter the same problems!, How could i install it?

make[3]: *** [inethelper.o] Error 1
make[3]: Leaving directory `/tmp/pspdev/pspsdk/src/sdk`
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src`
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pspdev/pspsdk`
make: *** [all] Error 2
ERROR BUILDING PSPSDK

Thanks!
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Jan 10, 2006 3:18 pm    Post subject: Reply with quote

amer wrote:
I use psptoolchain-20051202.tgz
That is old. The problem is that you end up using the newlib/gcc/binutils patches from 20051202 but the most recent pspsdk from svn, and the two aren't compatible. Use the most recent toolchain:
Code:
svn checkout svn://svn.pspdev.org/psp/trunk/psptoolchain
cd psptoolchain
./toolchain.sh

Oopo, maybe it would make more sense to include the current pspsdk in that tgz? pspsdk and newlib are somewhat interdependent these days.
Back to top
View user's profile Send private message
amer



Joined: 01 Jan 2006
Posts: 3

PostPosted: Tue Jan 10, 2006 3:51 pm    Post subject: Reply with quote

Hi, jimparis:

Thanks very much, I understand!
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Jan 11, 2006 1:11 am    Post subject: Reply with quote

The readme in that package contains instructions on how to grab the absolute latest patches and other fun stuff directly from the svn repository. This should be sufficient for most usage.

Including the pspsdk in the toolchain package wouldn't make much sense as it gets updated very very frequently. Perhaps a more useful idea would be to limit what revision the script checks out of svn when it is building to a last known good, buildable version.

Although, there is some merit in having users report errors here as they see them...
Back to top
View user's profile Send private message Visit poster's website
NyNex



Joined: 08 Jan 2006
Posts: 13

PostPosted: Wed Jan 11, 2006 2:21 am    Post subject: Reply with quote

It works fine now!

Thank you jimparis. After update:
./toolchain.sh -n
./toolchain.sh -p
and without problem.

Sorry ooPo, but i didn't find the solution and i had to ask. I thought i had last psptoolchain revision. My fault.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Jan 11, 2006 6:35 am    Post subject: Reply with quote

Its ok. Now people can find the answer when they search.

Also, I should have updated the copy on my site a while ago. *shrug*
Back to top
View user's profile Send private message 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