[Serusers] rtpproxy - compile errors
Maxim Sobolev
sobomax at portaone.com
Tue Feb 17 19:03:13 CET 2004
Darren Nay wrote:
> 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?
Should be fixed in just committed version 1.7 of rtpproxy. Please do cvs
update and try again.
-Maxim
>
> Thanks!
>
> Darren Nay - dnay at libertyisp.com <mailto:dnay at libertyisp.com>
>
>
>
> ----- Original Message -----
> From: Darren Nay <mailto:dnay at libertyisp.com>
> To: serusers at lists.iptel.org <mailto:serusers at 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 at libertyisp.com <mailto:dnay at libertyisp.com>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list