From: Vadim <va...@vk...> - 2007-05-21 17:19:53
|
Zhang, Hao wrote: >Vadmin: > >I attached compile.bat as a text version. >Device OS is WindowsCE5.0 >CPU is: Intel ARM920T-PXA2 > > that's good. okay, those include files that you manually copied from somewhere - remove them back, this is incorrect approach. what cross-platform SDK have you installed? cross-compiling is two-fold: it builds miniperl.exe locally (using MSVC++) and then with the help of that miniperl.exe it makes actual cross-compiling. Didn't you passed this stage? Vadim. >-Hao Zhang >(858)736-8316 >Transcore, San Diego > > >-----Original Message----- >From: Vadim [mailto:va...@vk...] >Sent: Monday, May 21, 2007 9:03 AM >To: Zhang, Hao >Cc: per...@li... >Subject: Re: [perlce-user] problems on build window CE perl > > >Hi, > >file didn't pass through, please insert its contents into the letter. > > >what is your pocket-pc os? what is your device's processor (look in the >'settings'->'system'->'about') > >and please hit 'reply to all' when replying, so your attempt will be >archived and may be reused occasionally. > >Vadim. > > >Zhang, Hao wrote: > > > >>Vadmin: >> >>I followed the instruction and complied it on Windows 2003 server. I attached my compile.bat file for your review. >> >>My device is DAP-CE8800. I am going to install the perlCE on it. Right now, I didn't get the PerlCE. >> >>Thank you very much. >> >>-Hao Zhang >>(858)736-8316 >>Transcore, San Diego >> >> >>-----Original Message----- >>From: Vadim [mailto:va...@vk...] >>Sent: Monday, May 21, 2007 8:45 AM >>To: Zhang, Hao >>Cc: per...@li... >>Subject: Re: [perlce-user] problems on build window CE perl >> >> >>Zhang, Hao wrote: >> >> >> >> >> >>>I am a new Window CE developer. When I tried to build Window CE perl. I couldn't build it. There are some *.h file that I have to manually find from somewhere and copy them to the include folder. Below is the partail error message. >>> >>>Could you help me to tell me. >>>1. Which Microsoft Visual C++ version I should I use or it doesn't matter? >>> >>> >>> >>> >>> >>> >>this greatly depends on your device. >> >>What processor is it ? What OS version? >> >>Your build errors are caused by incorrect configuration - you need more >>environment variables settings. >> >>Have you followed instructions on perlce.sf.net closely? >> >>Best regards, >>Vadim. >> >> >> >> >> >>>Thank you. >>>-------------------------------------------------------------------------------------------------------------------- >>>Compiling for wince-arm-pocket-wce300 >>>LIB=C:\Windows CE Tools\wce300\WCE300\MS Pocket PC\lib\ARM >>>INCLUDE=C:\Windows CE Tools\wce300\WCE300\MS Pocket PC\include >>>PATH= >>> >>> cd ../win32 >>> set PATH=C:\Program Files\Microsoft Visual Studio 8\VC\ce\bin;;C:\Progra >>>m Files\Serena\Dimensions 10.1\CM\prog;C:\bin;C:\Perl\bin\;V:\oracle\ora92\bin;C >>>:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WI >>>NDOWS\system32;C:\WINDOWS;C:\Merant\DIMENS~1\8.0\PROG;C:\WINDOWS\System32\Wbem;z >>>:\arcs\bin;C:\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Progra >>>m Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\ >>>90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Commo >>>n7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies >>>\;C:\Program Files\Microsoft Visual Studio 8\VC\bin;C:\Program Files\Common File >>>s\Microsoft Shared\VSA\8.0\VsaEnv;z:\arcs\bin >>> nmake -nologo -f Makefile "CCHOME=C:\Program Files\Microsoft Visual Stud >>>io 8\VC\ce" "CCINCDIR=C:\Program Files\Microsoft Visual Studio 8\VC\ce\include" >>>"CCLIBDIR=C:\Program Files\Microsoft Visual Studio 8\VC\ce\lib" "INCLUDE=C:\Prog >>>ram Files\Microsoft Visual Studio 8\VC\ce\include" "LIB=C:\Program Files\Microso >>>ft Visual Studio 8\VC\ce\lib" "LINK_FLAGS=" .\config.h ..\miniperl.exe >>>'.\config.h' is up-to-date >>> cl -c -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -D_CONS >>>OLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERLDLL -DPERL_CORE -MD -Zi -DNDEBUG -O1 - >>>DPERL_EXTERNAL_GLOB -Fo.\mini\av.obj ..\av.c >>>cl : Command line warning D9002 : ignoring unknown option '-Gf' >>>av.c >>>v:\hao\perl58\perl-5.8.8\stdlib.h(1040) : error C2065: '_JBLEN' : undeclared ide >>>ntifier >>>v:\hao\perl58\perl-5.8.8\stdlib.h(1040) : error C2057: expected constant express >>>ion >>>v:\hao\perl58\perl-5.8.8\stdlib.h(1040) : error C2466: cannot allocate an array >>>of constant size 0 >>>C:\Program Files\Microsoft Visual Studio 8\VC\ce\include\crtdefs.h(100) : fatal >>>error C1189: #error : ERROR: Use of C runtime library internal header file. >>>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\bin\c >>>l.EXE"' : return code '0x2' >>>Stop. >>>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\bin\n >>>make.EXE"' : return code '0x2' >>>Stop. >>>---------------------------------------------------------------------------------- >>>-Hao Zhang >>>(858)736-8316 >>>Transcore, San Diego >>> >>> >>>------------------------------------------------------------------------- >>>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/ >>>_______________________________________________ >>>perlce-user mailing list >>>per...@li... >>>https://lists.sourceforge.net/lists/listinfo/perlce-user >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > > >------------------------------------------------------------------------ > >@echo off >rem >rem edit ARG-xxx variable to reflect your system and run >rem compile.bat [target] [additional parameters for nmake] >rem > >REM setlocal >REM set include=%inlcude%;C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include >REM endlocal > >set ARG-1=PV= >set ARG-2=INST_VER= >set ARG-3=INSTALL_ROOT=z:\StorageCard\perl58 >rem set ARG-4=WCEROOT=%SDKROOT% >set ARG-4=WCEROOT=C:\Windows CE Tools\wce300 >set ARG-5=CEPATH=%WCEROOT% >set ARG-6=CELIBDLLDIR=V:\Hao\Perl58\perl-5.8.8\wince\wince-arm-pocket-wce300\include >set ARG-7=CECONSOLEDIR=V:\Hao\Perl58\perl-5.8.8\wince\wince-arm-pocket-wce300 > >rem Only for WIN2000 >rem set ARG-8=YES=/y > >set ARG-9=CFG=RELEASE > >rem >rem uncomment one of following lines that matches your configuration > >rem set ARG-10=MACHINE=wince-mips-pocket-wce300 >rem set ARG-10=MACHINE=wince-arm-hpc-wce300 >rem set ARG-10=MACHINE=wince-arm-hpc-wce211 >rem set ARG-10=MACHINE=wince-sh3-hpc-wce211 >rem set ARG-10=MACHINE=wince-mips-hpc-wce211 >rem set ARG-10=MACHINE=wince-sh3-hpc-wce200 >rem set ARG-10=MACHINE=wince-mips-hpc-wce200 >set ARG-10=MACHINE=wince-arm-pocket-wce300 >rem set ARG-10=MACHINE=wince-mips-pocket-wce300 >rem set ARG-10=MACHINE=wince-sh3-pocket-wce300 >rem set ARG-10=MACHINE=wince-x86em-pocket-wce300 >rem set ARG-10=MACHINE=wince-mips-palm-wce211 >rem set ARG-10=MACHINE=wince-sh3-palm-wce211 >rem set ARG-10=MACHINE=wince-x86em-palm-wce211 > >set ARG-11=PERLCEDIR=z:\StorageCard\perl58 >set ARG-12=MSVCDIR=C:\Program Files\Microsoft Visual Studio 8\VC\ce >rem set ARG-13=CECOPY=$(HPERL) -I$(PERLCEDIR)\lib $(PERLCEDIR)\comp.pl --copy > >nmake -f Makefile.ce "%ARG-1%" "%ARG-2%" "%ARG-3%" "%ARG-4%" "%ARG-5%" "%ARG-6%" "%ARG-7%" "%ARG-8%" "%ARG-9%" "%ARG-10%" "%ARG-11%" "%ARG-12%" "%ARG-13%" %1 %2 %3 %4 %5 %6 %7 %8 %9 > > |