From: Joe P. <joe...@sn...> - 2001-03-18 00:01:06
|
On Tuesday 13 March 2001 04:03 am, David Paschal wrote: <...> > > I haven't tried to install or test the package yet. I'll probably wait > > until the io.h work-around arrives. > > I just checked it into CVS. Please do a "cvs update" and try it now. > > I decided to go with the C wrapper workaround method. It's only enabled > when necessary, to avoid a performance penalty (however small) when the > workaround isn't needed. If you're interested, you can try running the > configure script with either the original or "fixed" version of io.h and > see that configure enables or disables the workaround as necessary. On my > system, I simulated the problem by adding the following three lines to > create a "broken" version: #ifdef __cplusplus > #error Simulating broken C++ compiler > #endif David: The package I got from CVS on Mar. 14 builds without errors, but I can't seem to get it to print. The section below seems to indicate that it is working in some fashon. [root@tumbleweed joe]# /usr/local/sbin/ptal-mlcd par:0 -base 0x378 [root@tumbleweed joe]# /usr/local/sbin/ptal-printd mlc:par:0 -like /dev/lp0 [root@tumbleweed joe]# pidof ptal-printd ptal-mlcd 1124 1122 [root@tumbleweed joe]# ptal-devid mlc:par:0 MFG:Hewlett-Packard;MDL:OfficeJet Series 600;CMD:MLC,PCL,PML;CLASS:PRINTER;REV:4.03b; I may just be overlooking something, but with the earlier build problem due to compiler differences, this may have a similar cause. Has anyone yet been able to use gcc-2.95.2 sucessfully with the new code in CVS? Here are some of the messages that appeared on the command line at one point. I'm not sure what I was doing when they appeared (possibly trying to print), but maybe they'll mean something to you. Sorry if it doesn't help. ]$ ptal-mlcd: ERROR at transport/ExMlcCommandChannel.cpp:186, dev=<par:0>, pid=939, errno=11 Reply timer popped on port=0, count=1! ptal-mlcd: ERROR at ExMgr.cpp:783, dev=<par:0>, pid=939, errno=11 exClose(reason=4202) ptal-mlcd: ERROR at ParPort.cpp:163, dev=<par:0>, pid=939, errno=11 statusWaitSetClear(event=23) timed out! ]$ The install/print-howto instructions do seem like they could be simplified. -- Joe |