I try to compil the cdk from the last cvs sources but I have many problems :
1 - when I run autogen.sh I receive this error :
[loic@localhost cdk]$ ./autogen.sh
Generating configuration files for tuxbox-cdk, please wait....
aclocal
libtoolize --automake
autoconf
configure.ac:13: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1657: AC_CANONICAL_TARGET is expanded from...
configure.ac:13: the top level
automake --add-missing
configure.ac:13: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1657: AC_CANONICAL_TARGET is expanded from...
configure.ac:13: the top level
[loic@localhost cdk]$
2 - After many downloads and installations I receive this error :
gcc -c -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc-3.2.3/gcc -I../../gcc-3.2.3/gcc/. -I../../gcc-3.2.3/gcc/config -I../../gcc-3.2.3/gcc/../include ../../gcc-3.2.3/gcc/read-rtl.c -o read-rtl.o
In file included from ../../gcc-3.2.3/gcc/read-rtl.c:24:
../../gcc-3.2.3/gcc/rtl.h:125: warning: type of bit-field 'code' is a GCC extension
../../gcc-3.2.3/gcc/rtl.h:128: warning: type of bit-field 'mode' is a GCC extension
../../gcc-3.2.3/gcc/read-rtl.c: In function 'fatal_with_file_and_line':
../../gcc-3.2.3/gcc/read-rtl.c:62: warning: traditional C rejects ISO C style function definitions
../../gcc-3.2.3/gcc/read-rtl.c: In function 'read_rtx':
../../gcc-3.2.3/gcc/read-rtl.c:662: error: invalid lvalue in increment
gmake[3]: *** [read-rtl.o] Erreur 1
gmake[3]: Leaving directory `/home/loic/tuxbox-cvs/cdk/build/gcc'
gmake[2]: *** [all-gcc] Erreur 2
gmake[2]: Leaving directory `/home/loic/tuxbox-cvs/cdk/build'
gmake[1]: *** [bootstrap_gcc] Erreur 2
gmake[1]: Leaving directory `/home/loic/tuxbox-cvs/cdk'
gmake: *** [.glibc] Erreur 2
[loic@localhost cdk]$
I use Mandriva Linux 2006 with gcc 4.0.1 kernel 2.6.12 ... Let me know if you want to know more versions...
I've test this compilation under Redhat 6.2 and frebsd 5.4 without success...
Help me please,
EG
