On Mon, 22 Oct 2001 00:07:39 -0600 Jack Moffitt <jack@xiph.org> wrote:> It needs pthreads. FreeBSD provides this in the reentrant c library. > > For FreeBSD, you should remove -lpthread from LIBS and add -pthread to > CFLAGS. I believe this should be the only change required. > > I will fix FreeBSD building in the next few days (or at least this is my > intention) as well as Win32 building. > > Once this is done, I'm planning an alpha1 release of icecast 2.0 to give > people something to concretely test, etc. > > jack.That worked, but I do get a few linking warnings. Are these serious? /usr/lib/libc.so.4: WARNING! setkey(3) not present in the system! /usr/lib/libc.so.4: warning: this program uses gets(), which is unsafe. /usr/lib/libc.so.4: warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so.4: WARNING! des_setkey(3) not present in the system! /usr/lib/libc.so.4: WARNING! encrypt(3) not present in the system! /usr/lib/libc.so.4: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so.4: warning: this program uses f_prealloc(), which is stupid. /usr/lib/libc.so.4: WARNING! des_cipher(3) not present in the system! /usr/lib/libc.so.4: warning: tempnam() possibly used unsafely; consider using mkstemp() Mike -- <mystica@darktech.org> --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> That worked, but I do get a few linking warnings. Are these serious? > > /usr/lib/libc.so.4: WARNING! setkey(3) not present in the system! > /usr/lib/libc.so.4: warning: this program uses gets(), which is unsafe. > /usr/lib/libc.so.4: warning: mktemp() possibly used unsafely; consider using mkstemp() > /usr/lib/libc.so.4: WARNING! des_setkey(3) not present in the system! > /usr/lib/libc.so.4: WARNING! encrypt(3) not present in the system! > /usr/lib/libc.so.4: warning: tmpnam() possibly used unsafely; consider using mkstemp() > /usr/lib/libc.so.4: warning: this program uses f_prealloc(), which is stupid. > /usr/lib/libc.so.4: WARNING! des_cipher(3) not present in the system! > /usr/lib/libc.so.4: warning: tempnam() possibly used unsafely; consider using mkstemp()I considering this a bug in FreeBSD. To my knowledge icecast uses none of these functions directly. Nor really anything resembling them. I'm not sure how to get rid of them :) If you find a way, I will be intereted to know how, since these are annoying and succeed in nothing more than scaring everyone. I suppose that something I'm linking uses these, but that basically comes down to libxml or vorbis. Vorbis doesn't uses these functions, so I have no idea. I think that the reentrant c library or some other standard thing uses these, adn the linker just always outputs this message. Who knows. jack. --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Mon, 22 Oct 2001 00:53:07 -0600 Jack Moffitt <jack@xiph.org> wrote:> I considering this a bug in FreeBSD. To my knowledge icecast uses none > of these functions directly. Nor really anything resembling them. > > I'm not sure how to get rid of them :) If you find a way, I will be > intereted to know how, since these are annoying and succeed in nothing > more than scaring everyone. > > I suppose that something I'm linking uses these, but that basically > comes down to libxml or vorbis. Vorbis doesn't uses these functions, so > I have no idea. > > I think that the reentrant c library or some other standard thing uses > these, adn the linker just always outputs this message. Who knows. > > jack.Ok, sounds good BTW, I've got the stream up at http://media.mystica.cx:8000/crap.ogg It's on a decent connect, 64kbit (well, almost 64kbit, its hovering at 80 now..) ogg stream of just about anything you can think of. Im not kidding here :) Anyone with a fast enough connect, feel free to take a listen. Max clients at 10 right now. Provided my encoder box at home doesn't die it'll just sit and stream for the next day or 2. Mike -- <mystica@darktech.org> --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.