Gph Sdk Setup


bino

Still Fresh
Joined
Jun 2, 2007
Messages
13
Dear All
I'm trying to setup dev-environtment based on GPH SDK.

so far, this is what I did :
1. Download he SDK.
2. Before I start the build script, I mod it at the "kernel source download" part.
Replace the SVN to be pointed to 2.1.x firmware version kernel, since my GP2X firmware is 2.1.x (back dated from 3.0.0)
3. Run the build script :
a. All the called download operation is running well
b. entering "the real" build state ... running well .. untill it try to build "gcc"

below is the snip of error msg

CODE

...
checking size of long double... 0
running configure fragment for /gp2xsdk/Tools/src/glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux
running configure fragment for /gp2xsdk/Tools/src/glibc-2.2.5/sysdeps/unix/sysv/linux
checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 2.0.10 or later. This check uses <linux/version.h>, so
make sure that file was built correctly when installing the kernel header
files. To use kernel headers not from /usr/include/linux, use the
configure option --with-headers.
make: *** No targets specified and no makefile found. Stop.
Error : Failed building glibc




I don't know which kernel header that the build script stated as "TOO OLD" ?
How to fix it ?

Sincerely
-bino-
 
Squidge said:
why not just download a pre-configured toolchain?
Which One ?

Anyway ...
After I make a check ... the 2.1.x svn didn't include "version.h" in it's "linux" directory
So i take tke "version.h" from 1.4.0 svn
Same things with autoconf.h.

Now, my build process still runing at the time i write this post.

I don't know why , but this time I got lots of "warning msg" as below :

CODE

../string/bits/string2.h:80: warning: `packed' attribute ignored
../string/bits/string2.h:81: warning: `packed' attribute ignored
../string/bits/string2.h:82: warning: `packed' attribute ignored
../string/bits/string2.h:83: warning: `packed' attribute ignored
../string/bits/string2.h:84: warning: `packed' attribute ignored
../string/bits/string2.h:85: warning: `packed' attribute ignored
../string/bits/string2.h:86: warning: `packed' attribute ignored



I'll report where it goes, soon as it stop

sincerely
-bino-
 
Last edited by a moderator:
Back
Top