[Serusers] Latest STABLE build without using CVS

Andrei Pelinescu-Onciul pelinescu-onciul at fokus.fraunhofer.de
Fri Aug 22 12:46:01 CEST 2003


On Aug 21, 2003 at 21:35, Nils Ohlmeier <nils at iptel.org> wrote:
> 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).


Note also that your cpu arhitecture is not recognized by the ser
Makefile: -D__CPU__sun4_5.3. This means you will have generic solaris
support and no sparc64 optimizations (like faster locking etc.). What
type of sun machine do you have? Is it an ultrasparc?

Andrei




More information about the sr-users mailing list