|
From: Thomas S. <th...@th...> - 2006-04-11 01:42:21
|
When I tried to compile a DLL with the 20051120 version with the 2003
DDK, I got the following output, and no DLL. Is this supposed to work?
I tried this in the WinXP and Win2003 Free and Checked build
environments. It looks like make_all.bat did output a libusb.sys file
however.
T
C:\msys\home\swf\libusb-win32-src-20051120\ddk_make>make_dll.bat
1 file(s) copied.
..\src\descriptors.c
..\src\error.c
..\src\inf_wizard.c
..\src\install.c
..\src\install_filter.c
..\src\libusb_dyn.c
..\src\registry.c
..\src\usb.c
..\src\windows.c
9 file(s) copied.
..\libusb0.def
..\libusb0_drv.def
2 file(s) copied.
..\src\error.h
..\src\registry.h
..\src\usb.h
..\src\usbi.h
4 file(s) copied.
..\src\common.rc
..\src\inf_wizard_rc.rc
..\src\resource.rc
3 file(s) copied.
1 file(s) copied.
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Using 2 child processes
BUILD: Object root set to: ==> objfre_wxp_x86
BUILD: Compile and Link for i386
BUILD: Loading C:\WINDDK\3790~1.183\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Examining c:\msys\home\swf\libusb-win32-src-20051120\ddk_make
directory f
or files to compile.
c:\msys\home\swf\libusb-win32-src-20051120\ddk_make - 7 source files
(4,155
lines)
BUILD: Compiling (NoSync)
c:\msys\home\swf\libusb-win32-src-20051120\ddk_make di
rectory
1>Compiling - resource.rc for i386
1>Compiling - windows.c for i386
1>Compiling - usb.c for i386
1>errors in directory c:\msys\home\swf\libusb-win32-src-20051120\ddk_make
1>usb.c(174) : error C2275: 'usb_dev_handle' : illegal use of this type
as an ex
pression
1>usb.c(174) : error C2065: 'udev' : undeclared identifier
1>usb.c(176) : error C4047: '=' : 'int' differs in levels of indirection
from 'u
sb_dev_handle *'
1>usb.c(178) : error C4047: 'function' : 'usb_dev_handle *' differs in
levels of
indirection from 'int'
1>usb.c(180) : error C4047: 'function' : 'usb_dev_handle *' differs in
levels of
indirection from 'int'
1>Compiling - error.c for i386
1>Compiling - install.c for i386
1>Compiling - descriptors.c for i386
1>Compiling - registry.c for i386
1>Compiling - generating code... for i386
BUILD: Compiling c:\msys\home\swf\libusb-win32-src-20051120\ddk_make
directory
100>Compiling - usb.c for i386
100>usb.c(174) : error C2275: 'usb_dev_handle' : illegal use of this
type as an
expression
100>usb.c(174) : error C2065: 'udev' : undeclared identifier
100>usb.c(176) : error C4047: '=' : 'int' differs in levels of
indirection from
'usb_dev_handle *'
100>usb.c(178) : error C4047: 'function' : 'usb_dev_handle *' differs in
levels
of indirection from 'int'
100>usb.c(180) : error C4047: 'function' : 'usb_dev_handle *' differs in
levels
of indirection from 'int'
100>Building Library - objfre_wxp_x86\i386\libusb0.lib for i386
100>LIB : error LNK1181: cannot open input file
'objfre_wxp_x86\i386\usb.obj'
BUILD: Compile errors: not linking
c:\msys\home\swf\libusb-win32-src-20051120\dd
k_make directory
BUILD: Done
10 files compiled - 10 Errors - 1495 LPS
1 library built - 1 Error
C:\msys\home\swf\libusb-win32-src-20051120\ddk_make>
|