[Icecast] Problem compiling Icecast on RedHat
Karl Heyes
karl at xiph.org
Tue May 10 21:30:07 UTC 2005
On Tue, 2005-05-10 at 21:56, Rob Tanner wrote:
> <flushleft>Hi,
>
>
> I'm trying to build Icecast on a RedHat AS3 workstation. All the requisite libraries are already bundled with the distro. IThe compile runs for maybe 30 seconds (maybe less) and then fails. The last few lines of the make output are appended below. I'm not even sure what it's actually complaing about.
if the compile/link fails then I'm surprised you managed to get anything
to run.
> <fontfamily><param>Courier New</param>gcc -pthread -g -O2 -o icecast cfgfile.o main.o logging.o sighandler.o connection.o global.o util.o slave.o source.o stats.o refbuf.o client.o format.o format_ogg.o format_mp3.o xslt.o fserve.o event.o admin.o auth.o md5.o format_vorbis.o yp.o -L/usr/local/lib net/.libs/libicenet.a thread/.libs/libicethread.a httpp/.libs/libicehttpp.a log/.libs/libicelog.a avl/.libs/libiceavl.a timing/.libs/libicetiming.a -lcurl -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lvorbis -L/usr/lib /usr/lib/libxslt.so /usr/lib/libxml2.so -lz -lpthread -lm
>
> /usr/local/lib/libkrb5.so: the use of `mktemp' is dangerous, better use `mkstemp'
this is a kerberous issue, just a warning though
> /usr/bin/ld: icecast: hidden symbol `fstat' in /usr/lib/libc_nonshared.a(fstat.oS) is referenced by DSO
>
> collect2: ld returned 1 exit status
new one on me, we don't use fstat directly, but some shared lib (DSO) is
referring to it and that is why this is showing up. I suspect one of
the dependant libs has been built on another system
(linker/compiler/libc etc) where the fstat symbol was handled
differently.
karl.
More information about the Icecast
mailing list