View previous topic :: View next topic |
Author |
Message |
JROCK2004 Guru
Joined: 02 Mar 2004 Posts: 450 Location: PA
|
Posted: Fri Apr 01, 2005 6:17 am Post subject: moto4lin |
|
|
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 |
|
|
Nahor n00b
Joined: 05 Jun 2003 Posts: 51
|
Posted: Sat Nov 26, 2005 6:53 pm Post subject: |
|
|
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 |
|
|
Nahor n00b
Joined: 05 Jun 2003 Posts: 51
|
Posted: Sat Nov 26, 2005 7:00 pm Post subject: |
|
|
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 |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Thu Dec 22, 2005 11:29 pm Post subject: |
|
|
Did you ever solve this? I'm having the same issue. |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Thu Dec 22, 2005 11:47 pm Post subject: |
|
|
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 |
|
|
|