[icecast] solaris 2.7 libshout error

Denenberg, Adam ADenenberg at about-inc.com
Mon Jan 6 16:16:29 UTC 2003



thanks Karl,

 that got me almost there.  I think i am still missing one other library
apparently.  ANy ideas ?

#gcc -lshout -lsocket -lnsl -o test example.c

Undefined                       first referenced
 symbol                             in file
inet_pton
/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

thanks
Adam 

-----Original Message-----
From: Karl Heyes [mailto:karl at pts.tele2.co.uk]
Sent: Monday, January 06, 2003 10:56 AM
To: icecast at xiph.org
Subject: Re: [icecast] solaris 2.7 libshout error

<p>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 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.
--- >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