built and error on build error : c:\hmg.3.4.4\SAMPLES\HFCL\SQL\HMGSQLite
the build.log :
Code: Select all
hbmk2: Triggered by #require directive: hmgsqlite.hbc
hbmk2[demo]: Warning: Cannot find hmgsqlite.hbc
hbmk2: Linking... demo.exe
.hbmk/win/mingw/demo.o:demo.c:(.data+0xa8): undefined reference to `HB_FUN_CONNECT2DB'
.hbmk/win/mingw/demo.o:demo.c:(.data+0x168): undefined reference to `HB_FUN_SQL'
.hbmk/win/mingw/demo.o:demo.c:(.data+0x178): undefined reference to `HB_FUN_C2SQL'
.hbmk/win/mingw/demo.o:demo.c:(.data+0x218): undefined reference to `HB_FUN_MISCSQL'
collect2.exe: error: ld returned 1 exit status
hbmk2[demo]: Error: Running linker. 1
gcc.exe .hbmk/win/mingw/demo.o .hbmk/win/mingw/_hbmkaut_demo.o c:/hmg.3.4.4/SAMPLES/HFCL/SQL/HMGSQLite/_temp.o -pthread -static-libgcc -static-libstdc++ -static -lpthread -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbmysql -lmysql -lhbfimage -lhbpgsql -lsddmy -lhbvpdf -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lhbodbc -lodbc32 -lhbhpdf -lhbnetio -lxhb -lpng -llibhpdf -lhbzebra -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -odemo.exe -LC:/hmg.3.4.4/harbour/lib/win/mingw -LC:/hmg.3.4.4/lib
hbmk2: Error: Referenced, missing, but unknown function(s): CONNECT2DB(),
SQL(), C2SQL(), MISCSQL()
best rgds,
Chang