<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Okay..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>root:/export/home/dnay/rtpproxy # make<BR>gcc
-o main.o -c main.c<BR>main.c: In function `ropen':<BR>main.c:437: error:
`ACCESSPERMS' undeclared (first use in this function)<BR>main.c:437: error:
(Each undeclared identifier is reported only once<BR>main.c:437: error: for each
function it appears in.)<BR>main.c:446: error: `DEFFILEMODE' undeclared (first
use in this function)<BR>main.c: In function `handle_command':<BR>main.c:515:
warning: assignment makes pointer from integer without a cast<BR>make: ***
[main.o] Error 1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Where is ACCESSPERMS & DEFFILEMODE
defined? I system include file?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Darren Nay - <A
href="mailto:dnay@libertyisp.com">dnay@libertyisp.com</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dnay@libertyisp.com href="mailto:dnay@libertyisp.com">Darren Nay</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=serusers@lists.iptel.org
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 17, 2004 12:02
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Serusers] rtpproxy - compile
errors </DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hey All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Finally got an updated version of rtpproxy, but I
am getting the following errors during compile.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am using gcc 3.3.2 on Solaris (SPARC)
9.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>oot:/export/home/dnay/rtpproxy # make
rtpproxy<BR>gcc -o main.o -c main.c<BR>main.c:73:17: err.h: No such file
or directory<BR>main.c: In function `ropen':<BR>main.c:435: error:
`ACCESSPERMS' undeclared (first use in this function)<BR>main.c:435: error:
(Each undeclared identifier is reported only once<BR>main.c:435: error: for
each function it appears in.)<BR>main.c:444: error: `DEFFILEMODE' undeclared
(first use in this function)<BR>main.c: In function
`handle_command':<BR>main.c:513: warning: assignment makes pointer from
integer without a cast<BR>main.c: In function `main':<BR>main.c:943: error:
structure has no member named `sun_len'<BR>make: *** [main.o] Error
1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any suggestions? Thanks!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Darren Nay - <A
href="mailto:dnay@libertyisp.com">dnay@libertyisp.com</A></FONT></DIV>
<DIV> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Serusers mailing
list<BR>serusers@lists.iptel.org<BR>http://lists.iptel.org/mailman/listinfo/serusers<BR></BLOCKQUOTE></BODY></HTML>