I'm trying to compile 'par2cmdline-0.4' for the 7270v3, using checkout revision 11230.
(but guess the same issue will occure with any revision)
I'm getting the following error:
I have seen the exact same error also trying to compile another program, so start to suspect I'm making the same mistake, or something with the toolchain.
Steps to reproduce:
svn co http://svn.freetz.org/trunk/ freetz-trunk-11230 -r 11230
cd freetz-trunk-11230
make menuconfig
make toolchain
cd ~/freetz-trunk-11230
mkdir par2cmdline
cd ~/freetz-trunk-11230/par2cmdline
wget http://sourceforge.net/projects/parchive/files/par2cmdline/0.4/par2cmdline-0.4.tar.gz
tar xfvz par2cmdline-0.4.tar.gz
cd par2cmdline-0.4
export CC="mipsel-linux-gcc"
export CXX="mipsel-linux-g++"
export PATH=/home/freetz/freetz-trunk-11230/toolchain/target/bin/:$PATH
./configure \
--prefix=/usr \
--build=i686-pc-linux-gnu \
--host=mipsel-linux
wget http://sourceforge.net/p/parchive/b...db/b6aa/attachment/par2cmdline-0.4-gcc4.patch
patch -p0 < par2cmdline-0.4-gcc4.patch
make
will add the complete config and make results.
(but guess the same issue will occure with any revision)
I'm getting the following error:
Code:
/home/freetz/freetz-trunk-11230/toolchain/build/mipsel_gcc-4.6.4_uClibc-0.9.32.1/mipsel-linux-uclibc/bin/../lib/gcc/mipsel-linux-uclibc/4.6.4/../../../../mipsel-linux-uclibc/include/c++/4.6.4/bits/stl_algobase.h:982: undefined reference to `__clzsi2'
collect2: ld returned 1 exit status
make[1]: *** [par2] Error 1
make[1]: Leaving directory `/home/freetz/freetz-trunk-11230/par2cmdline/par2cmdline-0.4'
make: *** [all] Error 2
freetz@freetz-linux:~/freetz-trunk-11230/par2cmdline/par2cmdline-0.4$
Steps to reproduce:
svn co http://svn.freetz.org/trunk/ freetz-trunk-11230 -r 11230
cd freetz-trunk-11230
make menuconfig
Level of user competence (Expert) --->
Hardware type (7270 v3) --->
Firmware language (en - international) --->
Toolchain options --->
No changes needed
cd ~/freetz-trunk-11230
mkdir par2cmdline
cd ~/freetz-trunk-11230/par2cmdline
wget http://sourceforge.net/projects/parchive/files/par2cmdline/0.4/par2cmdline-0.4.tar.gz
tar xfvz par2cmdline-0.4.tar.gz
cd par2cmdline-0.4
export CC="mipsel-linux-gcc"
export CXX="mipsel-linux-g++"
export PATH=/home/freetz/freetz-trunk-11230/toolchain/target/bin/:$PATH
./configure \
--prefix=/usr \
--build=i686-pc-linux-gnu \
--host=mipsel-linux
wget http://sourceforge.net/p/parchive/b...db/b6aa/attachment/par2cmdline-0.4-gcc4.patch
patch -p0 < par2cmdline-0.4-gcc4.patch
make
will add the complete config and make results.