On Mon Nov 04 16:09:31 2013, shay wrote: > On 4 November 2013 22:33, Steve Hay <steve.m.hay@googlemail.com> > wrote: > > I've done that and the build now gets further but fails when linking > > the main DLL: > > > > link -dll -def:perldll.def -base:0x28000000 -out:wince-arm-pocket- > > wce400 > > \perl519.dll -subsystem:windowsce,4.00 > > -libpath:C:\Dev\Software\celib\wince-arm > > -pocket-wce400-release -nologo -debug -opt:ref,icf -machine:ARM > > -nodefaultlib > > ws2.lib celib.lib coredll.lib corelibc.lib wince-arm-pocket- > > wce400\dll\av.obj > > wince-arm-pocket-wce400\dll\deb.obj wince-arm-pocket- > > wce400\dll\doio.obj win > > ce-arm-pocket-wce400\dll\doop.obj wince-arm-pocket- > > wce400\dll\dump.obj wince-a > > rm-pocket-wce400\dll\globals.obj wince-arm-pocket-wce400\dll\gv.obj > > wince-arm- > > pocket-wce400\dll\mro.obj wince-arm-pocket-wce400\dll\hv.obj wince- > > arm-pocket- > > wce400\dll\locale.obj wince-arm-pocket-wce400\dll\keywords.obj > > wince-arm-pocke > > t-wce400\dll\mathoms.obj wince-arm-pocket-wce400\dll\mg.obj wince- > > arm-pocket-w > > ce400\dll\numeric.obj wince-arm-pocket-wce400\dll\op.obj wince-arm- > > pocket-wce4 > > 00\dll\pad.obj wince-arm-pocket-wce400\dll\perl.obj wince-arm- > > pocket-wce400\dl > > l\perlapi.obj wince-arm-pocket-wce400\dll\perlio.obj wince-arm- > > pocket-wce400\d > > ll\perly.obj wince-arm-pocket-wce400\dll\pp.obj wince-arm-pocket- > > wce400\dll\pp > > _ctl.obj wince-arm-pocket-wce400\dll\pp_hot.obj wince-arm-pocket- > > wce400\dll\pp > > _pack.obj wince-arm-pocket-wce400\dll\pp_sort.obj wince-arm-pocket- > > wce400\dll\ > > pp_sys.obj wince-arm-pocket-wce400\dll\reentr.obj wince-arm-pocket- > > wce400\dll\ > > regcomp.obj wince-arm-pocket-wce400\dll\regexec.obj wince-arm- > > pocket-wce400\dl > > l\run.obj wince-arm-pocket-wce400\dll\scope.obj wince-arm-pocket- > > wce400\dll\sv > > .obj wince-arm-pocket-wce400\dll\taint.obj wince-arm-pocket- > > wce400\dll\toke.ob > > j wince-arm-pocket-wce400\dll\universal.obj wince-arm-pocket- > > wce400\dll\utf8.o > > bj wince-arm-pocket-wce400\dll\util.obj wince-arm-pocket- > > wce400\dll\win32threa > > d.obj wince-arm-pocket-wce400\dll\wince.obj wince-arm-pocket- > > wce400\dll\win32i > > o.obj wince-arm-pocket-wce400\dll\wincesck.obj wince-arm-pocket- > > wce400\dll\per > > llib.obj wince-arm-pocket-wce400\dll\DynaLoader.obj wince-arm- > > pocket-wce400\dll > > \malloc.obj > > LINK : fatal error LNK1181: cannot open input file 'ws2.lib' > > NMAKE : fatal error U1077: 'link' : return code '0x49d' > > Stop. > > This is the same problem that caused stdarg.h to go missing: PLATFORM > is already set to HPD on my machine, so the WCEARMV4.BAT file set the > wrong LIB path too -- the non-existent C:\Program Files (x86)\Windows > CE Tools\WCE400\HPD\lib\ARMV4 rather than C:\Program Files > (x86)\Windows CE Tools\WCE400\STANDARDSDK\lib\ARMV4. > > With that corrected, the build now succeeds and I get the expected > perl.exe, perl519.dll and XS module DLLs :-) > Congratulations. I dont have much else to say. So what was wrong with my initial instructions? the root dir names inside the archives of the 2 libraries to download, and the "-release" on celib's $MACHINE specific linking lib folder when the "make libs for newer build" copy rename is done. Other problems with EVC4 are the build env batch files break very easily if any of the vars are already defined, and they were on your machine. -- bulk88 ~ bulk88 at hotmail.com --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=120365Thread Previous | Thread Next