[icecast] Compiling Darkice

Akos Maroy darkeye at tyrell.hu
Mon Aug 26 13:57:39 UTC 2002

Matthew Mencel wrote:
> I'm compiling Darkice on a FreeBSD 4.6.2 box.
> Everything works up to this point after I type "make"...then I get this error.  Any ideas?
> Thanks,
> Matt
> teststream# make
> make  all-recursive
> Making all in src
> source='TcpSocket.cpp' object='TcpSocket.o' libtool=no  depfile='.deps/TcpSocket.Po' tmpdepfile='.deps/TcpSocket.TPo'  depmode=gcc /bin/sh ../depcomp  g++ -DHAVE_CONFIG_H -I. -I. -I..      -O2 -pedantic -Wall -c -o TcpSocket.o `test -f 'TcpSocket.cpp' || echo './'`TcpSocket.cpp
> TcpSocket.cpp: In method `unsigned int TcpSocket::write(const void *, unsigned int)':
> TcpSocket.cpp:316: `MSG_NOSIGNAL' undeclared (first use this function)
> TcpSocket.cpp:316: (Each undeclared identifier is reported only once
> TcpSocket.cpp:316: for each function it appears in.)
> TcpSocket.cpp:309: warning: `int ret' might be used uninitialized in this function
> *** Error code 1

can you see if the configure script finds the following include files:


also, can you take a look at the man page for the send() function, e.g.:

man 2 send

and what include files it says to include for using send()?

The problem is that for some reason the include file is not included 
which is defining constant MSG_NOSIGNAL, which is related to the send() 
function. Unfortunately I don't have a FreeBSD box myself, I can't test 
this porting issue :(


--- >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-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 mailing list