Barry, it should be enough for such an use, I was able to talk to a fiscal printer sending and receiving packets.
I think it's enough to remove that function or, better, use the correct one for harbour. Best regards. Maurilio. Barry Jackson wrote: > Maurilio, > Many thanks for your reply. > OK that's fine- I will work around that function if I need to. The > application I want to write will only be required to open a port and send > character strings - there is no handshake so it should not be a problem. > I just wanted to be sure that I was not the cause of the failure of the test > build! I am new to Linux, but have been playing with Clipper since summer > '87. > Cheers, > Barry > > Maurilio Longo wrote: >> Barry, >> >> this is a problem inside hbtpathy which comes from xharbour and uses a >> function (threadsleep) not available in harbour. >> >> So this has to be fixed in hbtpathy. >> >> BTW, I wrote it, and it is more of a proof of concept than a finished >> library >> that can be used on production systems. >> >> Best regards. >> >> Maurilio. >> >> >> >> Barry Jackson wrote: >>> What am I doing wrong? I am trying to build the telepathy test program. >>> I am using Mandriva Linux 2009.0 and built harbour using >>> mpkg_rpm_from_svn.sh script. >>> The make_gcc.sh ran OK in the hbtpathy dir. and >>> /usr/lib/harbour/libhbtpathy.a exists. >>> Regular "Hello World" programs compile OK and run without problem. >>> >>> [EMAIL PROTECTED] hbr]$ hbmk @testtp.txt >>> Harbour 1.1.0dev (Rev. 9842) >>> Copyright (c) 1999-2008, http://www.harbour-project.org/ >>> Reading 'testtp.txt'... >>> Compiling module 'testtp.prg'... >>> Compiling module 'telepath.prg'... >>> Lines 1273, Functions/Procedures 34 >>> Generating C source output to 'testtp.c'... Done. >>> [EMAIL PROTECTED] hbr]$ hbcc testtp.c tplinux.c tpcommon.c >>> /home/baz/tmp/ccueA9Uh.o:(.data+0x138): undefined reference to >>> `HB_FUN_THREADSLEEP' >>> collect2: ld returned 1 exit status >>> >> -- >> __________ >> | | | |__| Maurilio Longo >> |_|_|_|____| farmaconsult s.r.l. >> >> >> _______________________________________________ >> Harbour mailing list >> [email protected] >> http://lists.harbour-project.org/mailman/listinfo/harbour >> >> > -- __________ | | | |__| Maurilio Longo |_|_|_|____| farmaconsult s.r.l. _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
