[OpenAFS] make dest fails in src/export

Matthew A. Bacchi mbacchi@btv.ibm.com
Wed, 16 Jan 2002 14:53:57 -0500


Helo,
I am attempting to compile OpenAFS 1.2.2a on AIX 4.3.3 and get =

failures in the src/export directory. The cfgafs and cfgexport
binaries are made correctly, but the export.ext and others fail.
The compiler is ibmcxx.cmp at version 3.6.6.0, on a 32 bit PowerPC,
model 7043-240 machine.
Here are the errors I get:

# pwd
/openafs/src/openafs-1.2.2a
# cd src/export
# make dest  =

        cc -O  -I/openafs/src/openafs-1.2.2a/src/config -I/openafs/src/op=
enafs-1.2.2a/include -c export.c
"/usr/include/sys/user.h", line 439.9: 1506-046 (S) Syntax error.
"/usr/include/sys/user.h", line 479.9: 1506-046 (S) Syntax error.
"/usr/include/sys/user.h", line 485.9: 1506-046 (S) Syntax error.
make: 1254-004 The error code from the last command is 1.

Stop.

If I modify the Makefile, and add -qlonglong to the CFLAGS,
I get the same error.  I see that in CVS version 1.4 of export.c
the description for the patch is "sys/user.h errors when param.h
included first", is this the same problem?

If there is any more info that needs to be supplied, let me know.

Thanks in advance for your help.
-Matt