That is what I used.
# make -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
#
# uname -a
SunOS hana 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-5_10
Any other ideas?
Thanks,
Ricardo Villa
----- Original Message -----
From: "Nils Ohlmeier" <nils(a)iptel.org>
To: "Ricardo Villa" <ricvil(a)epm.net.co>co>; "Maxim Sobolev"
<sobomax(a)portaone.com>om>; <serusers(a)lists.iptel.org>
Cc: <serdev(a)lists.iptel.org>
Sent: Thursday, July 24, 2003 4:19 PM
Subject: Re: [Serdev] Re: [Serusers] nathelper updated to support RTP proxy
Hi,
please try to use gmake instead of the Solaris internal make.
Regards
Nils
On Thursday 24 July 2003 21:26, Ricardo Villa wrote:
> Hi Maxim,
>
> We have been testing the RTP proxy for a couple of weeks now on our
Linux
> production server (0.8.11pre29) and it has worked
perfectly(testing only
> the ATA186). We are now ready to test it on a Sun Solaris 8 server.
> Unfortunately we can't even compile either the nathelper or the
rtpproxy.
When compiling the rtpproxy this is what we get:
---------------------------------------------
# ls -l
total 90
-rw-r--r-- 1 root other 1457 Jul 24 13:48 Makefile
-rw-r--r-- 1 root other 10323 Jul 24 13:47 main.c
-rw-r--r-- 1 root other 16956 Jul 24 13:48 myqueue.h
-rw-r--r-- 1 root other 15126 Jul 24 13:48 nathelper_diff.txt
# make
Makefile:33: *** missing separator. Stop.
#
-----------------------------------------------
When applying the nathelper patch and compiling ...this is what we get:
-------------------------------------------------
# patch -p0 < ./nathelper_diff.txt
Looks like a unified context diff.
Hunk #1 failed at line 1.
Hunk #2 failed at line 43.
2 out of 2 hunks failed: saving rejects to modules/nathelper/README.rej
The next patch looks like a unified context diff.
done
# pwd
/opt/software/sip/ser8.11/src/ser-0.8.11pre29
# make modules=modules/nathelper modules
make[1]: Entering directory
`/opt/software/sip/ser8.11/src/ser-0.8.11pre29/modules/nathelper'
../../Makefile.rules:77: nathelper.d: No such file or directory
../../Makefile.rules:77: nhelpr_funcs.d: No such file or directory
make[1]: Leaving directory
`/opt/software/sip/ser8.11/src/ser-0.8.11pre29/modules/nathelper'
make[1]: Entering directory
`/opt/software/sip/ser8.11/src/ser-0.8.11pre29/modules/nathelper'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wall -mcpu=ultrasparc
-mtune=ultra sparc -m32 -DNAME='"ser"'
-DVERSION='"0.8.11pre29"'
-DARCH='"sparc64"' -DOS='"solaris"'
-DCOMPILER='""' -D__CPU_sparc64
-D__OS_solaris -DCFG_DIR=' "/usr/local/etc/ser/"' -DPKG_MALLOC
-DSHM_MEM
-DSHM_MMAP -DADAPTIVE_WAIT -D ADAPTIVE_WAIT_LOOPS=1024 -DDNS_IP_HACK
-DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DDBG_QM_MALLOC -DFAST_LOCK
-DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHA VE_SCHED_YIELD -c
nathelper.c -o nathelper.o
nathelper.c: In function `extract_mediaport':
nathelper.c:465: warning: subscript has type `char'
nathelper.c: In function `get_rtpp_port':
nathelper.c:604: `AF_LOCAL' undeclared (first use in this function)
nathelper.c:604: (Each undeclared identifier is reported only once
nathelper.c:604: for each function it appears in.)
nathelper.c:608: structure has no member named `sun_len'
make[1]: *** [nathelper.o] Error 1
make[1]: Leaving directory
`/opt/software/sip/ser8.11/src/ser-0.8.11pre29/modules/nathelper'
#
-------------------------------------------------------------------------
>
> Can help us with this please. This is a very useful module and we
would
like to use it
on a Sun Server too.
Thanks,
Ricardo Villa
----- Original Message -----
From: "Maxim Sobolev" <sobomax(a)portaone.com>
To: <serusers(a)lists.iptel.org>
Cc: <serdev(a)lists.iptel.org>
Sent: Sunday, July 06, 2003 12:16 PM
Subject: [Serusers] nathelper updated to support RTP proxy
Folks,
Today I've updated nathelper module to support RTP proxy. It would
be nice if somebody can test it on platforms other than FreeBSD,
because I don't have an access to such boxes right now. The RTP
proxy itself can be downloaded from:
https://demo.portaone.com/~sobomax/PortaSIP/rtpproxy/
Any feedback is greatly appreciated.
-Maxim
P.S. I've committed it to the HEAD, those with 0.8.11 prerelease
please apply the following patch:
https://demo.portaone.com/~sobomax/nathelper.diff
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serdev mailing list
serdev(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serdev
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers