On Sat, 02 Jun 2007 13:28:05 +0200 Christian Buhtz <[EMAIL PROTECTED]> wrote:
CB> Vadim Zeitlin schrieb: CB> > Yes, but this is not all it does. I don't remember all the details CB> > but the best you can do is probably to try building it using its CB> > standard way (as explained in the README) CB> CB> I will read it again but it is unreadable. ;) This is why I said that running "nmake /n /f makefile.nt" could be an easier way to see how it works. I'm sorry but I really don't remember the details myself and I do know that it took me a long time to figure it out the first time... CB> > are in the project. In particular, ip4_nt.c is #included by os_nt.c CB> > (via tcp_nt.c) and is not meant to be compiled independently. CB> CB> tcp_nt.c is not imported but the compiler says (just the first errors): CB> > -------------- Build: Debug_Win32 in imap --------------- CB> > mingw32-gcc.exe -W -g -O0 -DWIN32 -D_DEBUG -D_LIB -DCHUNKSIZE=65536 CB> > -Isrc\c-client -Isrc\osdep\nt -Isrc\charset CB> > -IC:\Programme\CodeBlocks\include -c CB> > D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\os_nt.c CB> > -o debug\src\osdep\nt\os_nt.o In file included from CB> > D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\os_nt.c:45: CB> > CB> > D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/yunchan.c: CB> > In function `flock': CB> > D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/yunchan.c:63: CB> > warning: ordered comparison of pointer with integer zero CB> > D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/yunchan.c: CB> > In function `syslog': CB> > D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/yunchan.c:123: CB> > warning: passing arg 8 of `ReportEventA' from incompatible pointer CB> > type You'll probably want to use minimal warnings level for c-client compilation, we're not really interested in fixing warnings in it. CB> > D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/tcp_nt.c:29:19: CB> > ip_nt.c: No such file or directory ip_nt.c is created from ip4_nt.c (or ip6_nt.c but Mahogany currently doesn't support IP6). This is how c-client build system allows to configure its different aspects: it just has tons of slightly different files which are included in the build depending on the makefile options. Good luck, VZ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mahogany-Developers mailing list Mahogany-Developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mahogany-developers