From: Kevin W. <kev...@ho...> - 2005-03-15 03:12:41
|
When we last left off, I was had mentioned that I would first focus on building Perl for Windows (using Visual Studio .NET 2003). I was able to accomplish and it turned out to be rather easy. Following compilation of Perl for Windows, I then switched back to the ../wince directory to pick-up with building Perl for Windows CE. When I made another attempt at this build, I was back to the following error: Compiling for wince-arm-pocket-wce300 LIB=C:\Windows CE Tools\WCE300\Pocket PC 2002\lib\ARM INCLUDE=C:\Windows CE Tools\WCE300\Pocket PC 2002\include PATH=C:\Program Files\Microsoft eMbedded C++ 4.0 clarm.exe -c -nologo -Gf -W3 -I.\include -I..\win32\include -I. -I.. -DW IN32 -D_CONSOLE -DNO_STRICT -D_WINDOWS -D_WIN32_WCE=300 -DUNDER_CE=300 -D ARM -D arm -D _ARM_ -D _arm_ -DPROCESSOR_ARM -D _MT -D _DLL -DPALM_SIZE -DPOCKET_SI ZE -I E:\MYLIBR~1\CELIB-~1.11-\inc -D PERL -O2 -Ot -DPERLDLL -DPERL_CORE -D _WINDOWS -D_WIN32_WCE=300 -DUNDER_CE=300 -D ARM -D arm -D _ARM_ -D _arm_ -DPROC ESSOR_ARM -D _MT -D _DLL -DPALM_SIZE -DPOCKET_SIZE -I E:\MYLIBR~1\CELIB-~1.11- \inc -D PERL -O2 -Ot -DUSE_PERLIO -DPERL_EXTERNAL_GLOB -Fowince-arm-pocket-wce30 0\dll\ ..\av.c av.c e:\perl\perl.h(380) : fatal error C1083: Cannot open include file: 'sys/types.h' No such file or directory NMAKE : fatal error U1077: 'clarm.exe' : return code '0x2' Stop. Looking more closing at the list of directories to include, we have the following: INCLUDES = -I.\include -I..\win32\include -I. -I.. (#line 468) There is also -I E:\MYLIBR~1\CELIB-~1.11-\inc. From what I have been to see, none of the directories related to EVC or the Pocket PC platform SDK have the sys/types.h header file. I can locate the types.h header file in the following directory (part of VS .NET 2003): C:\PROGRA~1\MICROS~1.NET\Vc7\include\sys> In general, where should this header file be sourced from? The Embedded Visual C++ (base_ installation, the Windows CE Platform SDK, or the device-specific directory (include and lib)? - Kevin |