openct port and USB2

Mike Tancsa mike at sentex.net
Wed Mar 18 13:15:54 PDT 2009


Hi,
         I was trying to see if OpenCT and OpenSC work under the new 
USB regime, but openCT doesnt compile now.  Are there any tricks to 
get it to compile and or work ?

.
.
.
mv -f .deps/libifd_la-sys-sunray.Tpo .deps/libifd_la-sys-sunray.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H 
-I. -I../..     -I../../src/include 
-I../../src/include   -I/usr/local/include -O2 -pipe 
-fno-strict-aliasing -MT libifd_la-sys-solaris.lo -MD -MP -MF 
.deps/libifd_la-sys-solaris.Tpo -c -o libifd_la-sys-solaris.lo `test 
-f 'sys-solaris.c' || echo './'`sys-solaris.c
  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include 
-I../../src/include -I/usr/local/include -O2 -pipe 
-fno-strict-aliasing -MT libifd_la-sys-solaris.lo -MD -MP -MF 
.deps/libifd_la-sys-solaris.Tpo -c sys-solaris.c  -fPIC -DPIC -o 
.libs/libifd_la-sys-solaris.o
  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include 
-I../../src/include -I/usr/local/include -O2 -pipe 
-fno-strict-aliasing -MT libifd_la-sys-solaris.lo -MD -MP -MF 
.deps/libifd_la-sys-solaris.Tpo -c sys-solaris.c -o 
libifd_la-sys-solaris.o >/dev/null 2>&1
mv -f .deps/libifd_la-sys-solaris.Tpo .deps/libifd_la-sys-solaris.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H 
-I. -I../..     -I../../src/include 
-I../../src/include   -I/usr/local/include -O2 -pipe 
-fno-strict-aliasing -MT libifd_la-sys-bsd.lo -MD -MP -MF 
.deps/libifd_la-sys-bsd.Tpo -c -o libifd_la-sys-bsd.lo `test -f 
'sys-bsd.c' || echo './'`sys-bsd.c
  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include 
-I../../src/include -I/usr/local/include -O2 -pipe 
-fno-strict-aliasing -MT libifd_la-sys-bsd.lo -MD -MP -MF 
.deps/libifd_la-sys-bsd.Tpo -c sys-bsd.c  -fPIC -DPIC -o 
.libs/libifd_la-sys-bsd.o
sys-bsd.c: In function 'ifd_sysdep_usb_bulk':
sys-bsd.c:113: error: 'USB_SET_SHORT_XFER' undeclared (first use in 
this function)
sys-bsd.c:113: error: (Each undeclared identifier is reported only once
sys-bsd.c:113: error: for each function it appears in.)
sys-bsd.c: In function 'ifd_sysdep_usb_control':
sys-bsd.c:243: error: storage size of 'ctrl' isn't known
sys-bsd.c:256: error: 'USBD_SHORT_XFER_OK' undeclared (first use in 
this function)
sys-bsd.c:265: error: 'USB_SET_TIMEOUT' undeclared (first use in this function)
sys-bsd.c:272: error: 'USB_DO_REQUEST' undeclared (first use in this function)
sys-bsd.c: In function 'ifd_sysdep_usb_set_configuration':
sys-bsd.c:291: error: 'USB_SET_CONFIG' undeclared (first use in this function)
sys-bsd.c: In function 'ifd_sysdep_usb_set_interface':
sys-bsd.c:312: error: 'USB_SET_ALTINTERFACE' undeclared (first use in 
this function)
sys-bsd.c: In function 'ifd_scan_usb':
sys-bsd.c:378: error: 'USB_MAX_DEVICES' undeclared (first use in this function)
sys-bsd.c:379: error: storage size of 'device_info' isn't known
sys-bsd.c:386: error: 'USB_DEVICEINFO' undeclared (first use in this function)
gmake[3]: *** [libifd_la-sys-bsd.lo] Error 1
gmake[3]: Leaving directory 
`/usr/ports/security/openct/work/openct-0.6.15/src/ifd'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/security/openct/work/openct-0.6.15/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/security/openct/work/openct-0.6.15'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/security/openct.
*** Error code 1

Stop in /usr/ports/security/openct.
1[i7]#

         ---Mike

--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike at sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike



More information about the freebsd-usb mailing list