[OpenSER-Users] compilation on solaris 10

Sergio Gutierrez saguti at gmail.com
Thu May 29 22:42:35 CEST 2008


Hi Eric.

Besides, I am seeing you are using a very old version of GCC; could
you update it, to at least gcc 3.*?

Regards.

Sergio Gutiérrez.

On Thu, May 29, 2008 at 10:45 AM, Bogdan-Andrei Iancu
<bogdan at voice-system.ro> wrote:
> Hi Eric,
>
> To be honest, no, I haven;t, because I do not have access to such a
> machine. Could you post the errors you get now?
>
> Regards,
> Bogdan
>
> wliangy at gmail.com wrote:
>> Thanks!
>> But there is still problem.
>> May I ask whether you have compiled successfully on Solaris 8 or 10?
>>
>> 2008/5/26 Bogdan-Andrei Iancu <bogdan at voice-system.ro>:
>>
>>> Hi Eric,
>>>
>>> use "gmake" and not "make" on Solaris.
>>>
>>> Regards,
>>> Bogdan
>>>
>>> wliangy at gmail.com wrote:
>>>
>>>> Hi experts,
>>>> I am start user of openser and need use openser to support sctp.
>>>> now I have download the source codes of openser-1.3.1-tls.
>>>> then I compiled it, there have many errors that need your supports.
>>>>
>>>> e.g.
>>>> openser-1.3.1-tls> make all
>>>> Makefile.defs:717: *** missing separator.  Stop.
>>>>
>>>> then I commented Makefile.defs line717 and 718.
>>>> # $(warning                     Old gcc detected ($(CC_SHORTVER)), use
>>>>  gcc >= 3.1 \
>>>> #                                       for better results)
>>>>
>>>> Errors were still there.
>>>>
>>>> openser-1.3.1-tls> make all
>>>> Makefile:402: warning: overriding commands for target
>>>> `/opt/CiscoMGC$(DESTDIR)'
>>>> Makefile:393: warning: ignoring old commands for target
>>>> `/opt/CiscoMGC$(DESTDIR)'
>>>> yacc -d -b cfg cfg.y
>>>> "cfg.y", line 391: warning: redeclaration of precedence of SLASH.
>>>>
>>>> conflicts: 1 shift/reduce
>>>> flex cfg.lex
>>>> statistics.c:58: warning: #warning STATISTICS: Architecture with no
>>>> support for atomic operations. Using Locks!!
>>>> Makefile:402: warning: overriding commands for target
>>>> `/opt/CiscoMGC$(DESTDIR)'
>>>> Makefile:393: warning: ignoring old commands for target
>>>> `/opt/CiscoMGC$(DESTDIR)'
>>>> Compiling action.c
>>>> gcc  -g -O9 -funroll-loops   -Wall  -mv8      -DNAME='"openser"'
>>>> -DVERSION='"1.3.1-notls"' -DARCH='"sparc64"' -DOS='"solaris"'
>>>> -DCOMPILER='"gcc 2.91.66"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_no
>>>> -DCFG_DIR='"$(DESTDIR)/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
>>>> -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
>>>> -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD
>>>> -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS
>>>> -DHAVE_DEVPOLL -DHAVE_SELECT -c action.c -o action.o
>>>> parser/msg_parser.h: In function `char_msg_val':
>>>> In file included from action.h:27,
>>>>                 from action.c:44:
>>>> parser/msg_parser.h:300: parse error before `)'
>>>> forward.h: In function `msg_send':
>>>> In file included from action.c:49:
>>>> forward.h:95: parse error before `)'
>>>> forward.h:103: parse error before `)'
>>>> forward.h:107: parse error before `)'
>>>> mem/../lock_alloc.h: In function `lock_set_alloc':
>>>> In file included from mem/../locking.h:66,
>>>>                 from mem/../statistics.h:115,
>>>>                 from mem/shm_mem.h:33,
>>>>                 from ut.h:52,
>>>>                 from action.c:54:
>>>> mem/../lock_alloc.h:68: parse error before `)'
>>>> ut.h: In function `int2bstr':
>>>> In file included from action.c:54:
>>>> ut.h:172: parse error before `)'
>>>> ut.h: In function `un_escape':
>>>> ut.h:365: parse error before `)'
>>>> ut.h: In function `shm_str_dup':
>>>> ut.h:498: parse error before `)'
>>>> ut.h: In function `pkg_str_dup':
>>>> ut.h:515: parse error before `)'
>>>> ut.h: In function `str_strcmp':
>>>> ut.h:532: parse error before `)'
>>>> ut.h:535: parse error before `int'
>>>> ut.h:539: `minlen' undeclared (first use in this function)
>>>> ut.h:539: (Each undeclared identifier is reported only once
>>>> ut.h:539: for each function it appears in.)
>>>> ut.h:547: `alen' undeclared (first use in this function)
>>>> ut.h:547: `blen' undeclared (first use in this function)
>>>> ut.h: In function `str_strcasecmp':
>>>> ut.h:563: parse error before `)'
>>>> ut.h:566: parse error before `int'
>>>> ut.h:570: `minlen' undeclared (first use in this function)
>>>> ut.h:578: `alen' undeclared (first use in this function)
>>>> ut.h:578: `blen' undeclared (first use in this function)
>>>> action.c: In function `run_action_list':
>>>> action.c:140: parse error before `)'
>>>> action.c: In function `do_assign':
>>>> action.c:193: parse error before `)'
>>>> action.c:202: parse error before `)'
>>>> action.c:222: parse error before `)'
>>>> action.c:228: parse error before `)'
>>>> action.c: In function `do_action':
>>>> action.c:302: parse error before `)'
>>>> action.c:309: parse error before `)'
>>>> action.c:335: parse error before `)'
>>>> action.c:498: parse error before `)'
>>>> action.c:524: parse error before `)'
>>>> action.c:682: parse error before `)'
>>>> action.c:710: parse error before `)'
>>>> action.c:723: parse error before `)'
>>>> action.c:757: parse error before `)'
>>>> action.c:763: parse error before `)'
>>>> action.c:807: parse error before `)'
>>>> action.c:819: parse error before `)'
>>>> action.c:870: parse error before `)'
>>>> action.c:896: parse error before `)'
>>>> action.c:904: parse error before `)'
>>>> action.c:930: parse error before `)'
>>>> action.c:939: parse error before `)'
>>>> action.c:945: parse error before `)'
>>>> action.c:966: parse error before `)'
>>>> make: *** [action.o] Error 1
>>>>
>>>> Your any help is much appreciated!
>>>>
>>>> BR,
>>>> Eric
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.openser.org
>>>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>
>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list