[icecast] compiling ices on solaris 9 / sparc
Karl Heyes
karl at pts.tele2.co.uk
Tue Nov 26 17:19:49 UTC 2002
On 2002.11.26 15:58 Edward Cook wrote:
> Hello,
>
> I am also trying to get ices working on Solaris.
>
> thanks in advance
>
> ED
>
>
> 4-solaris-64int/CORE -lperl -ldl -lc -L/usr/lib -lxml2 -lz -lsocket -lnsl
> -lm
> -R/usr/local/lib -R/usr/local/lib
> -R/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE
>
> -R/usr/lib
> Undefined first referenced
> symbol in file
> inet_aton ../libshout/.libs/libices.al(sock.lo)
> ld: fatal: Symbol referencing errors. No output written to ices
> collect2: ld returned 1 exit status
> make[3]: *** [ices] Error 1
> make[3]: Leaving directory `/export/home/ecook/ices-0.2.3/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/export/home/ecook/ices-0.2.3/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export/home/ecook/ices-0.2.3'
> make: *** [all-recursive-am] Error 2
You need a #define for solaris for this. in
ices-0.2.3/libshout/sock.h
try adding the following lines
#ifdef __solaris
#define inet_aton(a,b) inet_pton(AF_INET, (a), (b))
#endif
Check that __solaris is correct it might be __solaris__ for instance
A configure check should be done for this but it should be sufficient
for you.
karl.
--- >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