Hi, I'm back
hmmm
after a general make - the toolchain and the buildroot seems to be correctly installed
(it stopped at a package, because of a missing perl dependency on my system...)
i now just do a
Code:
make package/swftools/compile V=99
in openwrt/trunk to compile the package from my custom-feed
the dependencies compile well, but...
Code:
make[2]: Entering directory `/home/gm/custom-feed/swftools'
mkdir -p /home/gm/openwrt/trunk/dl
/home/gm/openwrt/trunk/scripts/download.pl "/home/gm/openwrt/trunk/dl" "swftools-0.9.1.tar.gz" "72dc4a7bf5cdf98c28f9cf9b1d8f5d7a" "http://swftools.org/"
--2012-04-02 20:41:07-- http://swftools.org/swftools-0.9.1.tar.gz
Resolving swftools.org... 78.46.32.74
Connecting to swftools.org|78.46.32.74|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2649789 (2.5M) [application/octet-stream]
Saving to: `STDOUT'
100%[==============================================================================================================================>] 2,649,789 1.05M/s in 2.4s
2012-04-02 20:41:09 (1.05 MB/s) - written to stdout [2649789/2649789]
. /home/gm/openwrt/trunk/include/shell.sh; gzip -dc /home/gm/openwrt/trunk/dl/swftools-0.9.1.tar.gz | /bin/tar -C /home/gm/openwrt/trunk/build_dir/target-mipsel-linux-gnu/swftools-0.9.1/.. -xf -
touch /home/gm/openwrt/trunk/build_dir/target-mipsel-linux-gnu/swftools-0.9.1/.prepared_95eda5cdc0bd0dda6b82f72e555bfbb6
(cd /home/gm/openwrt/trunk/build_dir/target-mipsel-linux-gnu/swftools-0.9.1/./; if [ -x ./configure ]; then /usr/bin/find /home/gm/openwrt/trunk/build_dir/target-mipsel-linux-gnu/swftools-0.9.1/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /home/gm/openwrt/trunk/build_dir/target-mipsel-linux-gnu/swftools-0.9.1/ -name config.guess | xargs -r -n1 cp /home/gm/openwrt/trunk/scripts/config.guess; /usr/bin/find /home/gm/openwrt/trunk/build_dir/target-mipsel-linux-gnu/swftools-0.9.1/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /home/gm/openwrt/trunk/build_dir/target-mipsel-linux-gnu/swftools-0.9.1/ -name config.sub | xargs -r -n1 cp /home/gm/openwrt/trunk/scripts/config.sub; AR=mipsel-uclibc-ar AS="mipsel-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32" LD=mipsel-uclibc-ld NM=mipsel-uclibc-nm CC="mipsel-uclibc-gcc" GCC="mipsel-uclibc-gcc" CXX="mipsel-uclibc-g++" RANLIB=mipsel-uclibc-ranlib STRIP=mipsel-uclibc-strip OBJCOPY=mipsel-uclibc-objcopy OBJDUMP=mipsel-uclibc-objdump SIZE=mipsel-uclibc-size CFLAGS="-Os -pipe -mips32 -mtune=mips32 " CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 " CPPFLAGS="-I/home/gm/openwrt/trunk/staging_dir/target-mipsel-linux-gnu/opt/include -I/home/gm/openwrt/trunk/staging_dir/target-mipsel-linux-gnu/include -I/opt/brcm/hndtools-mipsel-uclibc/include " LDFLAGS="-L/home/gm/openwrt/trunk/staging_dir/target-mipsel-linux-gnu/opt/lib -L/home/gm/openwrt/trunk/staging_dir/target-mipsel-linux-gnu/lib -Wl,--dynamic-linker=/opt/lib/ld-uClibc.so.0 -Wl,-rpath,/opt/lib -L/opt/brcm/hndtools-mipsel-uclibc/lib " ./configure --target=mipsel-linux-gnu --host=mipsel-linux-gnu --build=i686-linux-gnu --program-prefix="" --program-suffix="" --prefix=/opt --exec-prefix=/opt --bindir=/opt/bin --sbindir=/opt/sbin --libexecdir=/opt/lib --sysconfdir=/opt/etc --datadir=/opt/share --localstatedir=/opt/var --mandir=/opt/man --infodir=/opt/info --disable-nls --prefix=/opt ; fi; )
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /home/gm/openwrt/trunk/include/site/mipsel-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... mipsel-unknown-linux-gnu
checking for mipsel-linux-gnu-gcc... mipsel-uclibc-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mipsel-uclibc-gcc accepts -g... yes
checking for mipsel-uclibc-gcc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether mipsel-uclibc-g++ accepts -g... yes
checking whether gcc supports lazy variable declaration... yes
checking how to run the C preprocessor... mipsel-uclibc-gcc -E
checking for mipsel-linux-gnu-ranlib... mipsel-uclibc-ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gzip... gzip
checking host system type... (cached) mipsel-unknown-linux-gnu
checking for target system...
checking for sin in -lm... yes
checking for deflate in -lz... yes
checking for PDF_open_file in -lpdf... no
checking for jpeg_write_raw_data in -ljpeg... yes
checking for DGifOpen in -lungif... no
checking for DGifOpen in -lgif... no
checking for zzip_file_open in -lzzip... no
checking for byte order... we are cross compiling- trying to guess from system type
checking target system type... mipsel-unknown-linux-gnu
checking for byte order, try 2... unknown
Byte order could not determined.
make[2]: *** [/home/gm/openwrt/trunk/build_dir/target-mipsel-linux-gnu/swftools-0.9.1/.configured_] Error 1
make[2]: Leaving directory `/home/gm/custom-feed/swftools'
make[1]: *** [package/feeds/rtncustom/swftools/compile] Error 2
make[1]: Leaving directory `/home/gm/openwrt/trunk'
make: *** [package/swftools/compile] Error 2
anyone an idea, how to overcome the byte order detection?
I've attached the provisional Makefile.