Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
moto4lin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
JROCK2004
Guru
Guru


Joined: 02 Mar 2004
Posts: 450
Location: PA

PostPosted: Fri Apr 01, 2005 6:17 am    Post subject: moto4lin Reply with quote

trying to get this installed and it is erroring out.

qmake
make
cd moto_ui && qmake moto_ui.pro -o Makefile
WARNING: Failure to open: images\video.png
cd moto_ui && make -f Makefile
make[1]: Entering directory `/home/john/temp-downloads/moto4lin/moto4lin-0.3/moto_ui'
/usr/qt/3/bin/uic form1_base.ui -o ui/form1_base.h
/usr/qt/3/bin/uic frmfilemanager_base.ui -o ui/frmfilemanager_base.h
/usr/qt/3/bin/uic frmseemeditor_base.ui -o ui/frmseemeditor_base.h
/usr/qt/3/bin/uic frmconfig_base.ui -o ui/frmconfig_base.h
g++ -c -pipe -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -Iui/ -I. -Imoc/ -o obj/main.o main.cpp
g++ -c -pipe -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -Iui/ -I. -Imoc/ -o obj/form1.o form1.cpp
In file included from phoneman.h:34,
from form1.cpp:40:
p2kproc.h:61:17: usb.h: No such file or directory
In file included from phoneman.h:34,
from form1.cpp:40:
p2kproc.h:136: error: syntax error before `*' token
p2kproc.h:182: error: type specifier omitted for parameter `usb_dev_handle'
p2kproc.h:182: error: parse error before `*' token
make[1]: *** [obj/form1.o] Error 1
make[1]: Leaving directory `/home/john/temp-downloads/moto4lin/moto4lin-0.3/moto_ui'
make: *** [sub-moto_ui] Error 2

any ideas?
Back to top
View user's profile Send private message
Nahor
n00b
n00b


Joined: 05 Jun 2003
Posts: 51

PostPosted: Sat Nov 26, 2005 6:53 pm    Post subject: Reply with quote

I have the same problem.

I could fix the "usb.h not found" by pointing to "linux/usb.h" instead.
But I can't find any place in /usr/src/linux or /usr/include or moto4lin/ that defines usb_dev_handle

(2.6.13-gentoo-r5, x86_64 AMD Athlon(tm) 64 Processor 4000+ AuthenticAMD GNU/Linux)
Back to top
View user's profile Send private message
Nahor
n00b
n00b


Joined: 05 Jun 2003
Posts: 51

PostPosted: Sat Nov 26, 2005 7:00 pm    Post subject: Reply with quote

right, I knew that I would find the solution in the 5min after posting, which I should have found if I looked at the moto4lin ebuild :(

I just needed to install libusb (and revert the changes I maked to "fix" the "usb.h" issue)
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Thu Dec 22, 2005 11:29 pm    Post subject: Reply with quote

Did you ever solve this? I'm having the same issue.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Thu Dec 22, 2005 11:47 pm    Post subject: Reply with quote

Nevermind...
I just noticed there is actually an ebuild for this... my first search yielded nothing. I think I was getting the error, because libusb is a dependency for moto4lin, and I didn't have it installed. The ebuild cleared everything up.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum