Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2009 16:15:46 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-usb@freebsd.org
Subject:   openct port and USB2
Message-ID:  <200903182015.n2IKFWIb011457@lava.sentex.ca>

index | next in thread | raw e-mail

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@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903182015.n2IKFWIb011457>