Coda File System

Solaris Build Problems

From: Ben Rockwood <BRockwood_at_homestead-inc.com>
Date: Thu, 31 Jan 2002 16:07:21 -0800
Sorry to add another log to the build problems fire, but I've been having problems on Solaris for some time now and I really want to get CODA working.

I've built the Solaris kernel modules (coda-solaris v0.3) with no problems, and lwp, rpc2, and rvm are installed with no problems.  However when I attempt to build CODA itself, I get the following problem in the kerndep subdirectory:

gcc -fno-exceptions -MD -DHAVE_CONFIG_H -I. -I/home/benr/coda/coda-5.3.17/include -I/home/benr/coda/coda-5.3.17 -g -O2 -c pioctl.c
In file included from pioctl.h:37,
                 from pioctl.c:33:
/home/benr/coda/coda-5.3.17/include/coda.h:130: conflicting types for `int8_t'
/usr/include/sys/int_types.h:62: previous declaration of `int8_t'
/home/benr/coda/coda-5.3.17/include/coda.h:132: warning: redefinition of `int16_t'
/usr/include/sys/int_types.h:68: warning: `int16_t' previously declared here
/home/benr/coda/coda-5.3.17/include/coda.h:134: warning: redefinition of `int32_t'
/usr/include/sys/int_types.h:69: warning: `int32_t' previously declared here
/home/benr/coda/coda-5.3.17/include/coda.h:135: warning: useless keyword or type name in empty declaration
/home/benr/coda/coda-5.3.17/include/coda.h:135: warning: empty declaration
make: *** [pioctl.o] Error 1
$ 


Any ideas of what I can do?  I'm building on Solaris 8 with GCC, but I have the same problem on Solaris 2.6.

brockwood_at_homestead-inc.com
Received on 2002-01-31 19:09:15