[cvsnt] ongoing problems building on Solaris (SunOS 5.8) 8

Glen Starrett grstarrett at cox.net
Thu Feb 12 08:17:24 GMT 2004


Carl Brewer wrote:

>
> I'm pretty keen to use sserver functionality, and if I can't
> get it running on Solaris my other option is NetBSD 1.6.1,
> any comments on how supportable that will be?

I don't know if this helps you any, but I just tried to compile on 
FreeBSD 5.2 and it fails in diff with something about excess elements.  
The ./configure ran fine AFAICT, here's a partial output from make:

> Making all in diff
> source='diff.c' object='diff.o' libtool=no  depfile='.deps/diff.Po' 
> tmpdepfile='.deps/diff.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc 
> -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../lib     -g -O2 -c `test -f 
> 'diff.c' || echo './'`diff.c
> diff.c:194: error: elements of array `longopts' have incomplete type
> diff.c:196: warning: excess elements in struct initializer
> diff.c:196: warning: (near initialization for `longopts[0]')
> diff.c:196: warning: excess elements in struct initializer
> diff.c:196: warning: (near initialization for `longopts[0]')
> diff.c:196: warning: excess elements in struct initializer
> diff.c:196: warning: (near initialization for `longopts[0]')
> diff.c:196: warning: excess elements in struct initializer
> diff.c:196: warning: (near initialization for `longopts[0]')
> diff.c:197: warning: excess elements in struct initializer
> diff.c:197: warning: (near initialization for `longopts[1]')
> diff.c:197: warning: excess elements in struct initializer
> diff.c:197: warning: (near initialization for `longopts[1]')
> diff.c:197: warning: excess elements in struct initializer
> diff.c:197: warning: (near initialization for `longopts[1]')
> diff.c:197: warning: excess elements in struct initializer
> diff.c:197: warning: (near initialization for `longopts[1]')
> [...snip...]
> diff.c:246: warning: (near initialization for `longopts[50]')
> *** Error code 1
>
> Stop in /usr/home/gstarret/downloads/cvsnt-2.0.26/diff.
> *** Error code 1
>
> Stop in /usr/home/gstarret/downloads/cvsnt-2.0.26.
> *** Error code 1
>
> Stop in /usr/home/gstarret/downloads/cvsnt-2.0.26.

I'm /very/ new to FreeBSD so I'm not sure of what's going on at this 
point.  This was my first attempt to compile anything on it.

Regards,

--------------------
Glen Starrett





More information about the cvsnt mailing list