Vadim Zeitlin schrieb:
> Yes, but this is not all it does. I don't remember all the details
> but the best you can do is probably to try building it using its
> standard way (as explained in the README)

I will read it again but it is unreadable. ;)

> You shouldn't compile ip4_nt.c directly. Look at the list of files in
>  lib/imap/imap.vcproj, you won't find it there

It is a import-problem. ip4_nt.c is in the header-section and C::B
imported as as to-build. I excluded it from the build-process.

> are in the project. In particular, ip4_nt.c is #included by os_nt.c
> (via tcp_nt.c) and is not meant to be compiled independently.

tcp_nt.c is not imported but the compiler says (just the first errors):
> -------------- Build: Debug_Win32 in imap --------------- 
> mingw32-gcc.exe -W -g -O0 -DWIN32 -D_DEBUG -D_LIB -DCHUNKSIZE=65536
> -Isrc\c-client -Isrc\osdep\nt -Isrc\charset
> -IC:\Programme\CodeBlocks\include  -c
> D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\os_nt.c
> -o debug\src\osdep\nt\os_nt.o In file included from
> D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\os_nt.c:45:
>  
> D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/yunchan.c:
> In function `flock': 
> D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/yunchan.c:63:
> warning: ordered comparison of pointer with integer zero 
> D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/yunchan.c:
> In function `syslog': 
> D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/yunchan.c:123:
> warning: passing arg 8 of `ReportEventA' from incompatible pointer
> type In file included from
> D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\os_nt.c:46:
>  
> D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/tcp_nt.c:29:19:
> ip_nt.c: No such file or directory In file included from
> D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\os_nt.c:46:
>  
> D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/tcp_nt.c:
> In function `tcp_open': 
> D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/tcp_nt.c:127:
> error: `WINSOCK_VERSION' undeclared (first use in this function) 
> D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/tcp_nt.c:127:
> error: (Each undeclared identifier is reported only once 
> D:\Garage\projekte\mahogany\mahoganySVN\lib\imap\src\osdep\nt\/tcp_nt.c:127:
> error: for each function it appears in.)


> Yes, this is complicated and kind of ugly but if you just reproduce
> what the VC project file does everything should be ok.

I will try to read it.


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

Reply via email to