LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-04-2005, 08:37 PM   #1
79spitfire
LQ Newbie
 
Registered: Apr 2005
Location: Silver Springs, NV. USA
Distribution: MEPIS,Knoppix,Debian
Posts: 20

Rep: Reputation: 0
adding a scanjet 3300c to Mepis 3.4 rc1


Has anyone had any luck getting a HP scanjet 3300c to work under Linux? I'm currently running Mepis 3.4 rc1. I understand I need to patch the sane backend, but I cannot get the files from sourceforge to complile and install. Here is the errors I get when I run make:

gcc -Wall -g -DSTATIC="" -DSANE_Byte="unsigned char" -DSANE_Word=int -DSANE_Bool
=SANE_Word -DSANE_TRUE=1 -DSANE_FALSE=0 -I/usr/local/include -DLIBUSB_SUPPORT
-c -o niash_libusb.o niash_libusb.c
niash_libusb.c:30:44: error: usb.h: No such file or directory
niash_libusb.c: In function 'NiashLibUsbInit':
niash_libusb.c:52: warning: implicit declaration of function 'usb_init'
niash_libusb.c:53: warning: implicit declaration of function 'usb_find_busses'
niash_libusb.c:54: warning: implicit declaration of function 'usb_find_devices'
niash_libusb.c:55: error: 'usb_busses' undeclared (first use in this function)
niash_libusb.c:55: error: (Each undeclared identifier is reported only once
niash_libusb.c:55: error: for each function it appears in.)
niash_libusb.c:55: error: dereferencing pointer to incomplete type
niash_libusb.c:57: error: dereferencing pointer to incomplete type
niash_libusb.c:57: error: dereferencing pointer to incomplete type
niash_libusb.c:62: error: dereferencing pointer to incomplete type
niash_libusb.c:63: error: dereferencing pointer to incomplete type
niash_libusb.c:67: error: dereferencing pointer to incomplete type
niash_libusb.c:68: error: dereferencing pointer to incomplete type
niash_libusb.c: In function 'NiashLibUsbOpen':
niash_libusb.c:85: error: 'usb_dev_handle' undeclared (first use in this functio
n)
niash_libusb.c:85: error: 'devLibUsb' undeclared (first use in this function)
niash_libusb.c:91: error: 'usb_busses' undeclared (first use in this function)
niash_libusb.c:91: error: dereferencing pointer to incomplete type
niash_libusb.c:93: error: dereferencing pointer to incomplete type
niash_libusb.c:93: error: dereferencing pointer to incomplete type
niash_libusb.c:96: error: dereferencing pointer to incomplete type
niash_libusb.c:97: error: dereferencing pointer to incomplete type
niash_libusb.c:102: warning: implicit declaration of function 'usb_open'
niash_libusb.c:103: warning: implicit declaration of function 'usb_claim_interfa
ce'
niash_libusb.c:106: warning: implicit declaration of function 'usb_close'
niash_libusb.c:109: error: dereferencing pointer to incomplete type
niash_libusb.c:110: error: dereferencing pointer to incomplete type
niash_libusb.c: In function 'NiashLibUsbExit':
niash_libusb.c:125: error: 'usb_dev_handle' undeclared (first use in this functi
on)
niash_libusb.c:125: error: 'devLibUsb' undeclared (first use in this function)
niash_libusb.c:133: error: syntax error before ')' token
niash_libusb.c:135: warning: implicit declaration of function 'usb_release_inter
face'
niash_libusb.c: In function '_LibUsbReadControl':
niash_libusb.c:148: error: 'usb_dev_handle' undeclared (first use in this functi on)
niash_libusb.c:148: error: 'devLibUsb' undeclared (first use in this function)
niash_libusb.c:155: error: syntax error before ')' token
niash_libusb.c:159: warning: implicit declaration of function 'usb_control_msg'
niash_libusb.c: In function '_LibUsbWriteControl':
niash_libusb.c:168: error: 'usb_dev_handle' undeclared (first use in this functi on)
niash_libusb.c:168: error: 'devLibUsb' undeclared (first use in this function)
niash_libusb.c:175: error: syntax error before ')' token
niash_libusb.c: In function 'NiashLibUsbWriteBulk':
niash_libusb.c:202: error: 'usb_dev_handle' undeclared (first use in this functi on)
niash_libusb.c:202: error: 'devLibUsb' undeclared (first use in this function)
niash_libusb.c:209: error: syntax error before ')' token
niash_libusb.c:214: warning: implicit declaration of function 'usb_bulk_write'
niash_libusb.c: In function 'NiashLibUsbReadBulk':
niash_libusb.c:230: error: 'usb_dev_handle' undeclared (first use in this functi on)
niash_libusb.c:230: error: 'devLibUsb' undeclared (first use in this function)
niash_libusb.c:237: error: syntax error before ')' token
niash_libusb.c:242: warning: implicit declaration of function 'usb_bulk_read'
make: *** [niash_libusb.o] Error 1

I am new to compliling these types of files, any help would be appreciated. Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mepis 3.4 rc1 grc2012 MEPIS 0 11-26-2005 06:03 PM
hp 3300c elstefano Linux - Hardware 2 08-25-2005 07:30 PM
Adding a new Distro: MEPIS TKS LQ Suggestions & Feedback 24 06-20-2004 12:00 PM
hp 3300c compatibility coolpyrofreak Linux - Hardware 4 03-30-2004 11:09 PM
scanjet 3300c lyllo Linux - Hardware 11 08-05-2003 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration