LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices

Reply
 
Search this Thread
Old 12-03-2012, 04:52 PM   #1
greasyfingers
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Rep: Reputation: 0
Can't install app. Help needed.


Can someone tell me what to do about this:
Code:
$ make
gcc -lusb -lm  keenectl.o   -o keenectl
keenectl.o: In function `send_data':
keenectl.c:(.text+0x44): undefined reference to `usb_control_msg'
keenectl.o: In function `device_init':
keenectl.c:(.text+0x113): undefined reference to `usb_init'
keenectl.c:(.text+0x118): undefined reference to `usb_find_busses'
keenectl.c:(.text+0x11d): undefined reference to `usb_find_devices'
keenectl.c:(.text+0x122): undefined reference to `usb_busses'
keenectl.o: In function `main':
keenectl.c:(.text+0x1d5): undefined reference to `usb_open'
keenectl.c:(.text+0x214): undefined reference to `usb_close'
keenectl.c:(.text+0x258): undefined reference to `usb_close'
keenectl.c:(.text+0x5e7): undefined reference to `lround'
collect2: error: ld returned 1 exit status
make: *** [keenectl] Error 1
The files in question are here (keenectl.c and Makefile):
http://mister-muffin.de/keene/

...and here's the preamble about it:
http://blog.mister-muffin.de/2011/03...m-transmitter/

The app gives control over a USB micro-transmitter that enables you to listen to your computer's audio over an FM radio. Product description here:
www.keene.co.uk/electronic/keene-electronics/usb-fm-transmitter/USBFMT.html

I've tried installing the program on the latest Mint, Xubuntu and Knoppix, but with the same result on each.

Ironically, I can install and run it OK on my main Debian Squeeze, but the kernel is not new enough to have drivers for the device (needs to be kernel 3.4+). Unless, of course, someone here knows how to make the older kernel work with this device.
 
Old 12-03-2012, 05:23 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,938

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
sudo apt-get install gcc-4.4 libusb-dev

Please edit line 1 in the Makefile to :
CC=gcc-4.4

$ make : No issues. The binary 'keenectl' is being created.

.
 
Old 12-04-2012, 12:05 PM   #3
greasyfingers
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Original Poster
Rep: Reputation: 0
Thanks knudfl, that's got it installed OK.

However, now it won't run:
Code:
$ sudo ./keenectl - - - - - - -
device or resource busy - did you `rmmod usbhid`?
sending data 1 of 2 failed
$ sudo rmmod usbhid
$ sudo ./keenectl - - - - - - -
device or resource busy - did you `rmmod usbhid`?
sending data 1 of 2 failed
The notes at http://blog.mister-muffin.de/2011/03...m-transmitter/ say that it has to be run as root, and that you have to 'rmmod usbhid', but I can't get any further than that.

Any ideas?
 
Old 12-04-2012, 08:49 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,938

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
Please try : sudo modprobe -r usbhid


I have no "device" / USB micro-transmitter, the reply from $ ./keenectl
... is : No Device. ( Ubuntu 12.04 ).
 
Old 12-05-2012, 05:28 PM   #5
greasyfingers
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Original Poster
Rep: Reputation: 0
I'm having no luck - I get the same result with that.
 
  


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
Perl help needed to rewrite dead/unsupported gem of an app dimm0k Programming 1 12-02-2012 06:43 PM
App needed for hosting my own gotomypc or logmein traigo Linux - Software 1 03-17-2009 01:22 PM
urgent help needed- running app. for csh in multiple terminal windows (fc.6) GokhanK Linux - Software 3 11-03-2007 05:52 AM
an app that just takes care of everything needed to install from source? sunowww Linux - Newbie 1 12-20-2004 11:21 AM
OT: Help needed for completing a Linux app gt73 Programming 3 12-20-2003 06:07 PM


All times are GMT -5. The time now is 05:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration