[Serusers] Latest STABLE build without using CVS

Jitender Arora jarora at aastra.com
Thu Aug 21 21:26:56 CEST 2003


Hi Nils ,

    Thanks ......I guess it was giving the problem .....

JItender

-----Original Message-----
From: Nils Ohlmeier [mailto:nils at iptel.org]
Sent: Thursday, August 21, 2003 3:35 PM
To: Jitender Arora; 'Andrei Pelinescu-Onciul'
Cc: 'serusers at lists.iptel.org'
Subject: Re: [Serusers] Latest STABLE build without using CVS


On Thursday 21 August 2003 21:13, Jitender Arora wrote:
> Hi ,
>
>        I installed the gcc version 3.3 on the SUN machine ( running OS
> version  5.7 ) ...
>
>        But still when i try to compile the SER , i get the following
errors
>
>
> /usr/local/bin/gcc      -DNAME='"ser"' -DVERSION='"0.8.11rc3"'
> -DARCH='"_sun4_5.
> 3"' -DOS='"solaris"' -DCOMPILER='"/usr/local/bin/gcc 3.3"'
> -D__CPU__sun4_5.3 -D_
> _OS_solaris -DCFG_DIR='"/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP
> -DADAPTIV
> E_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP
> -DDISABLE_N
> AGLE -DDBG_QM_MALLOC  -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H
> -DHAVE_SCHED_YI
> ELD -DUSE_PTHREAD_MUTEX   -c action.c -o action.o
> <command line>:15:14: warning: ISO C requires whitespace after the macro
> name
> In file included from parser/msg_parser.h:48,
>                  from action.h:33,
>                  from action.c:42:
> ip_addr.h:75: error: field `sin6' has incomplete type
> ip_addr.h: In function `sockaddr2ip_addr':
> ip_addr.h:201: error: `AF_INET6' undeclared (first use in this function)
> ip_addr.h:201: error: (Each undeclared identifier is reported only once
> ip_addr.h:201: error: for each function it appears in.)
> ip_addr.h:204: error: dereferencing pointer to incomplete type
> ip_addr.h: In function `su_cmp':
> ip_addr.h:231: error: `AF_INET6' undeclared (first use in this function)
> ip_addr.h: In function `su_getport':
> ip_addr.h:251: error: `AF_INET6' undeclared (first use in this function)
> ip_addr.h: In function `su_setport':
> ip_addr.h:271: error: `AF_INET6' undeclared (first use in this function)
> ip_addr.h: In function `su2ip_addr':
> ip_addr.h:293: error: `AF_INET6' undeclared (first use in this function)
> ip_addr.h: In function `init_su':
> ip_addr.h:320: error: `AF_INET6' undeclared (first use in this function)
> ip_addr.h: In function `hostent2su':
> ip_addr.h:357: error: `AF_INET6' undeclared (first use in this function)
> ip_addr.h: In function `ip_addr2a':
> ip_addr.h:402: error: `AF_INET6' undeclared (first use in this function)
> gmake: *** [action.o] Error 1
>
>          Can any one know that how these can be resolved ....

Seems like your system is not ready for IPv6. Maybe it helps if you try to 
compile Ser without support for IPv6 (remove or comment the line in 
Makefile.defs which contains DUSE_IPV6).

Regards
  Nils

> Regards,
> Jitender
> -----Original Message-----
> From: Andrei Pelinescu-Onciul
> [mailto:pelinescu-onciul at fokus.fraunhofer.de]
> Sent: Friday, August 15, 2003 5:40 AM
> To: Jitender Arora
> Cc: 'serusers at lists.iptel.org'
> Subject: Re: [Serusers] Latest STABLE build without using CVS
>
> 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
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list