[Flac-dev] error during compile

Jan Suhr jan.suhr at usa.net
Wed Mar 7 05:09:47 PST 2001


hello!
Today I tried to compile the new FLAC 0.8 sourcecode on my SuSE Linux 
7.1 machine and failed.
Below is the output of "make" and "configure". I hope the information 
is enough that somebody can help me to compile the source.

Thanks a lot.

PS: A lot of thanks to all developers of FLAC. Its very useful to me!!

------------------------------------------------------
This is the "make" log.

root at alpha:/opt/flac-0.8 > make
Making all in src
make[1]: Entering directory `/opt/flac-0.8/src'
Making all in libFLAC
make[2]: Entering directory `/opt/flac-0.8/src/libFLAC'
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"flac\" 
-DVERSION=\"0.8\"  -I. -I.      -I./include -I ../../include -Wall -W 
-O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions 
-DNDEBUG -c bitbuffer.c
mkdir .libs
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/bitbuffer.pp -c 
bitbuffer.c  -fPIC -DPIC -o .libs/bitbuffer.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/bitbuffer.pp -c 
bitbuffer.c -o bitbuffer.o >/dev/null 2>&1 mv -f .libs/bitbuffer.lo 
bitbuffer.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"flac\" 
-DVERSION=\"0.8\"  -I. -I.      -I./include -I ../../include -Wall -W 
-O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions 
-DNDEBUG -c crc.c
rm -f .libs/crc.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/crc.pp -c crc.c  
-fPIC -DPIC -o .libs/crc.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/crc.pp -c crc.c 
-o crc.o >/dev/null 2>&1
mv -f .libs/crc.lo crc.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"flac\" 
-DVERSION=\"0.8\"  -I. -I.      -I./include -I ../../include -Wall -W 
-O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions 
-DNDEBUG -c encoder.c
rm -f .libs/encoder.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/encoder.pp -c 
encoder.c  -fPIC -DPIC -o .libs/encoder.lo
encoder.c: In function `encoder_process_frame_':
encoder.c:575: warning: passing arg 2 of `FLAC__MD5Accumulate' from 
incompatible pointer type
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/encoder.pp -c 
encoder.c -o encoder.o >/dev/null 2>&1
mv -f .libs/encoder.lo encoder.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"flac\" 
-DVERSION=\"0.8\"  -I. -I.      -I./include -I ../../include -Wall -W 
-O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions 
-DNDEBUG -c encoder_framing.c
rm -f .libs/encoder_framing.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG 
-Wp,-MD,.deps/encoder_framing.pp -c encoder_framing.c  -fPIC -DPIC -o 
.libs/encoder_framing.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG 
-Wp,-MD,.deps/encoder_framing.pp -c encoder_framing.c -o 
encoder_framing.o >/dev/null 2>&1
mv -f .libs/encoder_framing.lo encoder_framing.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"flac\" 
-DVERSION=\"0.8\"  -I. -I.      -I./include -I ../../include -Wall -W 
-O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions 
-DNDEBUG -c file_decoder.c
rm -f .libs/file_decoder.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/file_decoder.pp 
-c file_decoder.c  -fPIC -DPIC -o .libs/file_decoder.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/file_decoder.pp 
-c file_decoder.c -o file_decoder.o >/dev/null 2>&1
mv -f .libs/file_decoder.lo file_decoder.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"flac\" 
-DVERSION=\"0.8\"  -I. -I.      -I./include -I ../../include -Wall -W 
-O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions 
-DNDEBUG -c fixed.c
rm -f .libs/fixed.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/fixed.pp -c 
fixed.c  -fPIC -DPIC -o .libs/fixed.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/fixed.pp -c 
fixed.c -o fixed.o >/dev/null 2>&1
mv -f .libs/fixed.lo fixed.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"flac\" 
-DVERSION=\"0.8\"  -I. -I.      -I./include -I ../../include -Wall -W 
-O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions 
-DNDEBUG -c format.c
rm -f .libs/format.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/format.pp -c 
format.c  -fPIC -DPIC -o .libs/format.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/format.pp -c 
format.c -o format.o >/dev/null 2>&1
mv -f .libs/format.lo format.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"flac\" 
-DVERSION=\"0.8\"  -I. -I.      -I./include -I ../../include -Wall -W 
-O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions 
-DNDEBUG -c lpc.c
rm -f .libs/lpc.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/lpc.pp -c lpc.c  
-fPIC -DPIC -o .libs/lpc.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/lpc.pp -c lpc.c 
-o lpc.o >/dev/null 2>&1
mv -f .libs/lpc.lo lpc.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"flac\" 
-DVERSION=\"0.8\"  -I. -I.      -I./include -I ../../include -Wall -W 
-O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions 
-DNDEBUG -c md5.c
rm -f .libs/md5.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/md5.pp -c md5.c  
-fPIC -DPIC -o .libs/md5.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/md5.pp -c md5.c 
-o md5.o >/dev/null 2>&1
mv -f .libs/md5.lo md5.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"flac\" 
-DVERSION=\"0.8\"  -I. -I.      -I./include -I ../../include -Wall -W 
-O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions 
-DNDEBUG -c stream_decoder.c
rm -f .libs/stream_decoder.lo
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/stream_decoder.pp 
-c stream_decoder.c  -fPIC -DPIC -o .libs/stream_decoder.lo
stream_decoder.c: In function `stream_decoder_read_frame_':
stream_decoder.c:687: warning: passing arg 3 of pointer to function 
from incompatible pointer type
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\" -I. -I. -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -Wp,-MD,.deps/stream_decoder.pp 
-c stream_decoder.c -o stream_decoder.o >/dev/null 2>&1
mv -f .libs/stream_decoder.lo stream_decoder.lo
/bin/sh ../../libtool --mode=link gcc  -I./include -I ../../include 
-Wall -W -O3 -fomit-frame-pointer -funroll-loops -ffast-math 
-finline-functions -DNDEBUG  -o libFLAC.la -rpath /usr/local/lib  
bitbuffer.lo crc.lo encoder.lo encoder_framing.lo file_decoder.lo 
fixed.lo format.lo lpc.lo md5.lo stream_decoder.lo
rm -fr .libs/libFLAC.la .libs/libFLAC.* .libs/libFLAC.*
gcc -shared  bitbuffer.lo crc.lo encoder.lo encoder_framing.lo 
file_decoder.lo fixed.lo format.lo lpc.lo md5.lo stream_decoder.lo  -lc 
 -Wl,-soname -Wl,libFLAC.so.0 -o .libs/libFLAC.so.0.0.0
(cd .libs && rm -f libFLAC.so.0 && ln -s libFLAC.so.0.0.0 libFLAC.so.0)
(cd .libs && rm -f libFLAC.so && ln -s libFLAC.so.0.0.0 libFLAC.so)
ar cru .libs/libFLAC.a  bitbuffer.o crc.o encoder.o encoder_framing.o 
file_decoder.o fixed.o format.o lpc.o md5.o stream_decoder.o
ranlib .libs/libFLAC.a
creating libFLAC.la
(cd .libs && rm -f libFLAC.la && ln -s ../libFLAC.la libFLAC.la)
make[2]: Leaving directory `/opt/flac-0.8/src/libFLAC'
Making all in flac
make[2]: Entering directory `/opt/flac-0.8/src/flac'
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\"  -I. -I.      -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -c decode.c
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\"  -I. -I.      -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -c encode.c
encode.c: In function `encode_wav':
encode.c:274: warning: passing arg 2 of `FLAC__encoder_process' from 
incompatible pointer type
encode.c: In function `encode_raw':
encode.c:422: warning: passing arg 2 of `FLAC__encoder_process' from 
incompatible pointer type
gcc -DPACKAGE=\"flac\" -DVERSION=\"0.8\"  -I. -I.      -I./include -I 
../../include -Wall -W -O3 -fomit-frame-pointer -funroll-loops 
-ffast-math -finline-functions -DNDEBUG -c main.c
/bin/sh ../../libtool --mode=link gcc  -I./include -I ../../include 
-Wall -W -O3 -fomit-frame-pointer -funroll-loops -ffast-math 
-finline-functions -DNDEBUG  -o flac -lm decode.o encode.o main.o 
../../src/libFLAC/libFLAC.la
mkdir .libs
gcc -I./include -I ../../include -Wall -W -O3 -fomit-frame-pointer 
-funroll-loops -ffast-math -finline-functions -DNDEBUG -o .libs/flac 
-lm decode.o encode.o main.o ../../src/libFLAC/.libs/libFLAC.so 
-Wl,--rpath -Wl,/usr/local/lib
creating flac
make[2]: Leaving directory `/opt/flac-0.8/src/flac'
Making all in metaflac
make[2]: Entering directory `/opt/flac-0.8/src/metaflac'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/opt/flac-0.8/src/metaflac'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/flac-0.8/src'
make: *** [all-recursive] Error 1
root at alpha:/opt/flac-0.8 >

------------------------------------------------------
This is the "configure" log. It looks ok to me.

root at alpha:/opt/flac-0.8 > ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/i486-suse-linux/bin/ld
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i486-suse-linux/bin/ld) supports 
shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i486-suse-linux/bin/ld option to reload object 
files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking whether make sets ${MAKE}... (cached) yes
checking for xmms-config... no
checking for XMMS - version >= 0.9.5.1... no
*** The xmms-config script installed by XMMS could not be found.
*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XMMS_CONFIG environment variable to the
*** full path to xmms-config.
configure: warning: *** XMMS >= 0.9.5.1 not installed - xmms support 
will not be built
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/libFLAC/Makefile
creating src/flac/Makefile
creating src/plugin_xmms/Makefile
creating src/test_streams/Makefile
creating src/test_unit/Makefile
creating test/Makefile
root at alpha:/opt/flac-0.8 >




More information about the Flac-dev mailing list