[Serusers] Latest STABLE build without using CVS

Andrei Pelinescu-Onciul pelinescu-onciul at fokus.fraunhofer.de
Fri Aug 15 11:40:12 CEST 2003


On Aug 14, 2003 at 15:55, Jitender Arora <jarora at aastra.com> wrote:
> Hi ,
> 
>      Thanks ...
> 
>      When  i am trying to build the ser on the solaris, I am getting a lot
> of compilation errors ...
> 
>      Do i need something specific to build the ser on the solaris machine
> ......
>  
>      The error i am getting are :
> 
> make all
> 
> gcc -g -O9 -funroll-loops   -Wall  -mv8      -DNAME='"ser"'
> -DVERSION='"0.8.11rc
> 3"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 2.7"'
> -D__CPU_sparc64 -
> /usr/include/sys/siginfo.h:76: parse error before `}'
> In file included from parser/../ip_addr.h:40,
>                  from parser/msg_parser.h:48,
>                  from action.h:33,
>                  from action.c:42:
> /usr/include/sys/socket.h:47: parse error before `sa_family_t'
> /usr/include/sys/socket.h:47: warning: data definition has no type or
> storage cl
> ass
> /usr/include/sys/socket.h:56: parse error before `socklen_t'
> /usr/include/sys/socket.h:56: warning: data definition has no type or
> storage cl
> ass
> /usr/include/sys/socket.h:187: parse error before `sa_family_t'
> /usr/include/sys/socket.h:187: warning: no semicolon at end of struct or
> union
> /usr/include/sys/socket.h:189: parse error before `}'
> /usr/include/sys/socket.h:234: parse error before `socklen_t'
> /usr/include/sys/socket.h:234: warning: no semicolon at end of struct or
> union
> /usr/include/sys/socket.h:246: parse error before `}'
> /usr/include/sys/socket.h:312: parse error before `socklen_t'
> /usr/include/sys/socket.h:312: warning: no semicolon at end of struct or
> union
> /usr/include/sys/socket.h:315: parse error before `}'
> /usr/include/sys/socket.h:385: parse error before `socklen_t'
> /usr/include/sys/socket.h:386: parse error before `socklen_t'
> /usr/include/sys/socket.h:399: parse error before `socklen_t'
> /usr/include/sys/socket.h:400: parse error before `socklen_t'
> In file included from /usr/include/sys/stream.h:22,
> 
> Does anyone know , how to resolve this ...else i will put some effort for
> this .....

You'll have to investigate this yourself. It builds ok (no warnings) on
solaris 8 /gcc 3.x. We never tried gcc versions older than 2.91 or
solaris 2.5 and we can't reproduce this since we don't have access to
any solaris system < 2.8.

Andrei




More information about the sr-users mailing list