You have made an incomplete operation you have addedd request and not addedd library to libray list where is added -lhbmemio add to hbmk.hbm that is default hbmk2 template for your dir or add to your command line
2009/11/2 gvarona <gvar...@ec-red.com>: > Hi Viktor and Mindaugas, > Now I'm trying to D:\harbor\contrib\hbnetio\tests\netiotst.prg, and only I > added a line here: > . . . > # define DBNAME "net: 127.0.0.1:2941: data / _tst_" > DBFCDX request > HB_NETIO request > proc main () > pSockSrv local > . . . > and get this error: > D:\harbour\contrib\hbnetio\tests>\hrbmingw\bin\hbmk2 netiotst > hbmk2: Processing environment options: -compiler=mingw > hbmk2: Processing local make script: hbmk.hbm > Harbour 2.0.0beta3 (Rev. 12768) > Copyright (c) 1999-2009, http://www.harbour-project.org/ > Compiling 'netiotst.prg'... > Lines 110, Functions/Procedures 3 > Generating C source output to 'netiotst.c'... Done. > netiotst.o:netiotst.c:(.data+0x318): undefined reference to > `HB_FUN_HB_NETIO' > collect2: ld returned 1 exit status > hbmk2: Error: Running linker. 1 > gcc.exe netiotst.o hbmk_jcidlj.o -mconsole -Wl,--start-group -lhbnetio > -lhbex > tern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd > -lgtw > in -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx > -lrd > dfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lkernel32 > -lu > ser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 > -lu > uid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet > -lhbpc > re -lhbzlib -Wl,--end-group -onetiotst.exe -Ld:/hrbMinGW/lib > D:\harbour\contrib\hbnetio\tests> > Any TIP/help? > TIA > BestRegards > GVS > --------------------------------------------------------------- > EC Red Internet g...@tis > Inscríbete en www.ec-red.com > _______________________________________________ > Harbour mailing list > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > -- Massimo Belgrano _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour