Okay..
 
I've fixed some of these problems.  I put a #define __solaris__ line near the top of main.c and it fixed a few errors.  Still having some problems though.   Here is what I get during make now..
 
root:/export/home/dnay/rtpproxy # make
gcc  -o main.o -c main.c
main.c: In function `ropen':
main.c:437: error: `ACCESSPERMS' undeclared (first use in this function)
main.c:437: error: (Each undeclared identifier is reported only once
main.c:437: error: for each function it appears in.)
main.c:446: error: `DEFFILEMODE' undeclared (first use in this function)
main.c: In function `handle_command':
main.c:515: warning: assignment makes pointer from integer without a cast
make: *** [main.o] Error 1
 
Where is ACCESSPERMS & DEFFILEMODE defined?  I system include file?
 
Thanks!
 
Darren Nay - dnay@libertyisp.com
 
 
----- Original Message -----
From: Darren Nay
To: serusers@lists.iptel.org
Sent: Tuesday, February 17, 2004 12:02 PM
Subject: [Serusers] rtpproxy - compile errors

 
Hey All,
 
Finally got an updated version of rtpproxy, but I am getting the following errors during compile.
 
I am using gcc 3.3.2 on Solaris (SPARC) 9.
 
oot:/export/home/dnay/rtpproxy # make rtpproxy
gcc  -o main.o -c main.c
main.c:73:17: err.h: No such file or directory
main.c: In function `ropen':
main.c:435: error: `ACCESSPERMS' undeclared (first use in this function)
main.c:435: error: (Each undeclared identifier is reported only once
main.c:435: error: for each function it appears in.)
main.c:444: error: `DEFFILEMODE' undeclared (first use in this function)
main.c: In function `handle_command':
main.c:513: warning: assignment makes pointer from integer without a cast
main.c: In function `main':
main.c:943: error: structure has no member named `sun_len'
make: *** [main.o] Error 1
 
Any suggestions?  Thanks!
 
Darren Nay - dnay@libertyisp.com
 


_______________________________________________
Serusers mailing list
serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers