Hi,
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
cdk compilation problem
-
- Neugieriger
- Beiträge: 3
- Registriert: Mittwoch 19. Oktober 2005, 17:12
-
- Senior Member
- Beiträge: 1339
- Registriert: Donnerstag 24. April 2003, 12:12
Hmm, the first "error" ist just a warning which has been fixed for a while in the HEAD-cvs, also gcc 3.2.3 ist a very old version so I guess you are trying to build for the dreambox?
Try to downgrade the gcc to a 3.4.x-version, maybe 4.0.1 is too recent?
Or, - if you have the knowledge - you could try to find out what's causing the error.
Try to downgrade the gcc to a 3.4.x-version, maybe 4.0.1 is too recent?
Or, - if you have the knowledge - you could try to find out what's causing the error.
-
- Developer
- Beiträge: 2183
- Registriert: Mittwoch 10. Dezember 2003, 07:59
-
- Neugieriger
- Beiträge: 3
- Registriert: Mittwoch 19. Oktober 2005, 17:12
CDK compilation problems
Thanks for your responses...
I'm not a C programmer, just a freebsd system ingenieer...
I use Linux, then Freebsd, for my web servers since 6 years and I va habitude to compil package, servers and other libraries...
I manage many servers in my own webhosting company. So its easy for me to test different compilation system on my servers : gentoo, redhat 6.2, frebsd 4.11, freebsd 5.4,...
So when I've receive my new dreambox 7020s I decide to compil my own image... Just for fun
First I test on an "old" Redhat 6.2 server, but even after an upgrade of many programs (automake, autoconf,...) and many libraries I receive allways a warning then an error with autoconf. I do not find any solution in any forum and I decide to install a bright new compilation system and I choose Mandriva 2006 because it's French and uses the last kernel version.
All servers are dual atlhon 1800 or 2600 + 2048 Mo ram DDR ECC + Cd-rom + tyan thunder k7 motherboard + 3ware SATA controler.
I use an IDE 15GO hard drive not in raid but directly on the motherboard.
If you have some recommandations, I'm openminded...
I do not know how to use different gcc versions on the same system, but with time and patience I can found a solution...
Let me know what's the best environnement and linux version only to test dreambox compilation...
Thanks in advance,
EG
I'm not a C programmer, just a freebsd system ingenieer...
I use Linux, then Freebsd, for my web servers since 6 years and I va habitude to compil package, servers and other libraries...
I manage many servers in my own webhosting company. So its easy for me to test different compilation system on my servers : gentoo, redhat 6.2, frebsd 4.11, freebsd 5.4,...
So when I've receive my new dreambox 7020s I decide to compil my own image... Just for fun
First I test on an "old" Redhat 6.2 server, but even after an upgrade of many programs (automake, autoconf,...) and many libraries I receive allways a warning then an error with autoconf. I do not find any solution in any forum and I decide to install a bright new compilation system and I choose Mandriva 2006 because it's French and uses the last kernel version.
All servers are dual atlhon 1800 or 2600 + 2048 Mo ram DDR ECC + Cd-rom + tyan thunder k7 motherboard + 3ware SATA controler.
I use an IDE 15GO hard drive not in raid but directly on the motherboard.
If you have some recommandations, I'm openminded...
I do not know how to use different gcc versions on the same system, but with time and patience I can found a solution...
Let me know what's the best environnement and linux version only to test dreambox compilation...
Thanks in advance,
EG
-
- Developer
- Beiträge: 196
- Registriert: Dienstag 16. Oktober 2001, 00:00
-
- Neugieriger
- Beiträge: 3
- Registriert: Mittwoch 19. Oktober 2005, 17:12