Hi, You moved hbps32.hbc from its original location, which broke it. The solution is to leave it in its original place and refer to the .hbc file with path: hbmk2 mytest.prg examples/ps32/ps32.hbc.
Or copy mytest.prg to examples/ps32/tests/ and just use: hbmk2 mytest.prg Viktor On 2010 Apr 24, at 17:14, Siny wrote: > Hi, > > I downloaded svn and build as you adviesd. I moved the content of d:\hb20 dir > (not uninstall because I was afraid of unimstalling remove enviroment things) > and I moved the new one into the d:\hb20. I can see so, that I followed the > readme and the mails. There are en libps32.a in the > \hb20\examples\ps32\lib\win\mingw dir. But the hbmk2 stops with an error. I > tried copy this lib into different dir directories but no result. Error is > the following: > > D:\s>\hb20\bin\hbmk2 test.prg ps32.hbc > hbmk2: Processing: hbps32.hbc > hbmk2: Error: Opening: d:\hb20\contrib\xpp\xpp.hbc > hbmk2: Processing: ps32.hbc > Harbour 2.1.0beta1 (Rev. 14386) > Copyright (c) 1999-2010, http://www.harbour-project.org/ > Compiling 'test.prg'... > Lines 418, Functions/Procedures 1 > Generating C source output to 'c:\windows\temp\test.c'... Done. > d:/hb20/comp/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: > cannot find -lhbps32 > collect2: ld returned 1 exit status > hbmk2: Error: Running linker. 1 > gcc.exe c:\windows\temp\test.o c:\windows\temp\hbmk_qmxrjw.o -mconsole > -Wl,-- > start-group -lhbps32 -lps32 -lhbxpp -lhbextern -lhbdebug -lhbvm -lhbrtl > -lhblang > -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall > -l > hbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix > -lhbmacro - > lhbcplr -lhbpp -lhbcommon -lhbmainstd -lkernel32 -luser32 -lgdi32 -ladvapi32 > -lw > s2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 > -lmpr > -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib > -Wl,--end-group > -otest.exe -LD:/hb20/lib/win/mingw -Llib/win/mingw -Llib/win/mingw > -Llib/win/mi > ngw > > What did I make badly? > > tnks Les > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour