Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
For a while now I have had my HP psc 1210 3-in-one printing just fine with cups and hpijs. Then I got bored and wanted to see if I could get it to scan. So, I installed hpoj and sane. Then scanning worked great. But printing did not. So I then installed libusb, and tried to recompile hpoj. Then I get this error:
make: Entering directory `/root/temp/hpoj-0.91/mlcd'
g++ -I/root/temp/hpoj-0.91/mlcd -I/root/temp/hpoj-0.91/mlcd/transport -O -g -Wall -DEX_TRANSPORT_UNIX_PORT -DPAR_PLATFORM_LINUX -DUSB_PLATFORM_LINUX -DJD_DEBUGLITE -DHAVE_LIBUSB -DVAR_RUN_PREFIX="\"/var/run\"" -c -o ExMgr.o ExMgr.cpp
same -c -o ParPort.o ...
same -c -o transport/ExTransport.o ...
same -c -o transport/ExMlcTransport.o ...
same -c -o transport/ExMlcCommandChannel.o ...
g++ -lusb -o ptal-mlcd ExMgr.o ParPort.o transport/ExTransport.o transport/ExMlcTransport.o transport/ExMlcCommandChannel.o
ExMgr.o(.text+0x9555): In function `UsbMgr::llioInit()':
/root/temp/hpoj-0.91/mlcd/ExMgr.cpp:3945: undefined reference to `usb_init'
ExMgr.o(.text+0x95be): In function `UsbMgr::llioGlob()':
/root/temp/hpoj-0.91/mlcd/ExMgr.cpp:3959: undefined reference to `usb_find_busses'
... and more libusb functions undefined in ExMgr.o ...
I get the same error on an other system that I know libusb is working on.
I fixed it! I found this post that mentioned compile errors due to the missing extention on the libusb library files. After adding links to each file adding .so, hpoj compiled fine. Hope this helps someone.
HP PSC 1210 scanning and printing with: