[workaround] Fehler beim Kompilieren von libmad

linuxkasten

Aktives Mitglied
Mitglied seit
2 Feb 2009
Beiträge
891
Punkte für Reaktionen
0
Punkte
16
Beim Bauen vom aktuellen Trunk (R 5446) mit neueren gcc (ich verwende gcc-4.4.4) tritt folgender Fehler auf:
Code:
which: no jam in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3)
WARNING: The program jam was not found in path.
find: `/usr/local/include/': No such file or directory
find: `/usr/local/include/': No such file or directory
cmd() { PATH="/home/isch/fbox/freetz/trunk/toolchain/target/bin:/home/isch/fbox/freetz/trunk/toolchain/kernel/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3" LD_RUN_PATH="/usr/lib/freetz" make -j6  "$@"  || { printf "\n\\033[33m%s\\033[m\n" "ERROR: Build failed.";  exit 1; } }; 	if [ -e source/.echo_item_start -a ! -e source/.echo_item_build ]; then echo -n "building... "; touch source/.echo_item_build; fi; cmd -C source/target-mipsel_uClibc-0.9.29/libmad-0.15.1b
make[1]: Entering directory `/home/isch/fbox/freetz/trunk/source/target-mipsel_uClibc-0.9.29/libmad-0.15.1b'
make  all-recursive
make[2]: Entering directory `/home/isch/fbox/freetz/trunk/source/target-mipsel_uClibc-0.9.29/libmad-0.15.1b'
make[3]: Entering directory `/home/isch/fbox/freetz/trunk/source/target-mipsel_uClibc-0.9.29/libmad-0.15.1b'
if /bin/sh ./libtool --mode=compile /home/isch/fbox/freetz/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_MIPS -DASO_INTERLEAVE2 -DASO_ZEROCHECK    -Wall -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -fomit-frame-pointer -MT version.lo -MD -MP -MF ".deps/version.Tpo" -c -o version.lo version.c; \
	then mv -f ".deps/version.Tpo" ".deps/version.Plo"; else rm -f ".deps/version.Tpo"; exit 1; fi
if /bin/sh ./libtool --mode=compile /home/isch/fbox/freetz/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_MIPS -DASO_INTERLEAVE2 -DASO_ZEROCHECK    -Wall -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -fomit-frame-pointer -MT fixed.lo -MD -MP -MF ".deps/fixed.Tpo" -c -o fixed.lo fixed.c; \
	then mv -f ".deps/fixed.Tpo" ".deps/fixed.Plo"; else rm -f ".deps/fixed.Tpo"; exit 1; fi
if /bin/sh ./libtool --mode=compile /home/isch/fbox/freetz/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_MIPS -DASO_INTERLEAVE2 -DASO_ZEROCHECK    -Wall -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -fomit-frame-pointer -MT bit.lo -MD -MP -MF ".deps/bit.Tpo" -c -o bit.lo bit.c; \
	then mv -f ".deps/bit.Tpo" ".deps/bit.Plo"; else rm -f ".deps/bit.Tpo"; exit 1; fi
if /bin/sh ./libtool --mode=compile /home/isch/fbox/freetz/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_MIPS -DASO_INTERLEAVE2 -DASO_ZEROCHECK    -Wall -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -fomit-frame-pointer -MT timer.lo -MD -MP -MF ".deps/timer.Tpo" -c -o timer.lo timer.c; \
	then mv -f ".deps/timer.Tpo" ".deps/timer.Plo"; else rm -f ".deps/timer.Tpo"; exit 1; fi
if /bin/sh ./libtool --mode=compile /home/isch/fbox/freetz/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_MIPS -DASO_INTERLEAVE2 -DASO_ZEROCHECK    -Wall -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -fomit-frame-pointer -MT stream.lo -MD -MP -MF ".deps/stream.Tpo" -c -o stream.lo stream.c; \
	then mv -f ".deps/stream.Tpo" ".deps/stream.Plo"; else rm -f ".deps/stream.Tpo"; exit 1; fi
if /bin/sh ./libtool --mode=compile /home/isch/fbox/freetz/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_MIPS -DASO_INTERLEAVE2 -DASO_ZEROCHECK    -Wall -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -fomit-frame-pointer -MT frame.lo -MD -MP -MF ".deps/frame.Tpo" -c -o frame.lo frame.c; \
	then mv -f ".deps/frame.Tpo" ".deps/frame.Plo"; else rm -f ".deps/frame.Tpo"; exit 1; fi
 /home/isch/fbox/freetz/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_MIPS -DASO_INTERLEAVE2 -DASO_ZEROCHECK -Wall -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -fomit-frame-pointer -MT frame.lo -MD -MP -MF .deps/frame.Tpo -c frame.c  -fPIC -DPIC -o .libs/frame.o
 /home/isch/fbox/freetz/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_MIPS -DASO_INTERLEAVE2 -DASO_ZEROCHECK -Wall -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -fomit-frame-pointer -MT timer.lo -MD -MP -MF .deps/timer.Tpo -c timer.c  -fPIC -DPIC -o .libs/timer.o
 /home/isch/fbox/freetz/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_MIPS -DASO_INTERLEAVE2 -DASO_ZEROCHECK -Wall -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -fomit-frame-pointer -MT fixed.lo -MD -MP -MF .deps/fixed.Tpo -c fixed.c  -fPIC -DPIC -o .libs/fixed.o
 /home/isch/fbox/freetz/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_MIPS -DASO_INTERLEAVE2 -DASO_ZEROCHECK -Wall -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -fomit-frame-pointer -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c  -fPIC -DPIC -o .libs/version.o
 /home/isch/fbox/freetz/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_MIPS -DASO_INTERLEAVE2 -DASO_ZEROCHECK -Wall -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -fomit-frame-pointer -MT stream.lo -MD -MP -MF .deps/stream.Tpo -c stream.c  -fPIC -DPIC -o .libs/stream.o
 /home/isch/fbox/freetz/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_MIPS -DASO_INTERLEAVE2 -DASO_ZEROCHECK -Wall -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -finline-functions -fomit-frame-pointer -MT bit.lo -MD -MP -MF .deps/bit.Tpo -c bit.c  -fPIC -DPIC -o .libs/bit.o
cc1: error: unrecognized command line option "-fforce-mem"
cc1: error: unrecognized command line option "-fforce-mem"
cc1: error: unrecognized command line option "-fforce-mem"
cc1: error: unrecognized command line option "-fforce-mem"
cc1: error: unrecognized command line option "-fforce-mem"
cc1: error: unrecognized command line option "-fforce-mem"
make[3]: *** [stream.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [fixed.lo] Error 1
make[3]: *** [bit.lo] Error 1
make[3]: *** [frame.lo] Error 1
make[3]: *** [timer.lo] Error 1
make[3]: *** [version.lo] Error 1
make[3]: Leaving directory `/home/isch/fbox/freetz/trunk/source/target-mipsel_uClibc-0.9.29/libmad-0.15.1b'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/isch/fbox/freetz/trunk/source/target-mipsel_uClibc-0.9.29/libmad-0.15.1b'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/isch/fbox/freetz/trunk/source/target-mipsel_uClibc-0.9.29/libmad-0.15.1b'

ERROR: Build failed.
make: *** [source/target-mipsel_uClibc-0.9.29/libmad-0.15.1b/.libs/libmad.so.0.2.1] Error 1
gcc kennt ab einer bestimten Version den Parameter -fforce-mem nicht mehr.
Als workaround hab ich in source/target-mipsel_uclibc-*/libmad/0.15.1b/configure in Zeile 19094 -fforce-mem entfernt, dann läuft der Build durch.
 
Zuletzt bearbeitet:
Cool, einfach die CFLAGS in der .mk überschreiben, da bin ich nicht draufgekommen...
 
Habs von openwrt abgeschaut... ;-)

MfG Oliver
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
246,295
Beiträge
2,249,594
Mitglieder
373,893
Neuestes Mitglied
Kukkatto
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.