[xmail] Re: Unable to compile Xmail on NetBSD 3.0
On 11 Mar 2006, at 8:37, Davide Libenzi wrote: On Tue, 7 Mar 2006, David Lord wrote: Well it was quite a while back (Jan 17). g++ -O2 -I. -D__UNIX__ -D__BSD__ -D__NETBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE -c SysDep.cpp In file included from SysDep.cpp:40: SysDepBSD.cpp: In function `int SysGetDiskSpace(const char*, SYS_INT64*, SYS_INT64*)': SysDepBSD.cpp:2429: error: aggregate `statfs SFS' has incomplete type and cannot be defined SysDepBSD.cpp:2431: error: invalid use of undefined type `struct statfs' SysDepBSD.cpp:2429: error: forward declaration of `struct statfs' gmake: *** [SysDep.o] Error 1 It didn't get very far. I can post full output 4.5k but that was first error encountered. I've not had any other unexplained problem during setting up this server. xmail-1.21 compiled ok on the k6-400 with NetBSD 2.0 (gcc 2.95) but on trying again after update to NetBSD 3.0 (gcc 3.3.3) and failure of xmail-1.22 to compile I found that wouldn't compile either and gave same error. That would suggest I try again with gcc 2.95 which I'll try after working out how I can safely install it without messing up existing setup. Ok, now I remember. This is not a gcc problem. You seem to be missing (or have a broken setup) of the libc development package (dunno how it is called in NetBSD. Thanks Davide I just found this in /usr/src/UPDATING 20040418: statfs(2) and friends have been replaced by statvfs(2). ... In addition your libc build might not work (undefined SYS_statfs symbol) because make clean does not know how to remove files it does not know about anymore. So that's got me progressed a bit further and seems to be related as my hack was to change statfs to statvfs in SysDepBSD.cpp. However I thought there were compatibility settings in use that were supposed to handle this and the suggested solution above doesn't seem applicable. David - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Unable to compile Xmail on NetBSD 3.0
On Sun, 12 Mar 2006, David Lord wrote: Thanks Davide I just found this in /usr/src/UPDATING 20040418: statfs(2) and friends have been replaced by statvfs(2). ... In addition your libc build might not work (undefined SYS_statfs symbol) because make clean does not know how to remove files it does not know about anymore. So that's got me progressed a bit further and seems to be related as my hack was to change statfs to statvfs in SysDepBSD.cpp. However I thought there were compatibility settings in use that were supposed to handle this and the suggested solution above doesn't seem applicable. I am definitely a Unix kinda of guy, but I have to say that there is a reason why Microsoft makes bazillions of dollars. They never do that. You can get a Win32 binary (leaving DOS stuff apart) built in 1995 and run it today w/out problems. And we're talking about binaries, letting apart all the times ABI are broken in the middle. Now, the fix is not a problem, but the source files start becoming a mess in trying to distinguish even between versions of the same OS. Crap! - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Unable to compile Xmail on NetBSD 3.0
On Tue, 7 Mar 2006, David Lord wrote: Well it was quite a while back (Jan 17). g++ -O2 -I. -D__UNIX__ -D__BSD__ -D__NETBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE -c SysDep.cpp In file included from SysDep.cpp:40: SysDepBSD.cpp: In function `int SysGetDiskSpace(const char*, SYS_INT64*, SYS_INT64*)': SysDepBSD.cpp:2429: error: aggregate `statfs SFS' has incomplete type and cannot be defined SysDepBSD.cpp:2431: error: invalid use of undefined type `struct statfs' SysDepBSD.cpp:2429: error: forward declaration of `struct statfs' gmake: *** [SysDep.o] Error 1 It didn't get very far. I can post full output 4.5k but that was first error encountered. I've not had any other unexplained problem during setting up this server. xmail-1.21 compiled ok on the k6-400 with NetBSD 2.0 (gcc 2.95) but on trying again after update to NetBSD 3.0 (gcc 3.3.3) and failure of xmail-1.22 to compile I found that wouldn't compile either and gave same error. That would suggest I try again with gcc 2.95 which I'll try after working out how I can safely install it without messing up existing setup. Ok, now I remember. This is not a gcc problem. You seem to be missing (or have a broken setup) of the libc development package (dunno how it is called in NetBSD. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Unable to compile Xmail on NetBSD 3.0
On Mon, 6 Mar 2006, David Lord wrote: Update on my problem with xmail-1.22 failing to compile on NetBSD 3.0/i386. Still no luck with this. It would be nice to hear from someone that is using xmailserver with NetBSD 3.0/i386. Sorry, I have a very short memory ;) What was the problem with this? Did you post build errors? - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Unable to compile Xmail on NetBSD 3.0
On 7 Mar 2006, at 7:54, Davide Libenzi wrote: On Mon, 6 Mar 2006, David Lord wrote: Update on my problem with xmail-1.22 failing to compile on NetBSD 3.0/i386. Still no luck with this. It would be nice to hear from someone that is using xmailserver with NetBSD 3.0/i386. Sorry, I have a very short memory ;) What was the problem with this? Did you post build errors? Well it was quite a while back (Jan 17). g++ -O2 -I. -D__UNIX__ -D__BSD__ -D__NETBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE -c SysDep.cpp In file included from SysDep.cpp:40: SysDepBSD.cpp: In function `int SysGetDiskSpace(const char*, SYS_INT64*, SYS_INT64*)': SysDepBSD.cpp:2429: error: aggregate `statfs SFS' has incomplete type and cannot be defined SysDepBSD.cpp:2431: error: invalid use of undefined type `struct statfs' SysDepBSD.cpp:2429: error: forward declaration of `struct statfs' gmake: *** [SysDep.o] Error 1 It didn't get very far. I can post full output 4.5k but that was first error encountered. I've not had any other unexplained problem during setting up this server. xmail-1.21 compiled ok on the k6-400 with NetBSD 2.0 (gcc 2.95) but on trying again after update to NetBSD 3.0 (gcc 3.3.3) and failure of xmail-1.22 to compile I found that wouldn't compile either and gave same error. That would suggest I try again with gcc 2.95 which I'll try after working out how I can safely install it without messing up existing setup. David - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Unable to compile Xmail on NetBSD 3.0
On 20 Jan 2006, at 17:42, Davide Libenzi wrote: On Fri, 20 Jan 2006, David Lord wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17 Jan 2006, at 11:41, Davide Libenzi wrote: Can you try this? $ find /usr/include -type f -exec grep -H statfs {} \; Hi again I'm still no further forward with solution as to why I can't get a clean compile of 1.21 or 1.22 on NetBSD 3.0. Although I've not yet done a reinstall from scratch I've extracted all distribution files and above command pointed to that usr/include is exactly same as before. I've traced where I went wrong on subsequent postinstall and deleted some critical files (recovered from backup) and after reducing maximum sizes and number of mails parameters got around the error - 213 (this pc has only 64 MB ram vs 128 MB on system being replaced. XMail still seems to be working ok for local mail and a short period with pop3 collection for lan directed through this pc. I've a domain that gets so little genuine mail I'll direct that through this box and setup some of pcs on lan to send through it. Only real problem I've seen is that /etc/daily crontab creates daily.out with 'To: root' and uses 'sendmail -t' to extract recipients which isn't accepted by XMails sendmail. I've just changed that and similar crontabs to use real sendmail. Honestly I have no idea. I'd restart with a clean system install, and build up from there. When things gets really screwed and wierd, that's usually the best way. Update on my problem with xmail-1.22 failing to compile on NetBSD 3.0/i386. Still no luck with this. It would be nice to hear from someone that is using xmailserver with NetBSD 3.0/i386. I'd been trying to compile on a k6-400 pc that was first installed with NetBSD 2.02 then updated eventually to NetBSD 3.0. I now have a desktop p4-2600 with NetBSD 3.0 default full install and attempt to compile xmail 1.22 gives exact same error and failure as before. Meanwhile the k6x400 with the source hacked (almost certainly incorrectly - I'm no programmer) such that it does compile has now been up 47 days but has only been very lightly loaded with test emails. It will be a bit of a hassle but I'm going to switch domain that is most spammed/with least genuine email to go through that. David - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Unable to compile Xmail on NetBSD 3.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17 Jan 2006, at 11:41, Davide Libenzi wrote: Can you try this? $ find /usr/include -type f -exec grep -H statfs {} \; Hi again I'm still no further forward with solution as to why I can't get a clean compile of 1.21 or 1.22 on NetBSD 3.0. Although I've not yet done a reinstall from scratch I've extracted all distribution files and above command pointed to that usr/include is exactly same as before. I've traced where I went wrong on subsequent postinstall and deleted some critical files (recovered from backup) and after reducing maximum sizes and number of mails parameters got around the error - 213 (this pc has only 64 MB ram vs 128 MB on system being replaced. XMail still seems to be working ok for local mail and a short period with pop3 collection for lan directed through this pc. I've a domain that gets so little genuine mail I'll direct that through this box and setup some of pcs on lan to send through it. Only real problem I've seen is that /etc/daily crontab creates daily.out with 'To: root' and uses 'sendmail -t' to extract recipients which isn't accepted by XMails sendmail. I've just changed that and similar crontabs to use real sendmail. David -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 -- QDPGP 2.65 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBQ9CpIa2RmIodDo7KEQLF9gCcDjZOI9dhOha33aB/X5WFPgiauR8AoOTT CaPG0LY1Rbz4pQaqPz0yaBdX =u7HK -END PGP SIGNATURE- - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Unable to compile Xmail on NetBSD 3.0
On Fri, 20 Jan 2006, David Lord wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17 Jan 2006, at 11:41, Davide Libenzi wrote: Can you try this? $ find /usr/include -type f -exec grep -H statfs {} \; Hi again I'm still no further forward with solution as to why I can't get a clean compile of 1.21 or 1.22 on NetBSD 3.0. Although I've not yet done a reinstall from scratch I've extracted all distribution files and above command pointed to that usr/include is exactly same as before. I've traced where I went wrong on subsequent postinstall and deleted some critical files (recovered from backup) and after reducing maximum sizes and number of mails parameters got around the error - 213 (this pc has only 64 MB ram vs 128 MB on system being replaced. XMail still seems to be working ok for local mail and a short period with pop3 collection for lan directed through this pc. I've a domain that gets so little genuine mail I'll direct that through this box and setup some of pcs on lan to send through it. Only real problem I've seen is that /etc/daily crontab creates daily.out with 'To: root' and uses 'sendmail -t' to extract recipients which isn't accepted by XMails sendmail. I've just changed that and similar crontabs to use real sendmail. Honestly I have no idea. I'd restart with a clean system install, and build up from there. When things gets really screwed and wierd, that's usually the best way. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Unable to compile Xmail on NetBSD 3.0
On Tue, 17 Jan 2006, David Lord wrote: On 16 Jan 2006, at 16:28, Davide Libenzi wrote: On Tue, 17 Jan 2006, David Lord wrote: I've been trying to setup a server to replace the one on FreeBSD 5.3 which is giving a fairly regular panic due to problems more with FreeBSD than Xmail which I had running for months without problem on much faster hardware (p4-2400 vs 586-133). NetBSD box is an AMD k6-400 and I had NetBSD 2.0 installed and Xmail 1.21. NetBSD was upgraded to 2.0.2 then 3.0 and Xmail still running ok during testing. I'd left upgrade of Xmail to 1.22 until last. On compile I get following error: g++ -O2 -I. -D__UNIX__ -D__BSD__ -D__NETBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE -c SysDep.cpp In file included from SysDep.cpp:40: SysDepBSD.cpp: In function `int SysGetDiskSpace(const char*, SYS_INT64*, SYS_INT64*)': SysDepBSD.cpp:2429: error: aggregate `statfs SFS' has incomplete type and cannot be defined SysDepBSD.cpp:2431: error: invalid use of undefined type `struct statfs' SysDepBSD.cpp:2429: error: forward declaration of `struct statfs' gmake: *** [SysDep.o] Error 1 First I tried recompile of Xmail 1.21 and this failed on NetBSD 3.0 whereas it had compiled without problem on NetBSD 2.0. I'm no coder but noticed statfs is replaced by statvfs in solaris version of the file so gave that a shot and compile completed without error. I'm running out of time to get this installed tonight but if anyone knows of correct fix it might be helpful tomorrow. What does `echo $OSTYPE` return on the NetBSD 3.0 box? bash-3.00# echo $OSTYPE netbsdelf but I'd used command 'OSTYPE=NetBSD gmake -f Makefile.bsd' I've just tried OSTYPE=NetBSD so 'echo $OSTYPE' returns NetBSD and compile with original code and commandline above still fails. The compile output has shown -D__UNIX__ -D_BSD__ -D__NETBSD__ on all attempts. Also tried from sh then ksh rather than bash and all fail at same point. Can you try this? $ find /usr/include -type f -exec grep -H statfs {} \; - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Unable to compile Xmail on NetBSD 3.0
On 17 Jan 2006, at 11:41, Davide Libenzi wrote: On Tue, 17 Jan 2006, David Lord wrote: On 16 Jan 2006, at 16:28, Davide Libenzi wrote: On Tue, 17 Jan 2006, David Lord wrote: I've been trying to setup a server to replace the one on FreeBSD 5.3 which is giving a fairly regular panic due to problems more with FreeBSD than Xmail which I had running for months without problem on much faster hardware (p4-2400 vs 586-133). NetBSD box is an AMD k6-400 and I had NetBSD 2.0 installed and Xmail 1.21. NetBSD was upgraded to 2.0.2 then 3.0 and Xmail still running ok during testing. I'd left upgrade of Xmail to 1.22 until last. On compile I get following error: g++ -O2 -I. -D__UNIX__ -D__BSD__ -D__NETBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE -c SysDep.cpp In file included from SysDep.cpp:40: SysDepBSD.cpp: In function `int SysGetDiskSpace(const char*, SYS_INT64*, SYS_INT64*)': SysDepBSD.cpp:2429: error: aggregate `statfs SFS' has incomplete type and cannot be defined SysDepBSD.cpp:2431: error: invalid use of undefined type `struct statfs' SysDepBSD.cpp:2429: error: forward declaration of `struct statfs' gmake: *** [SysDep.o] Error 1 First I tried recompile of Xmail 1.21 and this failed on NetBSD 3.0 whereas it had compiled without problem on NetBSD 2.0. I'm no coder but noticed statfs is replaced by statvfs in solaris version of the file so gave that a shot and compile completed without error. I'm running out of time to get this installed tonight but if anyone knows of correct fix it might be helpful tomorrow. What does `echo $OSTYPE` return on the NetBSD 3.0 box? bash-3.00# echo $OSTYPE netbsdelf but I'd used command 'OSTYPE=NetBSD gmake -f Makefile.bsd' I've just tried OSTYPE=NetBSD so 'echo $OSTYPE' returns NetBSD and compile with original code and commandline above still fails. The compile output has shown -D__UNIX__ -D_BSD__ -D__NETBSD__ on all attempts. Also tried from sh then ksh rather than bash and all fail at same point. Can you try this? $ find /usr/include -type f -exec grep -H statfs {} \; OK. output below. Meanwhile I find my previous xmail-1.21 configuration isn't working after the NetBSD update and gives error - -213 on attempt to access the smtp server which is same as the xmail- 1.22 is giving. Also when I take the Maildir and binaries after I hacked xmail-1.22 to compile this does accept smtp connections without error. I'm slowly adding my configuration changes to this to find where it stops working. One other possibility is I missed out a required postupdate step so I'll run postinstall against the NetBSD 3.0 distribution from cd. Thanks David $ find /usr/include -type f -exec grep -H statfs {} \; nfs/nfs_var.h:int nfsrv_statfs __P((struct nfsrv_descript *, \ struct nfssvc_sock *, nfs/nfsproto.h:struct nfs_statfs { rpcsvc/nfs_prot.x:struct statfsokres { rpcsvc/nfs_prot.x:union statfsres switch (nfsstat status) { rpcsvc/nfs_prot.x: statfsokres reply; rpcsvc/nfs_prot.x: statfsres rpcsvc/nfs_prot.h:struct statfsokres { rpcsvc/nfs_prot.h:typedef struct statfsokres statfsokres; rpcsvc/nfs_prot.h:extern C bool_t xdr_statfsokres(XDR *, \ statfsokres *); rpcsvc/nfs_prot.h:extern bool_t xdr_statfsokres(XDR *, \ statfsokres *); rpcsvc/nfs_prot.h:bool_t xdr_statfsokres(); rpcsvc/nfs_prot.h:struct statfsres { rpcsvc/nfs_prot.h: statfsokres reply; rpcsvc/nfs_prot.h: } statfsres_u; rpcsvc/nfs_prot.h:typedef struct statfsres statfsres; rpcsvc/nfs_prot.h:extern C bool_t xdr_statfsres(XDR *, \ statfsres *); rpcsvc/nfs_prot.h:extern bool_t xdr_statfsres(XDR *, \ statfsres *); rpcsvc/nfs_prot.h:bool_t xdr_statfsres(); rpcsvc/nfs_prot.h:extern C statfsres *nfsproc_statfs_2(nfs_fh *, \ CLIENT *); rpcsvc/nfs_prot.h:extern C statfsres \ *nfsproc_statfs_2_svc(nfs_fh *, struct svc_req *); rpcsvc/nfs_prot.h:extern statfsres *nfsproc_statfs_2(nfs_fh *, \ CLIENT *); rpcsvc/nfs_prot.h:extern statfsres *nfsproc_statfs_2_svc(nfs_fh *, \ struct svc_req *); rpcsvc/nfs_prot.h:extern statfsres *nfsproc_statfs_2(); rpcsvc/nfs_prot.h:extern statfsres *nfsproc_statfs_2_svc(); sys/mount.h:struct statfs12 { sys/mount.h:int fstatfs(int, struct statfs12 *); sys/mount.h:int getfsstat(struct statfs12 *, long, int); sys/mount.h:int statfs(const char *, struct statfs12 *); sys/mount.h:int getmntinfo(struct statfs12 **, int); sys/mount.h:int fhstatfs(const fhandle_t *, struct statfs12 *); sys/syscall.h:/* syscall: compat_20_getfsstat ret: int args: \ struct statfs12 * long int */ sys/syscall.h:/* syscall: compat_20_statfs ret: int args: \ const char * struct statfs12 * */ sys/syscall.h:#define SYS_compat_20_statfs157 sys/syscall.h:/* syscall: compat_20_fstatfs ret: int args: \ int struct statfs12 * */ sys/syscall.h:#define SYS_compat_20_fstatfs 158 sys/syscall.h:/* syscall: compat_20_fhstatfs ret: int args: \ const fhandle_t *
[xmail] Re: Unable to compile Xmail on NetBSD 3.0
On 17 Jan 2006, at 22:26, David Lord wrote: One other possibility is I missed out a required postupdate step so I'll run postinstall against the NetBSD 3.0 distribution from cd. Postinstall found lots of failed checks and fixed them. Rebout shows system to be hosed. At least restoring the backup etc has it booting again and xmail-1.22 still accepting connections and delivering to domains Maildir/new. I have all domains and users added now but not yet touched server.tab which still has xmailserver.test. It does look that there might be a problem with my NetBSD 3.0 install so I might backup all the configurations and do a clean install, especially as I want to make some changes to partition sizes as well. Regards David - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Unable to compile Xmail on NetBSD 3.0
On Tue, 17 Jan 2006, David Lord wrote: I've been trying to setup a server to replace the one on FreeBSD 5.3 which is giving a fairly regular panic due to problems more with FreeBSD than Xmail which I had running for months without problem on much faster hardware (p4-2400 vs 586-133). NetBSD box is an AMD k6-400 and I had NetBSD 2.0 installed and Xmail 1.21. NetBSD was upgraded to 2.0.2 then 3.0 and Xmail still running ok during testing. I'd left upgrade of Xmail to 1.22 until last. On compile I get following error: g++ -O2 -I. -D__UNIX__ -D__BSD__ -D__NETBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE -c SysDep.cpp In file included from SysDep.cpp:40: SysDepBSD.cpp: In function `int SysGetDiskSpace(const char*, SYS_INT64*, SYS_INT64*)': SysDepBSD.cpp:2429: error: aggregate `statfs SFS' has incomplete type and cannot be defined SysDepBSD.cpp:2431: error: invalid use of undefined type `struct statfs' SysDepBSD.cpp:2429: error: forward declaration of `struct statfs' gmake: *** [SysDep.o] Error 1 First I tried recompile of Xmail 1.21 and this failed on NetBSD 3.0 whereas it had compiled without problem on NetBSD 2.0. I'm no coder but noticed statfs is replaced by statvfs in solaris version of the file so gave that a shot and compile completed without error. I'm running out of time to get this installed tonight but if anyone knows of correct fix it might be helpful tomorrow. What does `echo $OSTYPE` return on the NetBSD 3.0 box? - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Unable to compile Xmail on NetBSD 3.0
On 16 Jan 2006, at 16:28, Davide Libenzi wrote: On Tue, 17 Jan 2006, David Lord wrote: I've been trying to setup a server to replace the one on FreeBSD 5.3 which is giving a fairly regular panic due to problems more with FreeBSD than Xmail which I had running for months without problem on much faster hardware (p4-2400 vs 586-133). NetBSD box is an AMD k6-400 and I had NetBSD 2.0 installed and Xmail 1.21. NetBSD was upgraded to 2.0.2 then 3.0 and Xmail still running ok during testing. I'd left upgrade of Xmail to 1.22 until last. On compile I get following error: g++ -O2 -I. -D__UNIX__ -D__BSD__ -D__NETBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE -c SysDep.cpp In file included from SysDep.cpp:40: SysDepBSD.cpp: In function `int SysGetDiskSpace(const char*, SYS_INT64*, SYS_INT64*)': SysDepBSD.cpp:2429: error: aggregate `statfs SFS' has incomplete type and cannot be defined SysDepBSD.cpp:2431: error: invalid use of undefined type `struct statfs' SysDepBSD.cpp:2429: error: forward declaration of `struct statfs' gmake: *** [SysDep.o] Error 1 First I tried recompile of Xmail 1.21 and this failed on NetBSD 3.0 whereas it had compiled without problem on NetBSD 2.0. I'm no coder but noticed statfs is replaced by statvfs in solaris version of the file so gave that a shot and compile completed without error. I'm running out of time to get this installed tonight but if anyone knows of correct fix it might be helpful tomorrow. What does `echo $OSTYPE` return on the NetBSD 3.0 box? bash-3.00# echo $OSTYPE netbsdelf but I'd used command 'OSTYPE=NetBSD gmake -f Makefile.bsd' I've just tried OSTYPE=NetBSD so 'echo $OSTYPE' returns NetBSD and compile with original code and commandline above still fails. The compile output has shown -D__UNIX__ -D_BSD__ -D__NETBSD__ on all attempts. Also tried from sh then ksh rather than bash and all fail at same point. Regards David - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]