From: Zhang, H. <hao...@tr...> - 2007-05-21 17:32:10
|
Vadmin: I used the Visual C++ under Microsoft Visual Studio 8. See the link = C:\Program Files\Microsoft Visual Studio 8\VC\ce. I don't know where I can find the miniperl.exe? -Hao Zhang (858)736-8316 Transcore, San Diego=20 -----Original Message----- From: Vadim [mailto:va...@vk...] Sent: Monday, May 21, 2007 9:32 AM To: Zhang, Hao Cc: per...@li... Subject: Re: [perlce-user] problems on build window CE perl Zhang, Hao wrote: >Vadmin: > >I attached compile.bat as a text version. =20 >Device OS is WindowsCE5.0 >CPU is: Intel ARM920T-PXA2 > =20 > 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=20 > > >-----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: > > =20 > >>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=20 >> >> >>-----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: >> >>=20 >> >> =20 >> >>>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? >>> >>> >>> =20 >>> >>> =20 >>> >>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. >> >>=20 >> >> =20 >> >>>Thank you. >>>----------------------------------------------------------------------= ---------------------------------------------- >>>Compiling for wince-arm-pocket-wce300 >>>LIB=3DC:\Windows CE Tools\wce300\WCE300\MS Pocket PC\lib\ARM >>>INCLUDE=3DC:\Windows CE Tools\wce300\WCE300\MS Pocket PC\include >>>PATH=3D >>> >>> cd ../win32 >>> set PATH=3DC:\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\Syste= m32\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=3DC:\Program Files\Microsoft = Visual Stud >>>io 8\VC\ce" "CCINCDIR=3DC:\Program Files\Microsoft Visual Studio = 8\VC\ce\include" >>>"CCLIBDIR=3DC:\Program Files\Microsoft Visual Studio 8\VC\ce\lib" = "INCLUDE=3DC:\Prog >>>ram Files\Microsoft Visual Studio 8\VC\ce\include" "LIB=3DC:\Program = Files\Microso >>>ft Visual Studio 8\VC\ce\lib" "LINK_FLAGS=3D" .\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=20 >>> >>> >>>----------------------------------------------------------------------= --- >>>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 >>> >>> >>> >>> >>> >>> >>> =20 >>> >>> =20 >>> >>=20 >> >> =20 >> > > > =20 > >------------------------------------------------------------------------= > >@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=3D%inlcude%;C:\Program Files\Microsoft Visual Studio = 8\SmartDevices\SDK\PocketPC2003\Include >REM endlocal > >set ARG-1=3DPV=3D >set ARG-2=3DINST_VER=3D >set ARG-3=3DINSTALL_ROOT=3Dz:\StorageCard\perl58 >rem set ARG-4=3DWCEROOT=3D%SDKROOT% >set ARG-4=3DWCEROOT=3DC:\Windows CE Tools\wce300 >set ARG-5=3DCEPATH=3D%WCEROOT% >set = ARG-6=3DCELIBDLLDIR=3DV:\Hao\Perl58\perl-5.8.8\wince\wince-arm-pocket-wce= 300\include >set = ARG-7=3DCECONSOLEDIR=3DV:\Hao\Perl58\perl-5.8.8\wince\wince-arm-pocket-wc= e300 > >rem Only for WIN2000 >rem set ARG-8=3DYES=3D/y > >set ARG-9=3DCFG=3DRELEASE > >rem >rem uncomment one of following lines that matches your configuration > >rem set ARG-10=3DMACHINE=3Dwince-mips-pocket-wce300 >rem set ARG-10=3DMACHINE=3Dwince-arm-hpc-wce300 >rem set ARG-10=3DMACHINE=3Dwince-arm-hpc-wce211 >rem set ARG-10=3DMACHINE=3Dwince-sh3-hpc-wce211 >rem set ARG-10=3DMACHINE=3Dwince-mips-hpc-wce211 >rem set ARG-10=3DMACHINE=3Dwince-sh3-hpc-wce200 >rem set ARG-10=3DMACHINE=3Dwince-mips-hpc-wce200 >set ARG-10=3DMACHINE=3Dwince-arm-pocket-wce300 >rem set ARG-10=3DMACHINE=3Dwince-mips-pocket-wce300 >rem set ARG-10=3DMACHINE=3Dwince-sh3-pocket-wce300 >rem set ARG-10=3DMACHINE=3Dwince-x86em-pocket-wce300 >rem set ARG-10=3DMACHINE=3Dwince-mips-palm-wce211 >rem set ARG-10=3DMACHINE=3Dwince-sh3-palm-wce211 >rem set ARG-10=3DMACHINE=3Dwince-x86em-palm-wce211 > >set ARG-11=3DPERLCEDIR=3Dz:\StorageCard\perl58 >set ARG-12=3DMSVCDIR=3DC:\Program Files\Microsoft Visual Studio 8\VC\ce >rem set ARG-13=3DCECOPY=3D$(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 > =20 > |