[Icecast] Trouble compiling trunk snapshot

Geoff Shang Geoff at QuiteLikely.com
Wed Feb 27 17:07:25 UTC 2008


Hi,

We're having some problems with streamed metadata and I thought I'd see if 
upgrading Icecast would fix it.  This box is running rather old software 
including Icecast 2.2.0 and I wasn't planning on upgrading it, but I think 
this is a good reason to try.  I also have it built in a non-standard place 
so this may be a build issue.

due to older versions of automake etc, I got the snapshot form 
xiph.org/~brendan

I am getting the following error:

Making all in net
make[3]: Entering directory `/home/acbradio/src/icecast-trunk/src/net'
source='sock.c' object='libicenet_la-sock.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../.. -I./..   -pthread -g -O2 -c -o libicenet_la-sock.lo `test -f 
'sock.c' || echo
'./'`sock.c
  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -pthread -g -O2 -c sock.c 
-Wp,-MD,.deps/libicenet_la-sock.TPlo  -fPIC -DPIC -o 
.libs/libicenet_la-sock.o
sock.c: In function `sock_get_server_socket':
sock.c:702: `IPV6_V6ONLY' undeclared (first use in this function)
sock.c:702: (Each undeclared identifier is reported only once
sock.c:702: for each function it appears in.)
make[3]: *** [libicenet_la-sock.lo] Error 1
make[3]: Leaving directory `/home/acbradio/src/icecast-trunk/src/net'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/acbradio/src/icecast-trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/acbradio/src/icecast-trunk'
make: *** [all] Error 2

Part of the problem is the fact that we're running a real old kernel and 
may be missing a required header.

Any suggestions as to what to do about this?  Can I simply comment out 
something to make it compile in this old environment?

Geoff.



More information about the Icecast mailing list