> -----Original Message----- > From: Mindaugas Kavaliauskas [mailto:dbto...@dbtopas.lt] > Sent: Wednesday, May 12, 2010 4:34 PM > To: Harbour Project Main Developer List. > Subject: Re: [Harbour] [r|s]ddoci > [...]
> > REQUEST SDDODBC, SDDOCI, SQLMIX > > > > libs=sddoci sddodbc > > > > Have I : > > > > Generating C source output to 'C:\TEMP\test1.c'... Done. > > > c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xc4) > : undefined reference to `sqlfe...@4' > > And what errors do you get with sddodbc and without sddoci? I can link my app with command : c:\harbour\bin\win\mingw\hbmk2.exe -n -m -w2 -gc3 -gui -gtwvg -mt homar.prg braki.prg -lhomar -lhbwin -trace -lhbwin and in homar.hbc : libs=hbhpdf libhpdf png hbct libs=sddodbc sddoci rddsql hbodbc hbfship hbxpp #libs=rddsql rddado # gt=gtgui <= jest w h.bat {win}libs=odbc32 {HB_WITH_OCILIB_UNICODE}libs=ocilibw {HB_WITH_OCILIB_MIXED}libs=ocilibm #{!HB_WITH_OCILIB_UNICODE&!HB_WITH_OCILIB_MIXED}libs=ociliba When I add in prg : REQUEST SDDOCI On screen see I (tip) : c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x17d): undefined reference to `oci_longgets...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x18a): undefined reference to `oci_longgetbuf...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x284): undefined reference to `oci_getdou...@8' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x2c8): undefined reference to `oci_getbig...@8' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x2fc): undefined reference to `oci_getd...@8' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x327): undefined reference to `oci_dategetd...@16' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x36d): undefined reference to `oci_isn...@8' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x3fc): undefined reference to `oci_gettimest...@8' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x447): undefined reference to `oci_timestampgetdatet...@32' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x4d0): undefined reference to `oci_getd...@8' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x513): undefined reference to `oci_dategetdatet...@28' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x56c): undefined reference to `oci_getl...@8' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x581): undefined reference to `oci_longgets...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x58e): undefined reference to `oci_longgett...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x5a2): undefined reference to `oci_longgetbuf...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x60c): undefined reference to `oci_getstr...@8' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x708): undefined reference to `oci_statementf...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x736): undefined reference to `oci_getlaster...@0' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x744): undefined reference to `oci_errorgetstr...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x786): undefined reference to `oci_errorgetocic...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x7e8): undefined reference to `oci_connectionf...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x8a8): undefined reference to `oci_connectioncre...@16' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x95d): undefined reference to `oci_statementcre...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x9da): undefined reference to `oci_executes...@8' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xa05): undefined reference to `oci_getresult...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xa14): undefined reference to `oci_getcolumnco...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xa7d): undefined reference to `oci_getcol...@8' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xa92): undefined reference to `oci_columngetn...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xafd): undefined reference to `oci_columngett...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xb0a): undefined reference to `oci_columngets...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xb19): undefined reference to `oci_columngetprecis...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xb26): undefined reference to `oci_columngetnulla...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xb87): undefined reference to `oci_statementf...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xe4b): undefined reference to `oci_columngetprecis...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xe5b): undefined reference to `oci_columngetsc...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xf5e): undefined reference to `oci_statementf...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x10a6): undefined reference to `oci_statementf...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x1177): undefined reference to `oci_statementcre...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x11af): undefined reference to `oci_executes...@8' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x1205): undefined reference to `oci_statementf...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x1230): undefined reference to `oci_getaffectedr...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x1265): undefined reference to `oci_statementf...@4' c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x47): undefined reference to `oci_clea...@0' collect2: ld returned 1 exit status hbmk2: Error: Running linker. 1 gcc.exe C:\TEMP\homar.o C:\TEMP\braki.o C:\TEMP\hbmk_k7ljgt.o -mwindows -Wl,--start-group -lgtwvg -lhbhpdf -llibhpdf -lpng - lhbct -lsddodbc -lsddoci -lrddsql -lhbodbc -lhbfship -lhbxpp -lodbc32 -lhomar -lhbwin -lhbwin -lhbextern -lhbdebug -lhbvmmt -lh brtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddns x -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws 2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -l hbpcre -lhbzlib -Wl,--end-group -ohomar.exe -Lc:/harbour/lib/win/mingw Similary with c:\harbour\contrib\sddoci\tests\test1.prg, change to : REQUEST SDDODBC, SDDOCI, SQLMIX And add sddodbc in libs list in file c:\harbour\contrib\sddoci\sddoci.hbc > > Can I mix this lib ? > > Yes. But how ? Regards, Marek Horodyski
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour