problem with pk2cmd v1.20

47 views
Skip to first unread message

SteppenWolf

unread,
Mar 5, 2009, 12:26:37 AM3/5/09
to pickit-devel
the next error messages finish the make process:

make linux
...
...
g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -
DCLAIM_US B -o stdafx.o -c stdafx.cpp
g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -
DCLAIM_US B -o pk2usbcommon.o -c pk2usbcommon.cpp
In file included from pk2usbcommon.cpp:32:
pk2usb.h:49:26: error: usb.h: No existe el fichero o el directorio
pk2usbcommon.cpp: In member function ‘void CUsbhidioc::CloseReport()’:
pk2usbcommon.cpp:648: error: ‘usb_release_interface’ was not declared
in this scope
make[1]: *** [pk2usbcommon.o] Error 1
make[1]: se sale del directorio `/home/unknown/instalados/
pk2cmdv1.20LinuxMacSource'
make: *** [linux] Error 2

i use AMD64 debian lenny and i want to know if are there any solution
to this error?

Xiaofan Chen

unread,
Mar 5, 2009, 2:51:14 AM3/5/09
to pickit...@googlegroups.com
On Thu, Mar 5, 2009 at 1:26 PM, SteppenWolf <magische...@gmail.com> wrote:
>
> the next error messages finish the make process:
>
> make linux
> ...
> ...
> g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -
> DCLAIM_US                 B -o stdafx.o  -c stdafx.cpp
> g++ -Wall -D_GNU_SOURCE -O2 -I/usr/local/include -DLINUX -DUSE_DETACH -
> DCLAIM_US                 B -o pk2usbcommon.o  -c pk2usbcommon.cpp
> In file included from pk2usbcommon.cpp:32:
> pk2usb.h:49:26: error: usb.h: No existe el fichero o el directorio

You need to install libusb development package. If you have already
installed it, then you need to modify the Makefile to point to
the correct directory.


Xiaofan

SteppenWolf

unread,
Mar 5, 2009, 3:40:58 PM3/5/09
to pickit-devel

thank you Xiaofan for the fast answer it works ok
Reply all
Reply to author
Forward
0 new messages