LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   getting make: *** [all] Error 2 during make command for libmad-0.15.1b (https://www.linuxquestions.org/questions/linux-software-2/getting-make-%2A%2A%2A-%5Ball%5D-error-2-during-make-command-for-libmad-0-15-1b-743580/)

DJockey 07-29-2009 12:31 AM

getting make: *** [all] Error 2 during make command for libmad-0.15.1b
 
make[2]: Entering directory `/home/DJ/Program Files/libmad-0.15.1b'
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_INTEL -DASO_ZEROCHECK -Wall -march=i486 -g -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -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
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_INTEL -DASO_ZEROCHECK -Wall -march=i486 -g -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c -fPIC -DPIC -o .libs/version.o
cc1: error: unrecognized command line option "-fforce-mem"
make[2]: *** [version.lo] Error 1
make[2]: Leaving directory `/home/DJ/Program Files/libmad-0.15.1b'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/DJ/Program Files/libmad-0.15.1b'
make: *** [all] Error 2

Here is the last half of the make command. Can anybody tell me what the issue is here?

Thank you

PS-Running Fedora 11

disturbed1 07-29-2009 12:20 PM

In configure, there is a line (around 19100) that states
Code:

optimize=$optimize -fforce-mem"
take it out.

DJockey 07-29-2009 05:11 PM

Thank you
 
Dude, that was awesome, that solved the problem. How the hell did you know that? You made it really easy. Thank you

disturbed1 07-29-2009 05:32 PM

Happened to me as well a while back :)


All times are GMT -5. The time now is 02:01 AM.