>-----Original Message-----
>From: Mindaugas Kavaliauskas [mailto:dbto...@dbtopas.lt] 
>Sent: Thursday, June 04, 2009 5:48 PM
>To: Harbour Project Main Developer List.
>Subject: Re: [Harbour] hash() in harbour
>
>> Have you any small exeample how can I use 'select * from table' via 
>> sddodbc ?
>
>\harbour\contrib\rddsql\sddodbc\tests\test1.prg

In Viktor's didtro this is not included.
When I try compiling it from nigtly with owatcom or mingw, have I :
---------------
C:\harbour\contrib\rddsql\tests>hbmk2 test1.prg -lrddsql -lrddado -trace
hbmk: Processing: rddsql.hbc
hbmk: Harbour compiler command (internal):
c:\harbour-11\bin\harbour.exe -n2 test1.prg -ic:/harbour-11/include
Harbour 1.1.0dev (Rev. 11179)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'test1.prg'...
Lines 572, Functions/Procedures 3
Generating C source output to 'test1.c'... Done.
hbmk: C compiler command:
c:\harbour-11\mingw\bin\gcc.exe -c -O3 -march=i586 -mtune=pentiumpro
-fomit-frame-pointer  -I"c:/harbour-11/include" test1.c
C:\TEMP\hbmk_huk7t6.c
hbmk: Linker command:
c:\harbour-11\mingw\bin\gcc.exe test1.o hbmk_huk7t6.o    -mconsole
-Wl,--start-group -lrddsql -lrddsql -lrddado -lhbcpage -lh
blang -lhbcommon -lhbcplr -lhbdebug -lhbvm -lhbrdd -lhbusrrdd -lhbhsx
-lhbsix -lrddntx -lrddcdx -lrddfpt -lhbuddall -lrddnsx
-lhbrtl -lhbpp -lhbmacro -lhbextern -lgtcgi -lgtpca -lgtstd -lgtwin
-lgtwvt -lgtgui -lhbpcre -lhbzlib -lkernel32 -luser32 -lg
di32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32
-lole32 -loleaut32 -luuid -lmpr -lwinmm -lmapi32 -limm32
-lmsimg32 -Wl,--end-group -otest1.exe -Lc:/harbour-11/lib/win/mingw
-Lc:/harbour-11/lib
test1.o:test1.c:(.data+0x128): undefined reference to `HB_FUN_SDDMY'
collect2: ld returned 1 exit status
hbmk: Error: Running linker. 1
c:\harbour-11\mingw\bin\gcc.exe test1.o hbmk_huk7t6.o    -mconsole
-Wl,--start-group -lrddsql -lrddsql -lrddado -lhbcpage -lh
blang -lhbcommon -lhbcplr -lhbdebug -lhbvm -lhbrdd -lhbusrrdd -lhbhsx
-lhbsix -lrddntx -lrddcdx -lrddfpt -lhbuddall -lrddnsx
-lhbrtl -lhbpp -lhbmacro -lhbextern -lgtcgi -lgtpca -lgtstd -lgtwin
-lgtwvt -lgtgui -lhbpcre -lhbzlib -lkernel32 -luser32 -lg
di32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32
-lole32 -loleaut32 -luuid -lmpr -lwinmm -lmapi32 -limm32
-lmsimg32 -Wl,--end-group -otest1.exe -Lc:/harbour-11/lib/win/mingw
-Lc:/harbour-11/lib
---------------

What is FUN_SDDMY, what is wrong ?
Regards,
Marek Horodyski
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to