[OpenAFS] Building problems on Solaris 2.X
Gunnar Gunnarsson
gunnar@ki.ericsson.se
Wed, 31 Oct 2001 10:09:43 +0100 (MET)
Jeffrey Hutzelman writes:
> On Tue, 30 Oct 2001, Gunnar Gunnarsson wrote:
>
> > I'm using cc: WorkShop Compilers 5.0 98/12/15 C 5.0
> > ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
> > --localstatedir=/var
> > make
> > /opt/SUNWspro/bin/cc -O -g -I. -I/homes/gunnar/packages/ragnar/openafs/src/openafs-1.2.2/include -I/homes/gunnar/packages/ragnar/openafs/src/openafs-1.2.2/src/config -dy -Bdynamic install.c -o pinstall -lresolv -lsocket -lnsl -lintl -ldl ;; \
> > esac
> > "/usr/include/sys/types.h", line 256: warning: useless declaration
> > "/usr/include/sys/types.h", line 256: warning: typedef declares no type name
> > "/usr/include/sys/types.h", line 320: invalid type combination
> > "/usr/include/sys/types.h", line 320: warning: useless declaration
> > "/usr/include/sys/types.h", line 320: warning: typedef declares no type name
> > "install.c", line 484: incomplete struct/union/enum timeval: tvp
> > "install.c", line 770: cannot do pointer arithmetic on operand of unknown size
> > "install..c", line 770: undefined struct/union member: tv_sec
> > "install.c", line 771: cannot do pointer arithmetic on operand of unknown size
> > "install.c", line 771: undefined struct/union member: tv_usec
> > "install.c", line 772: cannot do pointer arithmetic on operand of unknown size
> > "install.c", line 772: improper member use: tv_sec
> > "install.c", line 773: cannot do pointer arithmetic on operand of unknown size
> > "install.c", line 773: improper member use: tv_usec
> > "install.c", line 841: cannot recover from previous errors
> > cc: acomp failed for install.c
>
> Um... Can you be more specific about what version of Solaris you're
> building on? I've never seen a build problem like this before.
Ok a slightly different build process since 1.2.0 - if I put the Workshop
compiler in the path it works.