Hi,

I have taken Angel's suggestion seriously, and will post a question one at a
time.  On a legit copy of Win7 64-bit, after I cleanly install Harbour
2.0.0, I cannot use hbmk2 to compile a hello world program, where as my
32-bit Win7 machine worked fine.


   1.

   Why can't I compile my Hello World program on my Windows 7 x64 OS?

   C:\hb20\bin>hbmk2.exe hello.prg
   hbmk2: Processing configuration: C:\hb20\bin\hbmk.cfg
   Harbour 2.0.0 (Rev. 13372)
   Copyright (c) 1999-2010, http://www.harbour-project.org/
   Compiling 'hello.prg'...
   Lines 1, Functions/Procedures 1
   Generating C source output to 'hello.c'... Done.
   C:/hb20/lib/win/mingw/libhbvm.a(hvmall.o):hvmall.c:(.text+0x2e23):
undefined r
   eference to `__mingw_vprintf'
   C:/hb20/lib/win/mingw/libhbvm.a(hvmall.o):hvmall.c:(.text+0x359b):
undefined r
   eference to `__mingw_vfprintf'
   collect2: ld returned 1 exit status
   hbmk2: Error: Running linker. 1
   gcc.exe hello.o hbmk_mn4kgp.o    -mconsole -Wl,--start-group
-lhbextern -lhbdebu
   g -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin
-lgtwvt -lgt
   gui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx
-lrddfpt -lhbrdd -l
   hbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lkernel32
-luser32 -lgdi32 -
   ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32
-luuid -lole32 -lo
   leaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre
-lhbzlib  -W
   l,--end-group -ohello.exe -L"C:/hb20/lib/win/mingw"

   *Note: I also found and read the HARBOUR_README_MINGW64 file. The
   instructions were a bit vague, as the link it provides gives you many
   options of what to install and no hint as to which one you need. But with my
   brother's help, he picked out likely the one to use, and it didn't make any
   difference on this issue. Nor did reinstalling Harbour 2.0.0 with every
   option installed in the Wizard. *sad face**

Any hints?  This looks like it might be a common problem as I didn't do
anything wrong that I know of... Any help greatly appreciated!

-- 
smu johnson <[email protected]>
_______________________________________________
Harbour-users mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour-users

Reply via email to