[icecast-dev] Trouble compiling ices

lists at returntonature.com lists at returntonature.com
Fri Feb 22 21:51:28 PST 2002



Any help would be appreciated, not sure why this isn't compiling:

Redhat 7.2

[root at jasmine ices-0.2.2]# ./configure --with-lame
loading cache ./config.cache
Building ices 0.2.2...
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) 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/bin/ld) is GNU ld... yes
checking whether the linker (/usr/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/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 for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for uname... (cached) uname
checking for gmake... (cached) gmake
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking host system type... i686-pc-linux-gnu
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking for strerror in -lcposix... (cached) no
checking for minix/config.h... (cached) no
checking for working const... (cached) yes
checking for library containing gethostbyname... (cached) none required
checking for library containing nanosleep... (cached) none required
checking for pthread_create... (cached) no
checking for pthread_create in -lpthread... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for errno.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for signal.h... (cached) yes
checking for sys/signal.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for ANSI C header files... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for strftime... (cached) yes
checking for vsnprintf... (cached) yes
checking for setsid... (cached) yes
checking for inet_addr... (cached) yes
checking for inet_aton... (cached) yes
checking for setlinebuf... (cached) yes
checking for shout/shout.h... (cached) yes
checking for shout_init_connection in -lshout... (cached) yes
checking for lame/lame.h... yes
checking for lame_init_old in -lmp3lame... yes
checking for lame_encode_flush_nogap in -lmp3lame... yes
updating cache ./config.cache
checking for vorbis/vorbisfile.h... no
Could not find libvorbisfile, vorbis support disabled
updating cache ./config.cache
checking for perl_construct... yes
updating cache ./config.cache
checking for Python.h... no
Could not find the python library, python scripting disabled
checking for xml2-config... no
checking for xml-config... xml-config
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/playlist/Makefile
creating conf/Makefile
creating conf/ices.conf.dist
creating doc/Makefile
creating doc/ices.1
creating resolver/Makefile
creating thread/Makefile
creating avl/Makefile
creating log/Makefile
creating config.h
Compiling with CPPFLAGS=   -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml
Linking with LDFLAGS=  -lpthread -lshout -lmp3lame -rdynamic
-L/usr/local/lib
/usr/lib/perl5/5.6.0/i386-linux/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.6.0/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt
-L/usr/lib -lxml -lz -lm
Features:
  libshout: system
  LAME    : yes
  Vorbis  : no
  Perl    : yes
  Python  : no
  XML     : yes
Configuration complete. Now run 'gmake'.
You can then run 'gmake install' to install ices

[root at jasmine ices-0.2.2]# make
make  all-recursive
make[1]: Entering directory `/tmp/mp3/ices-0.2.2'
Making all in resolver
make[2]: Entering directory `/tmp/mp3/ices-0.2.2/resolver'
gcc -DHAVE_CONFIG_H -I. -I. -I..   -fno-strict-aliasing -I/usr/local/include
 -I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c resolver.c
rm -f libresolver.a
ar cru libresolver.a resolver.o
ranlib libresolver.a
make[2]: Leaving directory `/tmp/mp3/ices-0.2.2/resolver'
Making all in avl
make[2]: Entering directory `/tmp/mp3/ices-0.2.2/avl'
gcc -DHAVE_CONFIG_H -I. -I. -I..   -fno-strict-aliasing -I/usr/local/include
 -I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c avl.c
rm -f libiceavl.a
ar cru libiceavl.a avl.o
ranlib libiceavl.a
make[2]: Leaving directory `/tmp/mp3/ices-0.2.2/avl'
Making all in log
make[2]: Entering directory `/tmp/mp3/ices-0.2.2/log'
gcc -DHAVE_CONFIG_H -I. -I. -I..   -fno-strict-aliasing -I/usr/local/include
 -I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c log.c
rm -f libicelog.a
ar cru libicelog.a log.o
ranlib libicelog.a
make[2]: Leaving directory `/tmp/mp3/ices-0.2.2/log'
Making all in thread
make[2]: Entering directory `/tmp/mp3/ices-0.2.2/thread'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../avl -I../log  -fno-strict-aliasing
-I/usr/local/include  -I/usr/lib/perl5/5.6.0/i386-linux/CORE
-I/usr/include/gnome-xml  -g -O2 -Wall -c thread.c
thread.c:70: warning: `_next_mutex_id' defined but not used
rm -f libicethread.a
ar cru libicethread.a thread.o
ranlib libicethread.a
make[2]: Leaving directory `/tmp/mp3/ices-0.2.2/thread'
Making all in src
make[2]: Entering directory `/tmp/mp3/ices-0.2.2/src'
Making all in playlist
make[3]: Entering directory `/tmp/mp3/ices-0.2.2/src/playlist'
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"         -I../../src
-fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c playlist.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"         -I../../src
-fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c pm_builtin.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"         -I../../src
-fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c rand.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"         -I../../src
-fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c pm_perl.c
pm_perl.c: In function `pl_perl_eval':
pm_perl.c:206: warning: unused variable `Perl___notused'
rm -f libplaylist.a
ar cru libplaylist.a playlist.o pm_builtin.o rand.o pm_perl.o
ranlib libplaylist.a
make[3]: Leaving directory `/tmp/mp3/ices-0.2.2/src/playlist'
make[3]: Entering directory `/tmp/mp3/ices-0.2.2/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DICES_ETCDIR=\"/usr/local/icecast/etc\"
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"   -I../resolver
-I../thread   -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c ices.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DICES_ETCDIR=\"/usr/local/icecast/etc\"
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"   -I../resolver
-I../thread   -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c log.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DICES_ETCDIR=\"/usr/local/icecast/etc\"
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"   -I../resolver
-I../thread   -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c setup.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DICES_ETCDIR=\"/usr/local/icecast/etc\"
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"   -I../resolver
-I../thread   -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c stream.c
stream.c: In function `stream_send_data':
stream.c:345: warning: implicit declaration of function `shout_strerror'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DICES_ETCDIR=\"/usr/local/icecast/etc\"
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"   -I../resolver
-I../thread   -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c util.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DICES_ETCDIR=\"/usr/local/icecast/etc\"
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"   -I../resolver
-I../thread   -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c mp3.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DICES_ETCDIR=\"/usr/local/icecast/etc\"
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"   -I../resolver
-I../thread   -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c cue.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DICES_ETCDIR=\"/usr/local/icecast/etc\"
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"   -I../resolver
-I../thread   -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c metadata.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DICES_ETCDIR=\"/usr/local/icecast/etc\"
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"   -I../resolver
-I../thread   -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c id3.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DICES_ETCDIR=\"/usr/local/icecast/etc\"
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"   -I../resolver
-I../thread   -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c signals.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DICES_ETCDIR=\"/usr/local/icecast/etc\"
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"   -I../resolver
-I../thread   -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c reencode.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DICES_ETCDIR=\"/usr/local/icecast/etc\"
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"   -I../resolver
-I../thread   -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  -I/usr/include/gnome-xml  -g -O2
-Wall -c ices_config.c
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall  -o ices  ices.o log.o
setup.o stream.o util.o mp3.o cue.o metadata.o id3.o signals.o reencode.o
ices_config.o playlist/libplaylist.a      ../resolver/libresolver.a
../thread/libicethread.a      ../avl/libiceavl.a ../log/libicelog.a
-lpthread -lshout -lmp3lame -rdynamic  -L/usr/local/lib
/usr/lib/perl5/5.6.0/i386-linux/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.6.0/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt
-L/usr/lib -lxml -lz -lm
mkdir .libs
gcc -g -O2 -Wall -o ices ices.o log.o setup.o stream.o util.o mp3.o cue.o
metadata.o id3.o signals.o reencode.o ices_config.o playlist/libplaylist.a
../resolver/libresolver.a ../thread/libicethread.a ../avl/libiceavl.a
../log/libicelog.a -lpthread -lshout -lmp3lame -rdynamic -L/usr/local/lib
/usr/lib/perl5/5.6.0/i386-linux/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.6.0/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt
-L/usr/lib -lxml -lz -lm
stream.o: In function `stream_send_data':
/tmp/mp3/ices-0.2.2/src/stream.c:344: undefined reference to `shout_strerror'
stream.o: In function `stream_connect':
/tmp/mp3/ices-0.2.2/src/stream.c:368: undefined reference to `shout_strerror'
collect2: ld returned 1 exit status
make[3]: *** [ices] Error 1
make[3]: Leaving directory `/tmp/mp3/ices-0.2.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/mp3/ices-0.2.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/mp3/ices-0.2.2'
make: *** [all-recursive-am] Error 2

<p>[root at jasmine ices-0.2.2]# rpm -qa | grep lame
lame-libs-devel-3.91-3
lame-3.91-3
lame-libs-3.91-3

<p>Louis

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast-dev mailing list