| View previous topic :: View next topic |
| Author |
Message |
x2cube
Joined: 11 Oct 2005 Posts: 7
|
Posted: Thu Nov 17, 2005 5:57 pm Post subject: error building from toolchain |
|
|
| 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 |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Thu Nov 17, 2005 9:19 pm Post subject: |
|
|
| Fixed in revision 1461. |
|
| Back to top |
|
 |
x2cube
Joined: 11 Oct 2005 Posts: 7
|
Posted: Fri Nov 18, 2005 2:57 pm Post subject: |
|
|
| mrbrown wrote: | | Fixed in revision 1461. |
thanks that works |
|
| Back to top |
|
 |
Elxx
Joined: 07 Dec 2005 Posts: 16
|
Posted: Thu Dec 08, 2005 2:30 pm Post subject: |
|
|
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 |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Thu Dec 08, 2005 3:49 pm Post subject: |
|
|
| Fixed in 1541. |
|
| Back to top |
|
 |
Elxx
Joined: 07 Dec 2005 Posts: 16
|
Posted: Thu Dec 08, 2005 4:05 pm Post subject: |
|
|
| Worked like a charm. Thank you very much for such a quick fix! |
|
| Back to top |
|
 |
NyNex
Joined: 08 Jan 2006 Posts: 13
|
Posted: Tue Jan 10, 2006 7:04 am Post subject: |
|
|
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 |
|
 |
amer
Joined: 01 Jan 2006 Posts: 3
|
Posted: Tue Jan 10, 2006 2:43 pm Post subject: |
|
|
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 |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Tue Jan 10, 2006 3:18 pm Post subject: |
|
|
| 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 |
|
 |
amer
Joined: 01 Jan 2006 Posts: 3
|
Posted: Tue Jan 10, 2006 3:51 pm Post subject: |
|
|
Hi, jimparis:
Thanks very much, I understand! |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Wed Jan 11, 2006 1:11 am Post subject: |
|
|
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 |
|
 |
NyNex
Joined: 08 Jan 2006 Posts: 13
|
Posted: Wed Jan 11, 2006 2:21 am Post subject: |
|
|
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 |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Wed Jan 11, 2006 6:35 am Post subject: |
|
|
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 |
|
 |
|