Hi forum,
I am trying to build tuxbox-cvs as a complete project by running 'make all extra' on RedHat entprise 5 platform which is Kernel 2.6.18-92.el5xen SMP.
The build process fail while building gcc.3.2.3 directory compile stage, a particular file named read-rtl.c file at line 662, function obstack_ptr_grow(). Compiler report incorrect lvalue.
Even after modifying the source line; build does not succeed cause every build session make run bunzip2 utility to extract gcc compiler's files from gcc-3.2.3.tar.bz2 file and over write the previous version of content and build process get newly extracted file from bunzip2, in doing so the modified version of read-rtl.c file get over written and hence compiler failed to compile the file due to lvalue error in said function. The function obstack_ptr_grow() is an Macro declared in defined in obstack.h.
I wonder if any one came across this problem while compiling tuxbox-cvs to create image.
I would be glad to hear any comment/assessment or any fix-up for this problem
Thanks in advance.
gcc 3.2.2 compiler... fails
-
- Interessierter
- Beiträge: 42
- Registriert: Dienstag 8. Dezember 2009, 19:46
-
- CDK-Experte
- Beiträge: 4335
- Registriert: Donnerstag 3. April 2008, 14:05
Re: gcc 3.2.2 compiler... fails
Better try these make targets:shylock_1 hat geschrieben:I am trying to build tuxbox-cvs as a complete project by running 'make all extra'
flash-neutrino-squashfs-all
flash-enigma-squashfs-all
depending on the desired GUI.
Current Tuxbox CVS version uses gcc-3.4.6...shylock_1 hat geschrieben:The build process fail while building gcc.3.2.3
Please show us the commands you used for:
- CVS checkout
- cdk/configure
-
- Interessierter
- Beiträge: 42
- Registriert: Dienstag 8. Dezember 2009, 19:46
Re: gcc 3.2.2 compiler... fails
Thanks for replying. The following syntax used to obtain CVS from ...
mkdir $HOME/tuxbox-cvs
cd $HOME/tuxbox-cvs
cvs -d:pserver:anonymous@cvs.tuxbox-cvs.sourceforge.net:/cvs/tuxbox login
(when prompted for a password, just hit Enter/Return)
cvs -d:pserver:anonymous@cvs.tuxbox-cvs.sourceforge.net:/cvs/tuxbox -z9 co -r rel_1_0_0 .
AND following syntax used to initiate build process
mkdir $HOME/dbox2
cd $HOME/tuxbox-cvs/cdk
./autogen.sh
./configure --prefix=$HOME/dbox2 --with-cvsdir=$HOME/tuxbox-cvs --enable-maintainer-mode
i) make all extra
ii) make .enigma
iii) make extra (an optional use without 'all')
Our DREAM MULTIMEDIA BOX DM 7000S based on IBM ppc STB04500 running at 250 Mhz 350 MIPS
(thats only available to our lab for evaluation) default image of Enigma 1.0.8v (last build some wherein 2006)
What I noticed during build make process; reach to a point where manual input required for the CPU name and Board name require to be entered to continue further build process. The input ... POWER4, and Board RPX-Lite as I picked up to proceed compiling.
Any comments, please.
Thanks in advance.
mkdir $HOME/tuxbox-cvs
cd $HOME/tuxbox-cvs
cvs -d:pserver:anonymous@cvs.tuxbox-cvs.sourceforge.net:/cvs/tuxbox login
(when prompted for a password, just hit Enter/Return)
cvs -d:pserver:anonymous@cvs.tuxbox-cvs.sourceforge.net:/cvs/tuxbox -z9 co -r rel_1_0_0 .
AND following syntax used to initiate build process
mkdir $HOME/dbox2
cd $HOME/tuxbox-cvs/cdk
./autogen.sh
./configure --prefix=$HOME/dbox2 --with-cvsdir=$HOME/tuxbox-cvs --enable-maintainer-mode
i) make all extra
ii) make .enigma
iii) make extra (an optional use without 'all')
Our DREAM MULTIMEDIA BOX DM 7000S based on IBM ppc STB04500 running at 250 Mhz 350 MIPS
(thats only available to our lab for evaluation) default image of Enigma 1.0.8v (last build some wherein 2006)
What I noticed during build make process; reach to a point where manual input required for the CPU name and Board name require to be entered to continue further build process. The input ... POWER4, and Board RPX-Lite as I picked up to proceed compiling.
Any comments, please.
Thanks in advance.
-
- Developer
- Beiträge: 1475
- Registriert: Dienstag 4. Februar 2003, 22:02
Re: gcc 3.2.2 compiler... fails
You have manage to dig up some ancient description, dating sometime between the stone- and bronzeage of tuxboxing. Please check out http://www.bengt-martensson.de/dbox2/fl ... wmake.html (don't use the -f -r newmake option for checking out, it is obsolete) and/or http://wiki.tuxbox.org/wiki/index.php/Newmake-ENshylock_1 hat geschrieben:cvs -d:pserver:anonymous@cvs.tuxbox-cvs.sourceforge.net:/cvs/tuxbox -z9 co -r rel_1_0_0 .
-
- Interessierter
- Beiträge: 42
- Registriert: Dienstag 8. Dezember 2009, 19:46
Re: gcc 3.2.2 compiler... fails
Thanks Barf,
Thanks for pointing out right repository, and managed to pull tuxbox cvs.
But now I have problem with :
./configure --prefix=/tuxbox --with-cvsdir=/tuxbox/head --enable-maintainer-mode
it leaves following erros
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for apps directory... configure: WARNING: appsdir /tuxbox/head/apps not found
checking for boot directory... configure: WARNING: bootdir /tuxbox/head/boot not found
checking for driver directory... configure: WARNING: driverdir /tuxbox/head/driver not found
checking for hostapps directory... configure: WARNING: hostappsdir /tuxbox/head/hostapps not found
checking for m4... /usr/bin/m4
Although above directories existed within /home/shylock/tuxbox/apps, ... boot .... driver ... hostapps etc
But configure still report ...not found! further more at the end of configure process
******************************************************************
* !!!WARNING!!! *
* one or more of your CVS source directories could not be found, *
* (for details see above), did you maybe supply an incorrect *
* --with-cvsdir argument to configure? *
* !!!WARNING!!! *
******************************************************************
configure: creating Makefile-archive
configure: creating ./config.status
config.status: creating Makefile
config.status: creating rules-downcheck.pl
config.status: creating root/Makefile
config.status: creating root/etc/Makefile
config.status: creating root/etc/init.d/Makefile
config.status: creating root/etc/network/Makefile
config.status: creating root/share/Makefile
config.status: creating root/share/udhcpc/Makefile
config.status: executing depfiles commands
config.status: executing rules-downcheck-chmod commands
I wonder cvs failing to download some source directory from tuxbox-cvs.sourceforge.net?
OR
There is something I am missing or not doing correctly?
Thanks for pointing out right repository, and managed to pull tuxbox cvs.
But now I have problem with :
./configure --prefix=/tuxbox --with-cvsdir=/tuxbox/head --enable-maintainer-mode
it leaves following erros
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for apps directory... configure: WARNING: appsdir /tuxbox/head/apps not found
checking for boot directory... configure: WARNING: bootdir /tuxbox/head/boot not found
checking for driver directory... configure: WARNING: driverdir /tuxbox/head/driver not found
checking for hostapps directory... configure: WARNING: hostappsdir /tuxbox/head/hostapps not found
checking for m4... /usr/bin/m4
Although above directories existed within /home/shylock/tuxbox/apps, ... boot .... driver ... hostapps etc
But configure still report ...not found! further more at the end of configure process
******************************************************************
* !!!WARNING!!! *
* one or more of your CVS source directories could not be found, *
* (for details see above), did you maybe supply an incorrect *
* --with-cvsdir argument to configure? *
* !!!WARNING!!! *
******************************************************************
configure: creating Makefile-archive
configure: creating ./config.status
config.status: creating Makefile
config.status: creating rules-downcheck.pl
config.status: creating root/Makefile
config.status: creating root/etc/Makefile
config.status: creating root/etc/init.d/Makefile
config.status: creating root/etc/network/Makefile
config.status: creating root/share/Makefile
config.status: creating root/share/udhcpc/Makefile
config.status: executing depfiles commands
config.status: executing rules-downcheck-chmod commands
I wonder cvs failing to download some source directory from tuxbox-cvs.sourceforge.net?
OR
There is something I am missing or not doing correctly?
-
- Developer
- Beiträge: 1475
- Registriert: Dienstag 4. Februar 2003, 22:02
Re: gcc 3.2.2 compiler... fails
shylock_1 hat geschrieben:./configure --prefix=/tuxbox --with-cvsdir=/tuxbox/head --enable-maintainer-mode
The argument to --with-cvsdir is the absolute directory, appears to /home/shylock/tuxbox in your case (according to the second quote).shylock_1 hat geschrieben:Although above directories existed within /home/shylock/tuxbox/apps, ... boot .... driver ... hostapps etc
-
- Interessierter
- Beiträge: 42
- Registriert: Dienstag 8. Dezember 2009, 19:46
Re: gcc 3.2.2 compiler... fails
Now I am running into very different type of problem as follow:
[shy@tomcat cdk]$ make flash-neutrino-jffs2-all yadd-enigma
Make run time error:
false || mkdir -p && ( \
wget -c --passive-ftp -P ftp://ftp.gwdg.de/pub/misc/gnu/ftp/gnu/ ... .6.tar.bz2 || \
wget -c -P http://www.tuxbox-cvs.sourceforge.net/c ... .6.tar.bz2 )
mkdir: too few arguments
Try `mkdir --help' for more information.
make: *** [/gcc-core-3.4.6.tar.bz2] Error 1
I can clearly see there is no parameter for mkdir -p &&(\ ....
the typical line from Make-archive read
$(archivedir)/u-boot-2009.08.tar.bz2:
false || mkdir -p $(archivedir) && ( \
wget -c --passive-ftp -P $(archivedir) ftp://ftp.denx.de/pub/u-boot/u-boot-2009.08.tar.bz2 || \
wget -c -P $(archivedir) http://www.tuxbox-cvs.sourceforge.net/c ... 08.tar.bz2 )
@touch $@
which seems to be somewhere the var $(archivedir) is missing at run time of make process.
Thanks
[shy@tomcat cdk]$ make flash-neutrino-jffs2-all yadd-enigma
Make run time error:
false || mkdir -p && ( \
wget -c --passive-ftp -P ftp://ftp.gwdg.de/pub/misc/gnu/ftp/gnu/ ... .6.tar.bz2 || \
wget -c -P http://www.tuxbox-cvs.sourceforge.net/c ... .6.tar.bz2 )
mkdir: too few arguments
Try `mkdir --help' for more information.
make: *** [/gcc-core-3.4.6.tar.bz2] Error 1
I can clearly see there is no parameter for mkdir -p &&(\ ....
the typical line from Make-archive read
$(archivedir)/u-boot-2009.08.tar.bz2:
false || mkdir -p $(archivedir) && ( \
wget -c --passive-ftp -P $(archivedir) ftp://ftp.denx.de/pub/u-boot/u-boot-2009.08.tar.bz2 || \
wget -c -P $(archivedir) http://www.tuxbox-cvs.sourceforge.net/c ... 08.tar.bz2 )
@touch $@
which seems to be somewhere the var $(archivedir) is missing at run time of make process.
Thanks