The make throws these errors on x86_64 with gcc-4.4.2;
make[1]: Entering directory `/usr/src/libEMF-1.0.4/include'
Making all in libEMF
make[2]: Entering directory `/usr/src/libEMF-1.0.4/include/libEMF'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/libEMF-1.0.4/include/libEMF'
make[2]: Entering directory `/usr/src/libEMF-1.0.4/include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/src/libEMF-1.0.4/include'
make[1]: Leaving directory `/usr/src/libEMF-1.0.4/include'
Making all in libemf
make[1]: Entering directory `/usr/src/libEMF-1.0.4/libemf'
/bin/sh /usr/bin/libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../config -I../include -O2 -march=x86-64 -pipe -D_REENTRANT -DPTHREADS -MT libemf.lo -MD -MP -MF .deps/libemf.Tpo -c -o libemf.lo libemf.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../config -I../include -O2 -march=x86-64 -pipe -D_REENTRANT -DPTHREADS -MT libemf.lo -MD -MP -MF .deps/libemf.Tpo -c libemf.cpp -fPIC -DPIC -o .libs/libemf.o
In file included from ../include/libEMF/wine/windef.h:16,
from ../include/libEMF/emf.h:27,
from libemf.h:31,
from libemf.cpp:24:
../include/libEMF/wine/winnt.h:45:3: error: #error Unknown CPU architecture!
../include/libEMF/wine/winnt.h:1051:2: error: #error You need to define a CONTEXT for your CPU
In file included from ../include/libEMF/wine/windef.h:16,
from ../include/libEMF/emf.h:27,
from libemf.h:31,
from libemf.cpp:24:
../include/libEMF/wine/winnt.h:1054: error: expected initializer before '*' token
../include/libEMF/wine/winnt.h:2294: error: 'PCONTEXT' does not name a type
../include/libEMF/wine/winnt.h:2307: error: 'PCONTEXT' has not been declared
In file included from ../include/libEMF/emf.h:28,
from libemf.h:31,
from libemf.cpp:24:
../include/libEMF/wine/winbase.h:120: error: 'PCONTEXT' does not name a type
In file included from ../include/libEMF/emf.h:28,
from libemf.h:31,
from libemf.cpp:24:
../include/libEMF/wine/winbase.h:1243: error: 'CONTEXT' has not been declared
../include/libEMF/wine/winbase.h:1377: error: ISO C++ forbids declaration of 'CONTEXT' with no type
../include/libEMF/wine/winbase.h:1377: error: expected ',' or '...' before '*' token
make[1]: *** [libemf.lo] Error 1
make[1]: Leaving directory `/usr/src/libEMF-1.0.4/libemf'
make: *** [all-recursive] Error 1
I think this is fixed.