Re: [Noffle-users] 1.1.5 on Mac OS X
Brought to you by:
bears
From: Andre B. <and...@we...> - 2004-03-16 10:02:02
|
* Jim Hague <jim...@ac...>, 2004-03-16 10:58 +0100: > On 16-Mar-2004 Andre Berger wrote: > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/sw/include -g -O2 -c > > authenticate.c > > In file included from authenticate.c:14: > > /usr/include/grp.h:73: error: parse error before "gid_t" > > /usr/include/grp.h:75: error: parse error before '}' token > > /usr/include/grp.h:82: error: parse error before "struct" > > /usr/include/grp.h:83: error: parse error before "size_t" > > /usr/include/grp.h:87: error: parse error before "int" > > authenticate.c: In function `Auth_checkPrivs': > > authenticate.c:358: error: dereferencing pointer to incomplete type > > authenticate.c:364: error: dereferencing pointer to incomplete type > > authenticate.c:371: error: dereferencing pointer to incomplete type > > make[2]: *** [authenticate.o] Error 1 > > make[1]: *** [all-recursive] Error 1 > > make: *** [all-recursive-am] Error 2 > > I think I've made a silly error in the order of header file includes. Can you > try the following? It moves the includes of grp.h and pwd.h to after their > dependent includes. > > --- authenticate.c 12 Jan 2003 17:05:49 -0000 1.2 > +++ authenticate.c 16 Mar 2004 09:44:51 -0000 > @@ -11,13 +11,13 @@ > #endif > > #include <errno.h> > -#include <grp.h> > -#include <pwd.h> > #include <stdio.h> > #include <string.h> > #include <sys/types.h> > #include <sys/stat.h> > #include <unistd.h> > +#include <grp.h> > +#include <pwd.h> > #include "common.h" > #include "authenticate.h" > #include "configfile.h" That worked fine with "fuzz 2", thanks!! -Andre |