[icecast] ice2 CVS build problems under Solaris 7

Ethan Butterfield primus at veris.org
Fri Jan 25 03:58:30 UTC 2002



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Build environment: Solaris 7, JKP 106541-18
                   gcc 2.95.3
                   Current (as of a couple hours ago) CVS ice2

After a long bit of downtime, I'm throwing myself back into icecast with a 
fervor. I'm attempting to build ice2 on my Solaris box, and everything 
goes fine (well, went fine once I got libxml...) until the Makefile gets 
to the icecast binary itself. Then this happens:

make[2]: Entering directory `/opt/home/icecast/ice2/src'
/bin/sh ../libtool --mode=link gcc  -O20 -ffast-math -fsigned-char -mv8  
- -o icecast  config.o main.o logging.o sighandler.o net/libicenet.a 
thread/libicethread.a httpp/libicehttpp.a           log/libicelog.a 
avl/libiceavl.a -lxml -lpthread
gcc -O20 -ffast-math -fsigned-char -mv8 -o icecast config.o main.o 
logging.o sighandler.o  net/libicenet.a thread/libicethread.a 
httpp/libicehttpp.a log/libicelog.a avl/libiceavl.a /opt/lib/libxml.so 
- -L/opt/lib/lib -lz -lz -lsocket -lnsl -lpthread -Wl,--rpath -Wl,/opt/lib 
- -Wl,--rpath -Wl,/opt/lib
net/libicenet.a(sock.o): In function `sock_connect_wto':
sock.o(.text+0x2f0): undefined reference to `inet_aton'
net/libicenet.a(sock.o): In function `sock_get_server_socket':
sock.o(.text+0x730): undefined reference to `inet_aton'
net/libicenet.a(resolver.o): In function `resolver_getname':
resolver.o(.text+0x70): undefined reference to `inet_aton'
net/libicenet.a(resolver.o): In function `resolver_getip':
resolver.o(.text+0xbc): undefined reference to `inet_aton'
net/libicenet.a(resolver.o): In function `_lookup':
resolver.o(.text+0x138): undefined reference to `inet_aton'
collect2: ld returned 1 exit status
make[2]: *** [icecast] Error 1
make[2]: Leaving directory `/opt/home/icecast/ice2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/home/icecast/ice2/src'
make: *** [all-recursive] Error 1

It looks like I need an -lresolv in the gcc statement, but for the life of 
me I can't figure out which Makefile to put it in. *None* of the various 
Makefiles call -lz -lz -lsocket -lnsl -lpthread, at least none that I can 
find.

Ideas? :)

- -- 

 "I'm alive, and filled with goo! VISION GOO!"
     - Zim, "Invader Zim"
-----BEGIN PGP SIGNATURE-----
Comment: For info see http://www.gnupg.org

iD8DBQE8UNfLAmwSMwnpLHgRAqbxAJ9D4s/M7rQRfEHG2/ss0VUfV+GgewCgxjv4
ilDOEmN7X9ZLRnUy5kML90M=
=w2U1
-----END PGP SIGNATURE-----

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