Hi,
It's lib ordering problem, regression after deleting
lib grouping from link commands all over Harbour.
I'll try to do a fix, or maybe I'll just readd grouping
if I can't solve it.
Brgds,
Viktor
On 2009.08.28., at 0:47, Francesco Saverio Giudice wrote:
Hi All,
I have an error building demowvg.
environment is mingw / windows vista
current SVN with clean rebuild
built with hbmk2 demowvg.prg -trace > a.log 2>&1
The a.log contains:
hbmk2: Processing local make script: hbmk.hbm
hbmk2: Processing configuration: j:\cvs\harbour_mingw\bin\hbmk.cfg
hbmk2: Harbour compiler command (internal):
(j:\cvs\harbour_mingw\bin\harbour.exe) -n2 demowvg.prg -ij:/cvs/
harbour_mingw/include -i.. -i../../hbwin
Harbour 2.0.0beta2 (Rev. 12360)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'demowvg.prg'...
100
[snip]
Lines 7055, Functions/Procedures 73
Generating C source output to 'demowvg.c'... Done.
hbmk2: C compiler command:
gcc.exe -c -O3 -march=i586 -mtune=pentiumpro -fomit-frame-pointer -
Ij:/cvs/harbour_mingw/include -I.. -I../../hbwin demowvg.c k:\temp
\hbmk_o7sz5d.c
hbmk2: Linker command:
gcc.exe demowvg.o hbmk_o7sz5d.o -mwindows -lhbwin -lgtwvg -
lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -
lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lgtwvg -lhbrdd -lhbusrrdd -
lhbhsx -lhbsix -lrddntx -lrddcdx -lrddfpt -lhbuddall -lrddnsx -
lhbrtl -lhbvmmt -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbpcre -
lhbzlib -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -
lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -
lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -odemowvg.exe -Lj:/cvs/
harbour_mingw/lib/win/mingw
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgtoolb.o):wvgtoolb.c:
(.data+0x348): undefined reference to `HB_FUN_WAPI_IMAGELIST_CREATE'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgtoolb.o):wvgtoolb.c:
(.data+0x458): undefined reference to `HB_FUN_WAPI_IMAGELIST_DESTROY'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgtoolb.o):wvgtoolb.c:
(.data+0x578): undefined reference to
`HB_FUN_WAPI_IMAGELIST_ADDMASKED'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgtoolb.o):wvgtoolb.c:
(.data+0x588): undefined reference to `HB_FUN_WAPI_IMAGELIST_ADD'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgax.o):wvgax.c:(.data
+0x68): undefined reference to `HB_FUN_WIN_OLEAUTO'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgax.o):wvgax.c:(.data
+0x348): undefined reference to `HB_FUN_WIN_AXINIT'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgax.o):wvgax.c:(.data
+0x368): undefined reference to `HB_FUN_WIN_N2P'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgax.o):wvgax.c:(.data
+0x3d8): undefined reference to `HB_FUN_WIN_P2N'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgax.o):wvgax.c:(.data
+0x3e8): undefined reference to `HB_FUN___AXGETCONTROL'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgax.o):wvgax.c:(.data
+0x408): undefined reference to `HB_FUN___AXDOVERB'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgwnd.o):wvgwnd.c:
(.data+0xe58): undefined reference to `HB_FUN_WIN_N2P'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgdatar.o):wvgdatar.c:
(.data+0x248): undefined reference to `HB_FUN_WAPI_SETSCROLLPOS'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgsink.o):wvgsink.c:
(.text+0x25b): undefined reference to `hb_oleParam'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgsink.o):wvgsink.c:
(.text+0x628): undefined reference to `hb_oleVariantToItem'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgsink.o):wvgsink.c:
(.text+0x662): undefined reference to `hb_oleVariantToItem'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgsink.o):wvgsink.c:
(.text+0x6a6): undefined reference to `hb_oleItemToVariant'
j:/cvs/harbour_mingw/lib/win/mingw/libgtwvg.a(wvgsink.o):wvgsink.c:
(.text+0x6d0): undefined reference to `hb_oleVariantUpdate'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe demowvg.o hbmk_o7sz5d.o -mwindows -lhbwin -lgtwvg -
lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -
lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lgtwvg -lhbrdd -lhbusrrdd -
lhbhsx -lhbsix -lrddntx -lrddcdx -lrddfpt -lhbuddall -lrddnsx -
lhbrtl -lhbvmmt -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbpcre -
lhbzlib -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -
lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -
lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -odemowvg.exe -Lj:/cvs/
harbour_mingw/lib/win/mingw
Best Regards,
Francesco
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour