[icecast-dev] libshout2 compiling problems under FreeBSD?
Jan-Erik Moon
jan at ca.pri.ee
Thu Jun 5 06:26:09 PDT 2003
----- Original Message -----
From: "Michael Smith" <msmith at xiph.org>
To: <icecast-dev at xiph.org>
Sent: Wednesday, June 04, 2003 3:47 PM
Subject: Re: [icecast-dev] libshout2 compiling problems under FreeBSD?
<p>> Whilst there may well be problems, there are no _known_ problems, and we
> certainly won't be able to fix them unless you actually tell us what the
> problems are.
Ok, here come the details:
System #1:
FreeBSD 5.1-BETA (updated from CURRENT branch on 9th of May)
libshout source is from nightly snapshots (libshout-2.0-20030605)
libvorbis and libogg are from FreeBSD package system (v. 1.0_1,3)
gmake version is 3.80
"./configure --with-ogg=/usr/local/ --with-vorbis=/usr/local/" outputs:
-----
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i386-unknown-freebsd5.1
checking host system type... i386-unknown-freebsd5.1
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static 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 whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd5.1 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for ANSI C header files... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for an ANSI C-conforming const... yes
checking for uint32_t... yes
checking for socklen_t... yes
checking for nanosleep... yes
checking for sethostent... yes
checking for endhostent... yes
checking for getnameinfo... yes
checking for getaddrinfo... yes
checking for inet_pton... yes
checking for inet_aton... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for pthread_rwlock_t... yes
checking for cc_r... gcc
test: yes: unexpected operator
checking for Ogg... yes
checking for Vorbis... yes
test: maybe: unexpected operator
checking whether pkgconfig should be used... maybe
configure: creating shout-config.in
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/shout/Makefile
config.status: creating src/Makefile
config.status: creating src/net/Makefile
config.status: creating src/timing/Makefile
config.status: creating src/thread/Makefile
config.status: creating src/avl/Makefile
config.status: creating src/httpp/Makefile
config.status: creating examples/Makefile
config.status: creating shout-config
config.status: creating shout.pc
config.status: creating config.h
config.status: executing depfiles commands
-----
gmake outputs:
-----
gmake all-recursive
gmake[1]: Entering directory `/usr/local/src/libshout-2.0'
Making all in include
gmake[2]: Entering directory `/usr/local/src/libshout-2.0/include'
Making all in shout
gmake[3]: Entering directory `/usr/local/src/libshout-2.0/include/shout'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/local/src/libshout-2.0/include/shout'
gmake[3]: Entering directory `/usr/local/src/libshout-2.0/include'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/usr/local/src/libshout-2.0/include'
gmake[2]: Leaving directory `/usr/local/src/libshout-2.0/include'
Making all in src
gmake[2]: Entering directory `/usr/local/src/libshout-2.0/src'
Making all in avl
gmake[3]: Entering directory `/usr/local/src/libshout-2.0/src/avl'
source='avl.c' object='libiceavl_la-avl.lo' libtool=yes \
depfile='.deps/libiceavl_la-avl.Plo'
tmpdepfile='.deps/libiceavl_la-avl.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char
-D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c -o libiceavl_la-avl.lo `test -f 'avl.c' || echo './'`avl.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -
D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c
avl.c -MT libiceavl_la-avl.lo -MD -MP -MF
.deps/libiceavl_la-avl.TPlo -fPIC -DPIC -o .libs/libiceavl_la-avl.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -
D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c
avl.c -MT libiceavl_la-avl.lo -MD -MP -MF .deps/libiceavl_la-avl.TPlo -o
libiceavl_la-avl.o >/dev/null 2>&1
mv -f .libs/libiceavl_la-avl.lo libiceavl_la-avl.lo
/bin/sh ../../libtool --mode=link gcc -g -O2 -o libiceavl.la
libiceavl_la-avl.lo
rm -fr .libs/libiceavl.la .libs/libiceavl.* .libs/libiceavl.*
ar cru .libs/libiceavl.al libiceavl_la-avl.lo
ranlib .libs/libiceavl.al
creating libiceavl.la
(cd .libs && rm -f libiceavl.la && ln -s ../libiceavl.la libiceavl.la)
gmake[3]: Leaving directory `/usr/local/src/libshout-2.0/src/avl'
Making all in net
gmake[3]: Entering directory `/usr/local/src/libshout-2.0/src/net'
source='sock.c' object='libicenet_la-sock.lo' libtool=yes \
depfile='.deps/libicenet_la-sock.Plo'
tmpdepfile='.deps/libicenet_la-sock.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char
-D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c -o libicenet_la-sock.lo `test -f 'sock.c' || echo './'`sock.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -
D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c
sock.c -MT libicenet_la-sock.lo -MD -MP -MF
deps/libicenet_la-sock.TPlo -fPIC -DPIC -o .libs/libicenet_la-sock.lo
In file included from sock.c:54:
sock.h:39: redefinition of `struct iovec'
sock.c: In function `sock_get_localip':
sock.c:95: warning: implicit declaration of function `gethostname'
sock.c: In function `sock_write':
sock.c:316: warning: implicit declaration of function `vsnprintf'
sock.c: In function `sock_connected':
sock.c:390: syntax error before "wfds"
sock.c:398: warning: implicit declaration of function `FD_ZERO'
sock.c:398: `wfds' undeclared (first use in this function)
sock.c:398: (Each undeclared identifier is reported only once
sock.c:398: for each function it appears in.)
sock.c:399: warning: implicit declaration of function `FD_SET'
sock.c:401: warning: implicit declaration of function `select'
sock.c: In function `sock_connect_non_blocking':
sock.c:422: warning: implicit declaration of function `snprintf'
sock.c: In function `sock_get_server_socket':
sock.c:627: warning: implicit declaration of function `inet_aton'
gmake[3]: *** [libicenet_la-sock.lo] Error 1
gmake[3]: Leaving directory `/usr/local/src/libshout-2.0/src/net'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/src/libshout-2.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/libshout-2.0'
gmake: *** [all] Error 2
-----
System #2:
FreeBSD 4.8-STABLE (updated from STABLE branch on 27th of May)
libshout source is from nightly snapshots (libshout-2.0-20030605)
libvorbis and libogg are from FreeBSD package system (v. 1.0_1,3)
using regular make
"./configure --with-ogg=/usr/local/ --with-vorbis=/usr/local/" outputs:
-----
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking build system type... i386-unknown-freebsd4.8
checking host system type... i386-unknown-freebsd4.8
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for /usr/libexec/elf/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static 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 whether the linker (/usr/libexec/elf/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd4.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for ANSI C header files... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for an ANSI C-conforming const... yes
checking for uint32_t... yes
checking for socklen_t... yes
checking for nanosleep... yes
checking for sethostent... yes
checking for endhostent... yes
checking for getnameinfo... yes
checking for getaddrinfo... yes
checking for inet_pton... yes
checking for inet_aton... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for pthread_rwlock_t... yes
checking for cc_r... gcc
test: yes: unexpected operator
checking for Ogg... yes
checking for Vorbis... yes
test: maybe: unexpected operator
checking whether pkgconfig should be used... maybe
configure: creating shout-config.in
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/shout/Makefile
config.status: creating src/Makefile
config.status: creating src/net/Makefile
config.status: creating src/timing/Makefile
config.status: creating src/thread/Makefile
config.status: creating src/avl/Makefile
config.status: creating src/httpp/Makefile
config.status: creating examples/Makefile
config.status: creating shout-config
config.status: creating shout.pc
config.status: creating config.h
config.status: executing depfiles commands
-----
make outputs:
-----
make all-recursive
Making all in include
Making all in shout
Making all in src
Making all in avl
source='avl.c' object='libiceavl_la-avl.lo' libtool=yes
depfile='.deps/libiceavl_la-avl.Plo'
tmpdepfile='.deps/libiceavl_la-avl.TPlo' depmode=gcc /bin/sh ../../depcomp
/bin/sh ../../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char
-D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c -o libiceavl_la-avl.lo `test -f 'avl.c' || echo './'`avl.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -
D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c
avl.c -Wp,-MD,.deps/libiceavl_la-avl.TPlo -fPIC -DPIC -o
.libs/libiceavl_la-avl.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -
D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c
avl.c -Wp,-MD,.deps/libiceavl_la-avl.TPlo -o libiceavl_la-avl.o >/dev/null
2>&1
mv -f .libs/libiceavl_la-avl.lo libiceavl_la-avl.lo
/bin/sh ../../libtool --mode=link gcc -g -O2 -o libiceavl.la
libiceavl_la-avl.lo
rm -fr .libs/libiceavl.la .libs/libiceavl.* .libs/libiceavl.*
ar cru .libs/libiceavl.al libiceavl_la-avl.lo
ranlib .libs/libiceavl.al
creating libiceavl.la
(cd .libs && rm -f libiceavl.la && ln -s ../libiceavl.la libiceavl.la)
Making all in net
source='sock.c' object='libicenet_la-sock.lo' libtool=yes
depfile='.deps/libicenet_la-sock.Plo'
tmpdepfile='.deps/libicenet_la-sock.TPlo' depmode=gcc /bin/sh ../../depcomp
/bin/sh ../../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char
-D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c -o libicenet_la-sock.lo `test -f 'sock.c' || echo './'`sock.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -
D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c
sock.c -Wp,-MD,.deps/libicenet_la-sock.TPlo -fPIC -DPIC -o
.libs/libicenet_la-sock.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -
D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c
sock.c -Wp,-MD,.deps/libicenet_la-sock.TPlo -o libicenet_la-sock.o
>/dev/null 2>&1
mv -f .libs/libicenet_la-sock.lo libicenet_la-sock.lo
source='resolver.c' object='libicenet_la-resolver.lo' libtool=yes
depfile='.deps/libicenet_la-resolver.Plo'
tmpdepfile='.deps/libicenet_la-resolver.TPlo' depmode=gcc /bin/sh
../../depcomp /bin/sh ../../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char
-D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c -o libicenet_la-resolver.lo `test -f 'resolver.c' || echo './'`resolver.c
rm -f .libs/libicenet_la-resolver.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -
D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c
resolver.c -Wp,-MD,.deps/libicenet_la-resolver.TPlo -fPIC -DPIC -o
.libs/libicenet_la-resolver.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -
D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c
resolver.c -Wp,-MD,.deps/libicenet_la-resolver.TPlo -o
libicenet_la-resolver.o >/dev/null 2>&1
mv -f .libs/libicenet_la-resolver.lo libicenet_la-resolver.lo
/bin/sh ../../libtool --mode=link gcc -g -O2 -o libicenet.la
libicenet_la-sock.lo libicenet_la-resolver.lo
rm -fr .libs/libicenet.la .libs/libicenet.* .libs/libicenet.*
ar cru .libs/libicenet.al libicenet_la-sock.lo libicenet_la-resolver.lo
ranlib .libs/libicenet.al
creating libicenet.la
(cd .libs && rm -f libicenet.la && ln -s ../libicenet.la libicenet.la)
Making all in timing
source='timing.c' object='libicetiming_la-timing.lo' libtool=yes
depfile='.deps/libicetiming_la-timing.Plo'
tmpdepfile='.deps/libicetiming_la-timing.TPlo' depmode=gcc /bin/sh
../../depcomp /bin/sh ../../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -ffast-math -fsigned-char -D_TH
READ_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c -o
libicetiming_la-timing.lo `test -f 'timing.c' || echo './'`timing.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -ffast-math -fsigned-char -D_THREA
D_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c
timing.c -Wp,-MD,.deps/libicetiming_la-timing.TPlo -fPIC -DPIC -o
.libs/libicetiming_la-timing.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -ffast-math -fsigned-char -D_THREA
D_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c
timing.c -Wp,-MD,.deps/libicetiming_la-timing.TPlo -o
libicetiming_la-timing.o >/dev/null 2>&1
mv -f .libs/libicetiming_la-timing.lo libicetiming_la-timing.lo
/bin/sh ../../libtool --mode=link gcc -g -O2 -o libicetiming.la
libicetiming_la-timing.lo
rm -fr .libs/libicetiming.la .libs/libicetiming.* .libs/libicetiming.*
ar cru .libs/libicetiming.al libicetiming_la-timing.lo
ranlib .libs/libicetiming.al
creating libicetiming.la
(cd .libs && rm -f libicetiming.la && ln -s ../libicetiming.la
libicetiming.la)
Making all in httpp
source='httpp.c' object='libicehttpp_la-httpp.lo' libtool=yes
depfile='.deps/libicehttpp_la-httpp.Plo'
tmpdepfile='.deps/libicehttpp_la-httpp.TPlo' depmode=gcc /bin/sh
../../depcomp /bin/sh ../../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char
-D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c -o libicehttpp_la-httpp.lo `test -f 'httpp.c' || echo './'`httpp.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -
D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c
httpp.c -Wp,-MD,.deps/libicehttpp_la-httpp.TPlo -fPIC -DPIC -o
.libs/libicehttpp_la-httpp.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -
D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2 -c
httpp.c -Wp,-MD,.deps/libicehttpp_la-httpp.TPlo -o libicehttpp_la-httpp.o
>/dev/null 2>&1
mv -f .libs/libicehttpp_la-httpp.lo libicehttpp_la-httpp.lo
/bin/sh ../../libtool --mode=link gcc -g -O2 -o libicehttpp.la
libicehttpp_la-httpp.lo
rm -fr .libs/libicehttpp.la .libs/libicehttpp.* .libs/libicehttpp.*
ar cru .libs/libicehttpp.al libicehttpp_la-httpp.lo
ranlib .libs/libicehttpp.al
creating libicehttpp.la
(cd .libs && rm -f libicehttpp.la && ln -s ../libicehttpp.la libicehttpp.la)
source='shout.c' object='shout.lo' libtool=yes depfile='.deps/shout.Plo'
tmpdepfile='.deps/shout.TPlo' depmode=gcc /bin/sh ../depcomp /bin/sh
../libtool --mode=compile
c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -ffast-math -fsigned-ch
ar -D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O
2 -c -o shout.lo `test -f 'shout.c' || echo './'`shout.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -ffast-math -fsigned-cha
r -D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c shout.c -Wp,-MD,.deps/shout.TPlo -fPIC -DPIC -o .libs/shout.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -ffast-math -fsigned-cha
r -D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c shout.c -Wp,-MD,.deps/shout.TPlo -o shout.o >/dev/null 2>&1
mv -f .libs/shout.lo shout.lo
source='util.c' object='util.lo' libtool=yes depfile='.deps/util.Plo'
tmpdepfile='.deps/util.TPlo' depmode=gcc /bin/sh ../depcomp /bin/sh
../libtool --mode=compile
c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -ffast-math -fsigned-ch
ar -D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O
2 -c -o util.lo `test -f 'util.c' || echo './'`util.c
rm -f .libs/util.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -ffast-math -fsigned-cha
r -D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c util.c -Wp,-MD,.deps/util.TPlo -fPIC -DPIC -o .libs/util.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -ffast-math -fsigned-cha
r -D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c util.c -Wp,-MD,.deps/util.TPlo -o util.o >/dev/null 2>&1
mv -f .libs/util.lo util.lo
source='vorbis.c' object='vorbis.lo' libtool=yes depfile='.deps/vorbis.Plo'
tmpdepfile='.deps/vorbis.TPlo' depmode=gcc /bin/sh ../depcomp /bin/sh
../libtool --mode=compile
c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -ffast-math -fsigned-ch
ar -D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O
2 -c -o vorbis.lo `test -f 'vorbis.c' || echo './'`vorbis.c
rm -f .libs/vorbis.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -ffast-math -fsigned-cha
r -D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c vorbis.c -Wp,-MD,.deps/vorbis.TPlo -fPIC -DPIC -o .libs/vorbis.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -ffast-math -fsigned-cha
r -D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c vorbis.c -Wp,-MD,.deps/vorbis.TPlo -o vorbis.o >/dev/null 2>&1
mv -f .libs/vorbis.lo vorbis.lo
source='mp3.c' object='mp3.lo' libtool=yes depfile='.deps/mp3.Plo'
tmpdepfile='.deps/mp3.TPlo' depmode=gcc /bin/sh ../depcomp /bin/sh
../libtool --mode=compile
c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -ffast-math -fsigned-ch
ar -D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O
2 -c -o mp3.lo `test -f 'mp3.c' || echo './'`mp3.c
rm -f .libs/mp3.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -ffast-math -fsigned-cha
r -D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c mp3.c -Wp,-MD,.deps/mp3.TPlo -fPIC -DPIC -o .libs/mp3.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -ffast-math -fsigned-cha
r -D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g -O2
-c mp3.c -Wp,-MD,.deps/mp3.TPlo -o mp3.o >/dev/null 2>&1
mv -f .libs/mp3.lo mp3.lo
/bin/sh ../libtool --mode=link
gcc -Wall -ffast-math -fsigned-char -D_THREAD_SAFE -pthread -I/usr/local//in
clude -I/usr/local//include -g -O2 -o libshout.la -rpath
/usr/local/lib -version-info 3:0:0 shout.lo util.lo vorbis.lo mp3.lo
net/libicenet.la timing/libicetiming.la avl/libiceavl.la
httpp/libicehttpp.la -L/usr/local//lib -lvorbis -lm -L/usr/local//lib -logg
rm -fr .libs/libshout.la .libs/libshout.* .libs/libshout.*
gcc -shared shout.lo util.lo vorbis.lo mp3.lo -Wl,--whole-archive
net/.libs/libicenet.al timing/.libs/libicetiming.al avl/.libs/libiceavl.al
httpp/.libs/libicehttpp.al -Wl,--no-whole-archive -L/usr/local//lib -lvorbi
s -lm -logg -Wl,-soname -Wl,libshout.so.3 -o .libs/libshout.so.3
(cd .libs && rm -f libshout.so && ln -s libshout.so.3 libshout.so)
(cd .libs && rm -f libshout.so && ln -s libshout.so.3 libshout.so)
rm -fr .libs/libshout.lax
mkdir .libs/libshout.lax
rm -fr .libs/libshout.lax/libicenet.al
mkdir .libs/libshout.lax/libicenet.al
(cd .libs/libshout.lax/libicenet.al && ar x
/usr/local/src/libshout-2.0/src/net/.libs/libicenet.al)
rm -fr .libs/libshout.lax/libicetiming.al
mkdir .libs/libshout.lax/libicetiming.al
(cd .libs/libshout.lax/libicetiming.al && ar x
/usr/local/src/libshout-2.0/src/timing/.libs/libicetiming.al)
rm -fr .libs/libshout.lax/libiceavl.al
mkdir .libs/libshout.lax/libiceavl.al
(cd .libs/libshout.lax/libiceavl.al && ar x
/usr/local/src/libshout-2.0/src/avl/.libs/libiceavl.al)
rm -fr .libs/libshout.lax/libicehttpp.al
mkdir .libs/libshout.lax/libicehttpp.al
(cd .libs/libshout.lax/libicehttpp.al && ar x
/usr/local/src/libshout-2.0/src/httpp/.libs/libicehttpp.al)
ar cru .libs/libshout.a shout.o util.o vorbis.o mp3.o
.libs/libshout.lax/libicenet.al/libicenet_la-sock.lo
.libs/libshout.lax/libicenet.al/libicenet_la-resolver.lo
.libs/libshout.lax/libicetiming.al/libicetiming_la-timing.lo
.libs/libshout.lax/libiceavl.al/libiceavl_la-avl.lo
.libs/libshout.lax/libicehttpp.al/libicehttpp_la-httpp.lo
ranlib .libs/libshout.a
rm -fr .libs/libshout.lax
creating libshout.la
(cd .libs && rm -f libshout.la && ln -s ../libshout.la libshout.la)
Making all in examples
source='example.c' object='example.o' libtool=no depfile='.deps/example.Po'
tmpdepfile='.deps/example.TPo' depmode=gcc /bin/sh ../depcomp
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -ffast-math -fsigned-
char -D_THREAD_SAFE -pthread -I/usr/local//include -I/usr/local//include -g
-O2 -c `test -f 'example.c' || echo './'`example.c
/bin/sh ../libtool --mode=link
gcc -Wall -ffast-math -fsigned-char -D_THREAD_SAFE -pthread -I/usr/local//in
clude -I/usr/local//include -g -O2 -o example example.o
../src/libshout.la -L/usr/local//lib -logg -L/usr/local//lib -lvorbis -lm
mkdir .libs
gcc -Wall -ffast-math -fsigned-char -D_THREAD_SAFE -pthread -I/usr/local//in
clude -I/usr/local//include -g -O2 -o .libs/example example.o
../src/.libs/libshout.so -L/usr/local//lib -logg -lvorbis -lm -Wl,--rpath -W
l,/usr/local/lib
../src/.libs/libshout.so: undefined reference to `thread_mutex_create_c'
../src/.libs/libshout.so: undefined reference to `thread_rwlock_destroy'
../src/.libs/libshout.so: undefined reference to `thread_mutex_destroy'
../src/.libs/libshout.so: undefined reference to `thread_rwlock_wlock_c'
../src/.libs/libshout.so: undefined reference to `thread_rwlock_unlock_c'
../src/.libs/libshout.so: undefined reference to `thread_rwlock_rlock_c'
../src/.libs/libshout.so: undefined reference to `thread_rwlock_create_c'
*** Error code 1
Stop in /usr/local/src/libshout-2.0/examples.
*** Error code 1
Stop in /usr/local/src/libshout-2.0.
*** Error code 1
Stop in /usr/local/src/libshout-2.0.
-----
Now I noticed that the problems on system #2 were different from those I saw
on system #1. After I commented out the problematic lines (just for testing)
on system #1 I got the same errors at the end as on system #2. I will try to
update the system #1 (5.1-BETA) and see if the first problems go away.
Jan
--- >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