Yeah, alright, it configures fine, and here's what happens when i make.>make.....yadayadayada..just some warnings here..... (here is where it dies) gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -Wall -c connection.c connection.c: In function `get_connection': connection.c:191: `fd_set' undeclared (first use in this function) connection.c:191: (Each undeclared identifier is reported only once connection.c:191: for each function it appears in.) connection.c:191: parse error before "rfds" connection.c:192: storage size of `tv' isn't known connection.c:208: warning: implicit declaration of function `FD_ZERO' connection.c:208: `rfds' undeclared (first use in this function) connection.c:212: warning: implicit declaration of function `FD_SET' connection.c:222: warning: implicit declaration of function `select' connection.c:224: warning: implicit declaration of function `FD_ISSET' connection.c:192: warning: unused variable `tv' *** Error code 1 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21) <p>> > Just wondering if anyone has tried to compile icecast on a SGI machine> > running irix 6.5.14 or the like. I tried w/ a bunch of differnet > > compiler options, (using gcc for the compiler) just to get a myriad of > > errors. > > Perhaps someone had it working, but I don't remember. If you can post a > few of the errors maybe I or someone else can help you figure them out. > > 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.<p><p><p>--- >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.
> connection.c: In function `get_connection': > connection.c:191: `fd_set' undeclared (first use in this function)Ok, so basically I'm not including the right header file for select() datatypes. do a 'man select' and find what include files I need to include. Or if you're not a programmer type, you can just email me the manpage. It should be an easy fix to put the right #include at the top of connection.c. 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.
well i fixed it a bit, if you add
#include <sys/select.h>
it gets rid of:
connection.c:192: `fd_set' undeclared (first use in this function)
connection.c:192: (Each undeclared identifier is reported only once
connection.c:192: for each function it appears in.)
connection.c:192: parse error before "rfds"
connection.c:193: storage size of `tv' isn't known
connection.c:209: warning: implicit declaration of function `FD_ZERO'
connection.c:209: `rfds' undeclared (first use in this function)
connection.c:213: warning: implicit declaration of function `FD_SET'
connection.c:223: warning: implicit declaration of function `select'
connection.c:225: warning: implicit declaration of function `FD_ISSET'
but i'm still left with:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -Wall
-c connection.c
connection.c: In function `get_connection':
connection.c:193: storage size of `tv' isn't known
connection.c:223: warning: implicit declaration of function `select'
connection.c:193: warning: unused variable `tv'
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
Here's the top of the manpage:
NAME
select - synchronous I/O multiplexing
SYNOPSIS
#include <unistd.h>
#include <sys/types.h>
#include <bstring.h>
#include <sys/time.h>
<p><p>> > connection.c: In function
`get_connection':> > connection.c:191: `fd_set' undeclared (first use in this function)
>
> Ok, so basically I'm not including the right header file for select()
> datatypes.
>
> do a 'man select' and find what include files I need to include.
Or if
> you're not a programmer type, you can just email me the manpage. It
> should be an easy fix to put the right #include at the top of
> connection.c.
>
> 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.
<p><p><p>--- >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.