[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pan-devel] Building PAN on Windows
From: |
DPA |
Subject: |
Re: [Pan-devel] Building PAN on Windows |
Date: |
Wed, 08 Feb 2006 21:15:34 -0500 |
User-agent: |
Thunderbird 1.5 (Windows/20051201) |
I added #include <stdio.h> to gmime-steam.h and it got further but now I
get the following:
$ make
make all-recursive
make[1]: Entering directory `/home/Darren/pan'
Making all in po
make[2]: Entering directory `/home/Darren/pan/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Darren/pan/po'
Making all in gmime
make[2]: Entering directory `/home/Darren/pan/gmime'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gmime
-IC:/msys/1.0/opt/gtk/include/glib-2.0
-IC:/msys/1.0/opt/gtk/lib/glib-2.0/include -Ic:/progra~1/Pcre/include
-I/c/mingw/include -DWINDOWS -DWIN32 -I/opt/gtk/include
-I/c/mingw/include -DWINDOWS -DWIN32 -I/opt/gtk/include -mwindows
-mno-cygwin -mms-bitfields -I. -mms-bitfields -mwin32 -mwindows -MT
gmime-parser.o -MD -MP -MF ".deps/gmime-parser.Tpo" \
-c -o gmime-parser.o `test -f 'gmime-parser.c' || echo
'./'`gmime-parser.c; \
then mv ".deps/gmime-parser.Tpo" ".deps/gmime-parser.Po"; \
else rm -f ".deps/gmime-parser.Tpo"; exit 1; \
fi
gmime-parser.c:30:41: /opt/pcre/include/pcreposix.h: No such file or
directory
In file included from gmime-stream.h:35,
from gmime-object.h:37,
from gmime-parser.h:36,
from gmime-parser.c:33:
c:/mingw/include/unistd.h:23: error: conflicting types for
'g_win32_ftruncate'
C:/msys/1.0/opt/gtk/include/glib-2.0/glib/gwin32.h:72: error: previous
declaration of 'g_win32_ftruncate' was here
c:/mingw/include/unistd.h:23: error: conflicting types for
'g_win32_ftruncate'
C:/msys/1.0/opt/gtk/include/glib-2.0/glib/gwin32.h:72: error: previous
declaration of 'g_win32_ftruncate' was here
gmime-parser.c:87: error: syntax error before "regex_t"
gmime-parser.c:87: warning: no semicolon at end of struct or union
gmime-parser.c:99: error: syntax error before ':' token
gmime-parser.c:100: error: syntax error before ':' token
gmime-parser.c:101: error: syntax error before ':' token
gmime-parser.c:102: error: syntax error before ':' token
gmime-parser.c:103: error: syntax error before ':' token
gmime-parser.c:109: error: syntax error before '}' token
gmime-parser.c: In function `parser_push_boundary':
gmime-parser.c:126: error: dereferencing pointer to incomplete type
gmime-parser.c:126: error: dereferencing pointer to incomplete type
gmime-parser.c:129: error: dereferencing pointer to incomplete type
gmime-parser.c:130: error: dereferencing pointer to incomplete type
gmime-parser.c: In function `parser_pop_boundary':
gmime-parser.c:151: error: dereferencing pointer to incomplete type
gmime-parser.c:156: error: dereferencing pointer to incomplete type
I tried various versions on mingw, various versions of PCRE and
Gnome-Common 2.4 and 2.8.
I am obviously doing something wrong but I can't think of what. Any tips?
Thanks!
Charles Kerr wrote:
K. Haley wrote:
DPA wrote:
gmime-stream.h:48: error: `SEEK_SET' undeclared here (not in a
function)
gmime-stream.h:48: error: enumerator value for `GMIME_STREAM_SEEK_SET'
not integer constant
gmime-stream.h:49: error: `SEEK_CUR' undeclared here (not in a
function)
gmime-stream.h:49: error: enumerator value for `GMIME_STREAM_SEEK_CUR'
not integer constant
gmime-stream.h:50: error: `SEEK_END' undeclared here (not in a
function)
gmime-stream.h:50: error: enumerator value for `GMIME_STREAM_SEEK_END'
not integer constant
I was able to compile it fine on Linux, so am I possibly missing a
library or is something else wrong?
IIRC those are defined in stdlib.h or stdio.h. Just grep for SEEK_SET
and add the appropriate include to gmime-stream.h.
Adding #include <stdio.h> to the top of gmime-stream.h should do it.
_______________________________________________
Pan-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/pan-devel