[OpenIndiana-discuss] Building VLC dependancy libs

russell stream at willows7.myzen.co.uk
Sat Feb 28 16:37:55 UTC 2015


Hi,

I have been building all the dependancy libs for VLC, so far I have 
built 19 libs and reached a problem with libmad see below

/home/downloads/gnu/vlc/libs/libmad-0.15.1b$ CC=gcc 
LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu --enable-shared=yes 
--disable-static

/home/downloads/gnu/vlc/libs/libmad-0.15.1b$ gmake
(sed -e '1s|.*|/*|' -e '1b' -e '$s|.*| */|' -e '$b'  \
	-e 's/^.*/ *&/' ./COPYRIGHT; echo;  \
echo "# ifdef __cplusplus";  \
echo 'extern "C" {';  \
echo "# endif"; echo;  \
if [ ".-DFPM_INTEL" != "." ]; then  \
	echo ".-DFPM_INTEL" | sed -e 's|^\.-D|# define |'; echo;  \
fi;  \
sed -ne 's/^# *define  *\(HAVE_.*_ASM\).*/# define \1/p'  \
	config.h; echo;  \
sed -ne 's/^# *define  *OPT_\(SPEED\|ACCURACY\).*/# define OPT_\1/p'  \
	config.h; echo;  \
sed -ne 's/^# *define  *\(SIZEOF_.*\)/# define \1/p'  \
	config.h; echo;  \
for header in version.h fixed.h bit.h timer.h stream.h frame.h synth.h 
decoder.h; do  \
	echo;  \
	sed -n -f ./mad.h.sed ./$header;  \
done; echo;  \
echo "# ifdef __cplusplus";  \
echo '}';  \
echo "# endif") >mad.h
gmake  all-recursive
gmake[1]: Entering directory `/home/downloads/gnu/vlc/libs/libmad-0.15.1b'
gmake[2]: Entering directory `/home/downloads/gnu/vlc/libs/libmad-0.15.1b'
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. 
-DFPM_INTEL -DASO_ZEROCHECK    -Wall -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 -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
gcc: error: unrecognized command line option '-fforce-mem'
gmake[2]: *** [version.lo] Error 1
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/libs/libmad-0.15.1b'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/downloads/gnu/vlc/libs/libmad-0.15.1b'
gmake: *** [all] Error 2
russell at ts:/home/downloads/gnu/vlc/libs/libmad-0.15.1b$

I also have a problem with libmatroska-1.4.2 in that it can not find the 
libebml library I have already built it appears to perform a pkg check 
instead of a library check. Any sugestions to get round this welcome

TIA




More information about the openindiana-discuss mailing list