On Mon, 2003-01-06 at 14:57, Denenberg, Adam wrote:> Has anyone seen this issue before on solaris 2.7. I keep getting this error
> for libshout when trying to compile the example.
>
> root#[/usr/local/src/libshout-1.0.9/example]#gcc -lshout -o test example.c
>
> Undefined first referenced
> symbol in file
> socket
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2/../../../libshout.so
> recv
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2/../../../libshout.so
> send
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2/../../../libshout.so
> getsockopt
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2/../../../libshout.so
> inet_pton
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2/../../../libshout.so
> connect
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2/../../../libshout.so
> ld: fatal: Symbol referencing errors. No output written to test
> collect2: ld returned 1 exit status
you're missing -lsocket -lnsl
karl.
<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-request@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.