Hi,

let's resume .. these modification need to go into SysINcludeBSD.h:
#include <poll.h>
....
#include <mach/machine/vm_param.h>

After this, compilation runs a while and finally stops with

g++  -O2 -I. -D__UNIX__ -D__BSD__ -D__FREEBSD__ -DXMAIL_X86
-D_REENTRANT=3D1 -D_THREAD_SAFE=3D1 -c SysDep.cpp
In file included from SysDep.cpp:40:
SysDepBSD.cpp: In function `int SysMemoryInfo(SYS_INT64*, SYS_INT64*,=20
   SYS_INT64*, SYS_INT64*)':
SysDepBSD.cpp:2928: error: elements of array `kvm_swap KSwap[8]' have=20
   incomplete type
SysDepBSD.cpp:2928: error: storage size of `KSwap' isn't known
SysDepBSD.cpp:2929: error: `SWIF_DEV_PREFIX' undeclared (first use this=20
   function)
SysDepBSD.cpp:2929: error: (Each undeclared identifier is reported only
once=20
   for each function it appears in.)
SysDepBSD.cpp:2929: error: `kvm_getswapinfo' undeclared (first use this=20
   function)
make: *** [SysDep.o] Error 1

Further hints ? :-)

Thanks,
Harald



> -----Urspr=FCngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag von Davide Libenzi
> Gesendet: Donnerstag, 6. Mai 2004 20:34
> An: XMail mailing list
> Betreff: [xmail] Re: OSX Support
>=20
>=20
> On Thu, 6 May 2004, Christian Gross wrote:
>=20
> > Toby Reiter wrote:
> >=20
> > >>On Thu, 6 May 2004, Toby Reiter wrote:
> > >>
> > >>   =20
> > >>
> > >>
> > >% man 2 poll
> > >No entry for poll in section 2 of the manual
> > >
> > > =20
> > >
> > poll.h exists in /usr/include (I have Panther)
>=20
> Ok, this is one. Are you trying on 1.19?
>=20
http://www.xmailserver.org/xmail-1.19-pre03.tar.gz

Replace the #include <sys/poll.h> with #include <poll.h>. Also, the=20
vm_param.h path. Then retry ...



- 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]

-
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]

Reply via email to