[OpenSER-Users] Compilation problem on Debian Stable/SPARC architexture
Schumann Sebastian
Sebastian.Schumann at t-com.sk
Mon Feb 11 11:11:22 CET 2008
Hi Bogdan,
sure I can, could have thought about that in the first place myself.
Sorry for that,
here the working output after starting make without debug mode:
netra120:/usr/local/src/openser# make prefix=/usr/local all
Compiling blacklists.c
gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
-ftree-vectorize -DNAME='"openser"' -DVERSION='"1.3.0-notls"'
-DARCH='"sparc64"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"'
-D__CPU_sparc64 -D__OS_linux -D__SMP_no
-DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
-DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
-DSVNREVISION='"2:3675"' -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
-DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT
-c blacklists.c -o blacklists.o
Compiling core_stats.c
gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
-ftree-vectorize -DNAME='"openser"' -DVERSION='"1.3.0-notls"'
-DARCH='"sparc64"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"'
-D__CPU_sparc64 -D__OS_linux -D__SMP_no
-DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
-DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
-DSVNREVISION='"2:3675"' -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
-DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT
-c core_stats.c -o core_stats.o
Compiling crc.c
gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
-ftree-vectorize -DNAME='"openser"' -DVERSION='"1.3.0-notls"'
-DARCH='"sparc64"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"'
-D__CPU_sparc64 -D__OS_linux -D__SMP_no
-DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
-DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
-DSVNREVISION='"2:3675"' -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
-DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT
-c crc.c -o crc.o
make: *** [crc.o] Interrupt
netra120:/usr/local/src/openser#
and so on...
Thanks for the help.
Best regards
Sebastian
-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro]
Sent: Friday, 08. February 2008 4:53 PM
To: Schumann Sebastian
Cc: users at lists.openser.org
Subject: Re: [OpenSER-Users] Compilation problem on Debian Stable/SPARC
architexture
Hi Sebastian,
Could you also post the working compile instruction (without the debug
mode) ? I want do diff them .
Thanks anre gards,
Bogdan
Schumann Sebastian wrote:
> Hi Bogdan,
>
> one more inmportant note, I discovered this morning. This error only
> appears if the option mode=debug is set. A normal # make all does
> compile properly!
>
> Here is the output:
>
> netra120:/usr/local/src/openser# make mode=debug prefix=/usr/local all
> bison -d -b cfg cfg.y
> cfg.y: conflicts: 1 shift/reduce
> flex cfg.lex
> New SVN revision: 2:3654
> Compiling action.c
> gcc -DNAME='"openser"' -DVERSION='"1.3.0-notls"'
-DARCH='"sparc64"'
> -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_sparc64 -D__OS_linux
> -D__SMP_no -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC
-DSHM_MEM
> -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
> -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
> -DSVNREVISION='"2:3654"' -DEXTRA_DEBUG -DFAST_LOCK -DADAPTIVE_WAIT
> -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
> -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
> -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT
-DHAVE_SELECT
> -c action.c -o action.o
> Compiling blacklists.c
> gcc -DNAME='"openser"' -DVERSION='"1.3.0-notls"'
-DARCH='"sparc64"'
> -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_sparc64 -D__OS_linux
> -D__SMP_no -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC
-DSHM_MEM
> -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
> -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
> -DSVNREVISION='"2:3654"' -DEXTRA_DEBUG -DFAST_LOCK -DADAPTIVE_WAIT
> -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
> -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
> -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT
-DHAVE_SELECT
> -c blacklists.c -o blacklists.o
> /tmp/ccRk3oFx.s: Assembler messages:
> /tmp/ccRk3oFx.s:831: Error: Architecture mismatch on "membar".
> /tmp/ccRk3oFx.s:831: (Requires v9|v9a|v9b; requested architecture is
> sparclite.)
> /tmp/ccRk3oFx.s:847: Error: Architecture mismatch on "membar".
> /tmp/ccRk3oFx.s:847: (Requires v9|v9a|v9b; requested architecture is
> sparclite.)
> make: *** [blacklists.o] Error 1
> netra120:/usr/local/src/openser#
>
> Regards
> Sebastian
>
> -----Original Message-----
> From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro]
> Sent: Friday, 08. February 2008 11:33 AM
> To: Schumann Sebastian
> Cc: users at lists.openser.org
> Subject: Re: [OpenSER-Users] Compilation problem on Debian
Stable/SPARC
> architexture
>
> Hi Schumann,
>
> Can you post please the compile line (as printed by make) - just to
> check the compile options.
>
> Thanks,
> Bogdan
>
> Schumann Sebastian wrote:
>
>> Dear all
>>
>> I am facing problems installing OpenSER 1.3 from branch on a Debian
>> 4.0R2 running on a SUN UltraSPARC IIi server (sparc64).
>>
>> After retrieving all required files and executing # make mode=debug,
>>
> the
>
>> second file's compilation fails already:
>>
>> Compiling blacklist.c
>> ....
>> Error: Architecture mismatch on "membar".
>> (Requires v9|v9a|v9b; requested architexture is sparclite.)
>>
>> Does anyone know what could be the reason for that. On i386 I never
>> faced problems, and as OpenSER supports Solaris, it should also
>>
> support
>
>> Debian on sparc64 architecture or not?
>>
>> Thanks a lot in advance.
>>
>> Best regards
>> Sebastian
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.openser.org
>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
>
>
More information about the Users
mailing list