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. 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' /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 make[3]: *** [icecast] Error 1 make[3]: Leaving directory `/home/rtanner/c_scapes/icecast-2.2.0/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/rtanner/c_scapes/icecast-2.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/rtanner/c_scapes/icecast-2.2.0' make: *** [all] Error 2 Any ideas? Thanks. -- Rob Tanner UNIX Services Manager Linfield College, McMinnville OR -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1643 bytes Desc: not available Url : http://lists.xiph.org/pipermail/icecast/attachments/20050510/41cdead2/attachment.bin
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 statusnew 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.
> 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.We don't? I thought fserve used it? Or did I use stat directly? Mike