Hi There,
i keep having trubles with compile of a new image for my WL500W - primaly it stops at gcc install and when i run with V=99 i get the following belowindicating a issue with machname.h, I found a few thread indicating that there was incombability issues with my host system so i upgraded from ubuntu 6.06 to fiesta and started over, my main goal was to build an image with as much i wanted regarding functionality, that is for the moment basic stuff, samba and lighttpd with perl also i incl updatedd,ntpclient,vsftpd and sftpd, I left out the kmod-brcm-wl and incl. kmod-brcm-wl-mimo instead.
Am not realy a shark to read these messages and able to locate the source of my troubles.
By the way i have a box there for the moment do the kmod-brcm-wl-mimo driver with Lighttpd/php5,sftp,ftp,samba on a 500GB usb drive with spindown without trouble, however a have no room left and need to compress it into my flash image
I CUT the last few 100 lines
if test yes = yes \
|| test -n ""; then \
/bin/bash /home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/genmultilib \
"" \
"" \
"" \
"" \
"" \
"" \
"" \
"yes" \
> tmp-mlib.h; \
else \
/bin/bash /home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/genmultilib '' '' '' '' '' '' '' no \
> tmp-mlib.h; \
fi
/bin/bash /home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/move-if-change tmp-mlib.h multilib.h
multilib.h is unchanged
echo timestamp > s-mlib
lsf="/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/cp/lang-specs.h"; for f in $lsf; do \
echo "#include \"$f\""; \
done | sed 's|/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/||' > tmp-specs.h
/bin/bash /home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/move-if-change tmp-specs.h specs.h
specs.h is unchanged
echo timestamp > s-specs
(SHLIB_LINK='/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6-final/gcc/xgcc -B/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6-final/gcc/ -B/home/margate/kamikaze/staging_dir/toolchain-mipsel_gcc3.4.6/mipsel-linux-uclibc/bin/ -B/home/margate/kamikaze/staging_dir/toolchain-mipsel_gcc3.4.6/mipsel-linux-uclibc/lib/ -isystem /home/margate/kamikaze/staging_dir/toolchain-mipsel_gcc3.4.6/mipsel-linux-uclibc/include -isystem /home/margate/kamikaze/staging_dir/toolchain-mipsel_gcc3.4.6/mipsel-linux-uclibc/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -DUSE_UCLIBC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wno-error -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -shared -nodefaultlibs -Wl,--soname=@shlib_so_name@.so.1 -Wl,--version-script=@shlib_map_file@ -o @shlib_dir@@shlib_so_name@.so.1.tmp @multilib_flags@ @shlib_objs@ -lc && rm -f @shlib_base_name@.so && if [ -f @shlib_dir@@shlib_so_name@.so.1 ]; then mv -f @shlib_dir@@shlib_so_name@.so.1 @shlib_dir@@shlib_so_name@.so.1.backup; else true; fi && mv @shlib_dir@@shlib_so_name@.so.1.tmp @shlib_dir@@shlib_so_name@.so.1 && ln -s @shlib_dir@@shlib_so_name@.so.1 @shlib_base_name@.so' \
SHLIB_MULTILIB=''; \
gcc -DUSE_UCLIBC -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -I. -I. -I/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc -I/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/. -I/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/../include \
-DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/home/margate/kamikaze/staging_dir/toolchain-mipsel_gcc3.4.6/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/home/margate/kamikaze/staging_dir/toolchain-mipsel_gcc3.4.6/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"3.4.6\" -DDEFAULT_TARGET_MACHINE=\"mipsel-linux-uclibc\" -DSTANDARD_BINDIR_PREFIX=\"/home/margate/kamikaze/staging_dir/toolchain-mipsel_gcc3.4.6/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
-c /home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/gcc.c -o gcc.o)
In file included from /home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/gcc.c:141:
./configargs.h:2: warning: string length '720' is greater than the length '509' ISO C89 compilers are required to support
/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/gcc.c:906: warning: string length '529' is greater than the length '509' ISO C89 compilers are required to support
/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/gcc.c:924: warning: string length '608' is greater than the length '509' ISO C89 compilers are required to support
gcc -DUSE_UCLIBC -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -o xgcc gcc.o gccspec.o intl.o \
prefix.o version.o ../libiberty/libiberty.a
cp xgcc gcc-cross
gcc -DUSE_UCLIBC -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cpp gcc.o cppspec.o intl.o \
prefix.o version.o ../libiberty/libiberty.a
/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6-final/gcc/xgcc -B/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6-final/gcc/ -B/home/margate/kamikaze/staging_dir/toolchain-mipsel_gcc3.4.6/mipsel-linux-uclibc/bin/ -B/home/margate/kamikaze/staging_dir/toolchain-mipsel_gcc3.4.6/mipsel-linux-uclibc/lib/ -isystem /home/margate/kamikaze/staging_dir/toolchain-mipsel_gcc3.4.6/mipsel-linux-uclibc/include -isystem /home/margate/kamikaze/staging_dir/toolchain-mipsel_gcc3.4.6/mipsel-linux-uclibc/sys-include -dumpspecs > tmp-specs
mv tmp-specs specs
if [ -f specs.ready ] ; then \
true; \
else \
echo timestamp > specs.ready; \
fi
(MAKE="make"; srcdir=`cd /home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/fixinc && ${PWDCMD-pwd}` ; \
CC="gcc"; CFLAGS=" -DUSE_UCLIBC -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE"; LDFLAGS=""; \
WARN_CFLAGS="-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error"; LIBERTY=`${PWDCMD-pwd}`/"../libiberty/libiberty.a"; \
export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS LIBERTY; \
cd ./fixinc && \
/bin/bash ${srcdir}/mkfixinc.sh i486-pc-linux-gnu mipsel-unknown-linux-uclibc)
constructing ../fixinc.sh for mipsel-unknown-linux-uclibc to run on i486-pc-linux-gnu
make TARGETS=oneprocess SHELL="/usr/bin/env bash -c '. /home/margate/kamikaze/include/shell.sh; eval "$2"' --" CC="gcc" CFLAGS=" -DUSE_UCLIBC -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE" LDFLAGS="" LIBERTY="/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6-final/gcc/../libiberty/libiberty.a" install-bin
make[6]: Entering directory `/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6-final/gcc/fixinc'
/usr/bin/env bash -c '. /home/margate/kamikaze/include/shell.sh; eval mipsel-unknown-linux-uclibc' -- /home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6/gcc/fixinc/genfixes machname.h
--: mipsel-unknown-linux-uclibc: command not found
make[6]: *** [machname.h] Error 127
make[6]: Leaving directory `/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6-final/gcc/fixinc'
make[5]: *** [fixinc.sh] Error 2
make[5]: Leaving directory `/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6-final/gcc'
make[4]: *** [all-gcc] Error 2
make[4]: Leaving directory `/home/margate/kamikaze/build_dir/toolchain-mipsel/gcc-3.4.6-final'
make[3]: *** [/home/margate/kamikaze/staging_dir/toolchain-mipsel_gcc3.4.6/stamp/.gcc_installed] Error 2
make[3]: Leaving directory `/home/margate/kamikaze/toolchain/gcc'
make[2]: *** [toolchain/gcc/install] Error 2
make[2]: Leaving directory `/home/margate/kamikaze'
make[1]: *** [/home/margate/kamikaze/staging_dir/mipsel/stampfiles/.toolchain_install] Error 2
make[1]: Leaving directory `/home/margate/kamikaze'
make: *** [world] Error 2
margate@Ubuntu:~/kamikaze$
regards
Helge