pan-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pan-devel] Building PAN on Windows


From: DPA
Subject: [Pan-devel] Building PAN on Windows
Date: Sun, 05 Feb 2006 22:24:35 -0500
User-agent: Thunderbird 1.5 (Windows/20051201)

I am attempting to build the pan for windows via CVS and I am getting the following error when compiling it:
$ make
cd . && /bin/sh /home/Darren/pan/missing --run autoheader
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
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 -I/cygdrive/c/devel/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.o -MD -MP -MF ".deps/gmime.Tpo" \
-c -o gmime.o `test -f 'gmime.c' || echo './'`gmime.c; \
then mv ".deps/gmime.Tpo" ".deps/gmime.Po"; \
else rm -f ".deps/gmime.Tpo"; exit 1; \
fi
In file included from gmime-stream.h:35,
               from gmime-data-wrapper.h:37,
               from gmime.h:33,
               from gmime.c:28:
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'
In file included from gmime-data-wrapper.h:37,
               from gmime.h:33,
               from gmime.c:28:
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
make[2]: *** [gmime.o] Error 1
make[2]: Leaving directory `/home/Darren/pan/gmime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Darren/pan'
make: *** [all] Error 2

I was able to compile it fine on Linux, so am I possibly missing a library or is something else wrong?

Thanks!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]