GP2X Official Sdk


Got the following error during execution of the script :

I just adapt the KERNELSVN variable to point to 2.0.0 in place of 1.4.0.

Why this script does not function with kernel firmware 2.0.0 ? (Yes, the script worked perfectly for kernel firmware 1.4.0)

running configure fragment for /usr/local/gp2xsdk/Tools/src/glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux
running configure fragment for /usr/local/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

UPDATE : i found to make it function with 2.0.0 sources

2 files are missing

version.h
autoconf.h

in include/linux directory
 
UPDATE : i found to make it function with 2.0.0 sources

2 files are missing

version.h
autoconf.h

in include/linux directory

Where did you get the 2 files from?

Hi anyone triedthe official SDK from gph? how is it?
http://dev.gp2x.com/sdk/

I use it on Windows environment and try to compile your VBA source on it.

For little application Dev-C++ work properly.

But I have some 'undefined reference' linker errors for the moment (maybe my fault).

BR, Memiks.
If you give some details, people on the board are usually able to give some suggestions.

I wonder if there is an ide like devcpp for linux? the screenshots look interesting but i dont have a windows pc.
 
Last edited by a moderator:
UPDATE : i found to make it function with 2.0.0 sources

2 files are missing

version.h
autoconf.h

in include/linux directory

Where did you get the 2 files from?

Hi anyone triedthe official SDK from gph? how is it?
http://dev.gp2x.com/sdk/

I use it on Windows environment and try to compile your VBA source on it.

For little application Dev-C++ work properly.

But I have some 'undefined reference' linker errors for the moment (maybe my fault).

BR, Memiks.
If you give some details, people on the board are usually able to give some suggestions.

I wonder if there is an ide like devcpp for linux? the screenshots look interesting but i dont have a windows pc.

You can get code::blocks for Linux (it's also available for Windows). Download code::blocks here
 
Last edited by a moderator:
pcklee123 said:
UPDATE : i found to make it function with 2.0.0 sources

2 files are missing

version.h
autoconf.h

in include/linux directory

Where did you get the 2 files from?

These 2 files are available when taking all the sources of the kernel and type the following commands in the sources directory :

make oldconfig

in case of make oldconfig does not function, you need to lauch configure first :

./configure

This wil generate the missing file if i remember correctly ... (i do not remember correctly but you may also have to run autoconf)

For now, i just took the 2 files from 1.4.0 and copy it in the same place in 2.0.0 source !
 
Last edited by a moderator:
Back
Top