Linux software for Motorola Razor phone?

Philip Prindeville philipp_subx at redfish-solutions.com
Sat Jul 22 22:58:43 UTC 2006


Steven Stern wrote:

>Philip Prindeville wrote:
>  
>
>>Andras Simon wrote:
>>
>>    
>>
>>>On 7/22/06, Philip Prindeville <philipp_subx at redfish-solutions.com> wrote:
>>>
>>> 
>>>
>>>      
>>>
>>>>Anyone had any luck building this under FC5? I'm having several issues...
>>>>Broken auto-generated makefiles, missing header files, etc...
>>>>   
>>>>
>>>>        
>>>>
>>>For missing header files you can always try
>>>
>>>yum whatprovides missing.h
>>>
>>>Andras
>>>
>>> 
>>>
>>>      
>>>
>>Contrary to the build instructions, it needs to be built as:
>>
>>make QTDIR=/usr/lib/qt-3.3 MOC=/usr/lib/qt-3.3/bin/moc
>>
>>It doesn't come with man pages or .info or anything like that... and
>>indeed wants to open /dev/usb/acm/0 ... which isn't created on FC5.
>>Use /dev/ttyACM0 instead.
>>
>>If I have time, I'll try to bundle up a .spec file for it...
>>
>>Now...  if only I could find an "Our man flint" midi file.  ;-)
>>
>>-Philip
>>
>>    
>>
>
>My compile fails trying to find usb.h, but there are several copies on
>the PC.  How do I tell it to find one? (And which one?)
>
>qmake
>make QTDIR=/usr/lib/qt-3.3 MOC=/usr/lib/qt-3.3/bin/moc
>
>In file included from phoneman.h:34,
>                 from form1.cpp:41:
>p2kproc.h:66:17: error: usb.h: No such file or directory
>p2kproc.h:153: error: ISO C++ forbids declaration of ‘usb_dev_handle’
>with no type
>p2kproc.h:153: error: expected ‘;’ before ‘*’ token
>p2kproc.h:203: error: ‘usb_dev_handle’ has not been declared
>
>
>$ locate /usb.h
>/usr/include/linux/usb.h
>/usr/src/kernels/2.6.17-1.2145_FC5-smp-i686/include/config/usb.h
>/usr/src/kernels/2.6.17-1.2145_FC5-smp-i686/include/config/joystick/iforce/usb.h/usr/src/kernels/2.6.17-1.2145_FC5-smp-i686/include/linux/usb.h
>/usr/src/kernels/2.6.17-1.2157_FC5-smp-i686/include/config/usb.h
>/usr/src/kernels/2.6.17-1.2157_FC5-smp-i686/include/config/joystick/iforce/usb.h/usr/src/kernels/2.6.17-1.2157_FC5-smp-i686/include/linux/usb.h
>
>  
>

You need qt, qt-devel, libusb-devel installed to build it.

-Philip




More information about the fedora-list mailing list