Problems compiling 2.0.6 on AIX 4.1.5

Daniell, Ian Ian.Daniell at cwcom.co.uk
Fri Feb 11 12:16:02 GMT 2000


I've been trying to compile Samba 2.0.6 on an RS/6000 J30 running AIX 4.1.5
using gcc 2.95.1.
Basically, when I run 'make', every file that it attempts to compile returns
the same warning, involving 'struct statfs' in /usr/include/sys/vfs.h

I've listed the beginning and end of the output, but didn't think it worth
including the whole lot as it's an identical warning for every compile.

I'm (obviously) a bit new to C, so I'd appreciate any hints before I start
trying to hack the code myself.

Sample output is:

Compiling smbd/server.c
In file included from include/includes.h:284,
                 from smbd/server.c:22:
/usr/include/sys/vfs.h:154: warning: `struct statfs' declared inside
parameter list
/usr/include/sys/vfs.h:154: warning: its scope is only in this definition or
declaration, which is probably not what you want.
  .
  .
  .
Compiling utils/make_printerdef.c
In file included from include/includes.h:284,
                 from utils/make_printerdef.c:23:
/usr/include/sys/vfs.h:154: warning: `struct statfs' declared inside
parameter list
/usr/include/sys/vfs.h:154: warning: its scope is only in this definition or
declaration, which is probably not what you want.
Linking bin/make_printerdef
Target "all" is up to date.

Many thanks,

Ian Daniell

** Email: ian.daniell at cwcom.co.uk
** Phone: +44 20 8873 5547



More information about the samba mailing list