Re: [Queue-developers] 1.40.1beta doesn't compile on Solaris 7
Brought to you by:
wkrebs
From: Werner G. K. <wer...@ya...> - 2001-05-12 01:01:03
|
This is a define.h problem. Ok, it's complaining about timestruc_t. I've just changed define.h in response to Alan's patch (see my just prior post), so maybe this fixes it. So, try the new CVS version. If this doesn't do it, then basically you've got to figure out where Solaris wants vnode.h including in the define.h. You can try moving it around in define.h. Putting at the top of define.h will probably solve these problems. (The problem is it may well break another system. Define.h is basically a work of art, which, once it works portably, you try not to mess with too much unless made necessary by a new RedHat release. :) Christian Parg wrote: > Hello ! > > I got the following errors, while trieing to compile 1.40.1beta > of GNU Queue on a solaris 7 host with gcc 2.8.1 > > cpa@schalke:cpa/queue-1.40.1beta> gmake > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ident.c > In file included from /usr/include/sys/vnode.h:42, > from /usr/include/sys/stream.h:22, > from /usr/include/netinet/in.h:38, > from /usr/include/netdb.h:96, > from define.h:37, > from queue.h:25, > from ident.c:28: > /usr/include/sys/resource.h:144: field `ru_utime' has incomplete type > /usr/include/sys/resource.h:145: field `ru_stime' has incomplete type > In file included from /usr/include/sys/stream.h:22, > from /usr/include/netinet/in.h:38, > from /usr/include/netdb.h:96, > from define.h:37, > from queue.h:25, > from ident.c:28: > /usr/include/sys/vnode.h:167: parse error before `timestruc_t' > /usr/include/sys/vnode.h:167: warning: no semicolon at end of struct or > union > /usr/include/sys/vnode.h:168: warning: data definition has no type or > storage class > /usr/include/sys/vnode.h:169: parse error before `va_ctime' > /usr/include/sys/vnode.h:169: warning: data definition has no type or > storage class > /usr/include/sys/vnode.h:174: parse error before `}' > /usr/include/sys/vnode.h:174: warning: data definition has no type or > storage class > /usr/include/sys/vnode.h:201: parse error before `vattr32_t' > /usr/include/sys/vnode.h:201: warning: data definition has no type or > storage class > In file included from define.h:128, > from queue.h:25, > from ident.c:28: > /usr/include/sys/vfs.h:186: warning: `struct statvfs64' declared inside > parameter list > /usr/include/sys/vfs.h:186: warning: its scope is only this definition > or declaration, > /usr/include/sys/vfs.h:186: warning: which is probably not what you > want. > gmake: *** [ident.o] Error 1 > cpa@schalke:cpa/queue-1.40.1beta> > > In hope to help improving queue. > > Christian > > _______________________________________________ > Queue-developers mailing list Que...@li... > To unsubscribe, subscribe, or set options: > http://lists.sourceforge.net/lists/listinfo/queue-developers |