Actually, I mean in the Makefile.defs; rather than using CFLAGS+= -mv8, I use CLFAGS+=
-mpcu=ultrasparc
What I have found from the internet is that it is a problem in the 2.9x implementation of
gcc. In short, the compiler generates v8plus instruction without telling the assembler and
causing the problem below. By using the option as above, compiler and assembler does the
job properly.
BTW, if you are using gcc 3.x, there is no issue as the Makefile.defs uses different
CFLAGS.
Anyway, thanks for the response.
-----Original Message-----
From: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de]
Sent: June 25, 2004 4:38 AM
To: Joseph Cheung
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] Compile error on a V100
On Jun 24, 2004 at 18:48, Joseph Cheung <Joseph.Cheung2(a)TELUS.COM> wrote:
Solve the compilation problem finally by using
-cpu=ultrasparc option.
What gcc version do you use?
I couldn't find ultrasparc in my gcc-2.95 man page.
I don't have gcc-2.95 installed any more on my ultrasparc (upgraded to
3.x) so I couldn't test it.
Andrei
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of
Joseph Cheung
Sent: June 24, 2004 5:23 PM
To: serusers(a)lists.iptel.org
Subject: [Serusers] Compile error on a V100
Hi.
I am trying to compile the SER on a Sun Fire V100 and have the following assemble error.
I am wondering if someone could point me to the right direction.
Thanks
JC
bash: makeall: command not found
ipvoiss1:/usr/joseph/JC/ser/ser-0.8.12$ make all
Makefile.defs:473: Old gcc detected (2.9x), use gcc >= 3.1 for better results
Makefile:238: warning: overriding commands for target `/usr/local'
Makefile:235: warning: ignoring old commands for target `/usr/local'
Makefile:241: warning: overriding commands for target `/usr/local'
Makefile:238: warning: ignoring old commands for target `/usr/local'
Makefile:245: warning: overriding commands for target `/usr/local'
Makefile:241: warning: ignoring old commands for target `/usr/local'
Makefile:248: warning: overriding commands for target `/usr/local'
Makefile:245: warning: ignoring old commands for target `/usr/local'
Makefile:251: warning: overriding commands for target `/usr/local'
Makefile:248: warning: ignoring old commands for target `/usr/local'
gcc -g -O9 -funroll-loops -Wall -mv8 -DNAME='"ser"'
-DVERSION='"0.8.12"' -DARCH='"sparc64"'
-DOS='"solaris"' -DCOMPILER='"gcc 2.95"'
-D__CPU_sparc64 -D__OS_solaris -DCFG_DIR='"/usr/local /etc/ser/"'
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE
-DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -c main.c -o main.o
/usr/ccs/bin/as: "/var/tmp/ccgv1YCz.s", line 1375: error: cannot use v8plus
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp/ccgv1YCz.s", line 1401: error: cannot use v8plus
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp/ccgv1YCz.s", line 10948: error: cannot use v8plus
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp/ccgv1YCz.s", line 10977: error: cannot use v8plus
instructions in a non-v8plus target binary
make: *** [main.o] Error 1
ipvoiss1:/usr/joseph/JC/ser/ser-0.8.12$
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of
Jeremy George
Sent: June 24, 2004 4:23 PM
To: gc
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] Using AS5300 for SER
Where 10.1.1.1 is the address of the SER host and 10.2.1.1 is the
address of the AS5300.
access-list 101 permit ip host 10.1.1.1 host 10.2.1.1
access-list 101 deny tcp any host 10.2.1.1 eq 5060
access-list 101 deny udp any host 10.2.1.1 eq 5060
access-list 101 permit ip any any
- Jeremy
On Thu, 24 Jun 2004, gc wrote:
Date: Thu, 24 Jun 2004 16:16:45 -0400
From: gc <garych(a)unidial.com>
To: serusers(a)lists.iptel.org
Subject: [Serusers] Using AS5300 for SER
I am using AS5300 as PSTN Gateway for SER. I'd like to make the AS5300 only accept
sip call forward by ser. Does anybody know how to setup AS5300 for this?
Gary
--
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers