|
From: Brian H. <Bri...@da...> - 2006-04-06 05:30:25
|
Stephen,
Hi. I now have a test setup with a 64-bit AMD machine. However, I was
unable to compile the *.sys driver with Server 2003 DDK x64 build
environment.
See below for the errors (after retrieving libusb CVS code earlier in the
day).
Looks like there are quite a few "unresolved external symbols". Is there a
missing file or include somewhere?
Please help if you can.
By the way, the filter driver seemed to compile and link correctly :)
Thanks,
--Brian Hindman
C:\cygwin\home\Administrator\libusb\ddk_make>make_driver.bat
1 file(s) copied.
..\src\driver\abort_endpoint.c
..\src\driver\claim_interface.c
..\src\driver\clear_feature.c
..\src\driver\dispatch.c
..\src\driver\driver_debug.c
..\src\driver\driver_registry.c
..\src\driver\get_configuration.c
..\src\driver\get_descriptor.c
..\src\driver\get_interface.c
..\src\driver\get_status.c
..\src\driver\ioctl.c
..\src\driver\libusb_driver.c
..\src\driver\pnp.c
..\src\driver\power.c
..\src\driver\release_interface.c
..\src\driver\reset_device.c
..\src\driver\reset_endpoint.c
..\src\driver\set_configuration.c
..\src\driver\set_descriptor.c
..\src\driver\set_feature.c
..\src\driver\set_interface.c
..\src\driver\transfer.c
..\src\driver\vendor_request.c
23 file(s) copied.
..\src\driver\driver_api.h
..\src\driver\driver_debug.h
..\src\driver\libusb_driver.h
..\src\driver\usbdlib_gcc.h
4 file(s) copied.
..\src\driver\libusb_driver_rc.rc
1 file(s) copied.
..\src\driver\..\common.rc
..\src\driver\..\inf_wizard_rc.rc
..\src\driver\..\resource.rc
3 file(s) copied.
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Object root set to: ==> objfre_wnet_AMD64
BUILD: Compile and Link for AMD64
BUILD: Loading C:\WINDDK\3790~1.183\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Examining c:\cygwin\home\administrator\libusb\ddk_make directory for
file
s to compile.
c:\cygwin\home\administrator\libusb\ddk_make - 24 source files (3,050
lines)
BUILD: Compiling (NoSync) c:\cygwin\home\administrator\libusb\ddk_make
directory
BUILD: Linking c:\cygwin\home\administrator\libusb\ddk_make directory
Linking Executable - output\amd64\libusb0.sys for AMD64
errors in directory c:\cygwin\home\administrator\libusb\ddk_make
windows.obj : error LNK2019: unresolved external symbol __imp_free
referenced in
function usb_setup_async
usb.obj : error LNK2001: unresolved external symbol __imp_free
descriptors.obj : error LNK2001: unresolved external symbol __imp_free
registry.obj : error LNK2001: unresolved external symbol __imp_free
windows.obj : error LNK2019: unresolved external symbol __imp_CreateEventA
refer
enced in function usb_setup_async
windows.obj : error LNK2019: unresolved external symbol __imp_malloc
referenced
in function usb_setup_async
usb.obj : error LNK2001: unresolved external symbol __imp_malloc
descriptors.obj : error LNK2001: unresolved external symbol __imp_malloc
registry.obj : error LNK2001: unresolved external symbol __imp_malloc
windows.obj : error LNK2019: unresolved external symbol __imp_GetLastError
refer
enced in function usb_submit_async
error.obj : error LNK2001: unresolved external symbol __imp_GetLastError
install.obj : error LNK2001: unresolved external symbol __imp_GetLastError
windows.obj : error LNK2019: unresolved external symbol
__imp_DeviceIoControl re
ferenced in function usb_submit_async
windows.obj : error LNK2019: unresolved external symbol __imp_ResetEvent
referen
ced in function usb_submit_async
windows.obj : error LNK2019: unresolved external symbol __imp_CloseHandle
refere
nced in function usb_free_async
windows.obj : error LNK2019: unresolved external symbol
__imp_GetOverlappedResul
t referenced in function usb_io_sync
windows.obj : error LNK2019: unresolved external symbol __imp_CreateFileA
refere
nced in function usb_os_find_devices
windows.obj : error LNK2019: unresolved external symbol
__imp_WaitForSingleObjec
t referenced in function _usb_reap_async
usb.obj : error LNK2019: unresolved external symbol __imp_getenv referenced
in f
unction usb_init
error.obj : error LNK2019: unresolved external symbol
__imp_OutputDebugStringA r
eferenced in function output_debug_string
error.obj : error LNK2019: unresolved external symbol __imp_strerror
referenced
in function usb_strerror
error.obj : error LNK2019: unresolved external symbol __imp_fprintf
referenced i
n function usb_error
error.obj : error LNK2001: unresolved external symbol __imp__iob
error.obj : error LNK2019: unresolved external symbol __imp_FormatMessageA
refer
enced in function usb_win_error_to_string
install.obj : error LNK2019: unresolved external symbol
__imp_SetupFindNextLine
referenced in function usb_install_driver_np
install.obj : error LNK2019: unresolved external symbol
__imp_SetupDiDestroyDevi
ceInfoList referenced in function usb_install_driver_np
registry.obj : error LNK2001: unresolved external symbol
__imp_SetupDiDestroyDev
iceInfoList
install.obj : error LNK2019: unresolved external symbol
__imp_SetupDiSetDeviceRe
gistryPropertyA referenced in function usb_install_driver_np
registry.obj : error LNK2001: unresolved external symbol
__imp_SetupDiSetDeviceR
egistryPropertyA
install.obj : error LNK2019: unresolved external symbol
__imp_CM_Get_DevNode_Sta
tus referenced in function usb_install_driver_np
install.obj : error LNK2019: unresolved external symbol
__imp_SetupDiGetDeviceRe
gistryPropertyA referenced in function usb_install_driver_np
registry.obj : error LNK2001: unresolved external symbol
__imp_SetupDiGetDeviceR
egistryPropertyA
install.obj : error LNK2019: unresolved external symbol
__imp_SetupDiEnumDeviceI
nfo referenced in function usb_install_driver_np
registry.obj : error LNK2001: unresolved external symbol
__imp_SetupDiEnumDevice
Info
install.obj : error LNK2019: unresolved external symbol
__imp_SetupDiGetClassDev
sA referenced in function usb_install_driver_np
registry.obj : error LNK2001: unresolved external symbol
__imp_SetupDiGetClassDe
vsA
install.obj : error LNK2019: unresolved external symbol
__imp_SetupCopyOEMInfA r
eferenced in function usb_install_driver_np
install.obj : error LNK2019: unresolved external symbol
__imp_SetupGetStringFiel
dA referenced in function usb_install_driver_np
install.obj : error LNK2019: unresolved external symbol
__imp_SetupCloseInfFile
referenced in function usb_install_driver_np
install.obj : error LNK2019: unresolved external symbol
__imp_SetupFindFirstLine
A referenced in function usb_install_driver_np
install.obj : error LNK2019: unresolved external symbol
__imp_SetupOpenInfFileA
referenced in function usb_install_driver_np
install.obj : error LNK2019: unresolved external symbol
__imp_GetFullPathNameA r
eferenced in function usb_install_driver_np
install.obj : error LNK2019: unresolved external symbol __imp_GetProcAddress
ref
erenced in function usb_install_driver_np
install.obj : error LNK2019: unresolved external symbol __imp_LoadLibraryA
refer
enced in function usb_install_driver_np
install.obj : error LNK2019: unresolved external symbol __imp_FreeLibrary
refere
nced in function usb_service_load_dll
install.obj : error LNK2019: unresolved external symbol __imp_Sleep
referenced i
n function usb_service_stop
install.obj : error LNK2019: unresolved external symbol __imp_fputs
referenced i
n function usb_touch_inf_file_np
install.obj : error LNK2019: unresolved external symbol __imp_fgets
referenced i
n function usb_touch_inf_file_np
install.obj : error LNK2019: unresolved external symbol __imp_fputws
referenced
in function usb_touch_inf_file_np
install.obj : error LNK2019: unresolved external symbol __imp_fclose
referenced
in function usb_touch_inf_file_np
install.obj : error LNK2019: unresolved external symbol __imp_fgetws
referenced
in function usb_touch_inf_file_np
install.obj : error LNK2019: unresolved external symbol __imp_fopen
referenced i
n function usb_touch_inf_file_np
install.obj : error LNK2019: unresolved external symbol __imp_GetVersionExA
refe
renced in function usb_touch_inf_file_np
install.obj : error LNK2019: unresolved external symbol
__imp_SetupDiGetDeviceIn
stallParamsA referenced in function usb_install_needs_restart_np
install.obj : error LNK2019: unresolved external symbol
__imp_SetEnvironmentVari
ableA referenced in function usb_install_needs_restart_np
install.obj : error LNK2019: unresolved external symbol __imp_RegCloseKey
refere
nced in function usb_uninstall_service_np
registry.obj : error LNK2001: unresolved external symbol __imp_RegCloseKey
install.obj : error LNK2019: unresolved external symbol
__imp_RegDeleteValueA re
ferenced in function usb_uninstall_service_np
registry.obj : error LNK2001: unresolved external symbol
__imp_RegDeleteValueA
install.obj : error LNK2019: unresolved external symbol __imp_RegOpenKeyExA
refe
renced in function usb_uninstall_service_np
registry.obj : error LNK2001: unresolved external symbol __imp_RegOpenKeyExA
install.obj : error LNK2019: unresolved external symbol __imp_PostMessageA
refer
enced in function usb_uninstall_service_np
install.obj : error LNK2019: unresolved external symbol __imp_FindWindowA
refere
nced in function usb_uninstall_service_np
descriptors.obj : error LNK2019: unresolved external symbol __imp_realloc
refere
nced in function usb_parse_interface
registry.obj : error LNK2019: unresolved external symbol __imp_GetVersion
refere
nced in function usb_registry_is_nt
registry.obj : error LNK2019: unresolved external symbol
__imp_RegQueryValueExA
referenced in function usb_registry_get_property
registry.obj : error LNK2019: unresolved external symbol
__imp_SetupDiOpenDevReg
Key referenced in function usb_registry_get_property
registry.obj : error LNK2019: unresolved external symbol
__imp_RegSetValueExA re
ferenced in function usb_registry_set_property
registry.obj : error LNK2019: unresolved external symbol
__imp_SetupDiCallClassI
nstaller referenced in function usb_registry_set_device_state
registry.obj : error LNK2019: unresolved external symbol
__imp_SetupDiSetClassIn
stallParamsA referenced in function usb_registry_set_device_state
registry.obj : error LNK2019: unresolved external symbol __imp_RegEnumKeyExA
ref
erenced in function usb_registry_get_all_class_keys
bufferoverflowk.lib(gs_support.obj) : error LNK2019: unresolved external
symbol
DriverEntry referenced in function GsDriverEntry
output\amd64\libusb0.sys : error LNK1120: 56 unresolved externals
BUILD: Done
1 executable built - 73 Errors
> -----Original Message-----
> From: lib...@li...
> [mailto:lib...@li...]On Behalf Of
> Stephan Meyer
> Sent: Saturday, March 18, 2006 8:09 AM
> To: lib...@li...
> Subject: [Libusb-win32-devel] Re: [Libusb-win32-devel] 64-bit Windows
> libusb build - anyone done it yet?
>
>
>
>
> Check out the latest version from the CVS. This version can be
> compiled using the Server 2003 DDK x64 build environments.
>
> I don't know if the CVS code actually runs on 64-bit Windows
> because I have no 64-bit system to test it on.
>
> Let me know if it works,
>
> Stephan
>
>
> > Hi. Has anyone ported libusb-win32 to 64-bit Windows?
> > I would rather not re-invent the wheel if I did not have to...
> >
> > If anyone is willing to send me or point me to their code,
> > I would be very grateful.
> >
> > I know that the big change in 64-bit Windows is that
> > pointers are now 64-bit. But, many other data types are
> > still 32-bit...
> >
> > Thanks,
> > --Brian Hindman
> >
> > > -----Original Message-----
> > > From: lib...@li...
> > > [mailto:lib...@li...]On
> > > Behalf Of Peer Royla
> > > Sent: Wednesday, March 01, 2006 3:59 AM
> > > To: lib...@li...
> > > Subject: [Libusb-win32-devel] compiling Error
> > >
> > >
> > > Hello ,
> > >
> > > I tried to compile the driver by WINDDK, wrote Makefile
> and SOURCES.
> > >
> > > then type build and get 2000 errors like this:
> > >
> > > winddk\2600.1106\inc\ddk\wdm\wxp\usb100.h(137) : error
> > > C2061: syntax error
> > > : identifier 'bDescriptorType'
> > >
> > > dont know how to handle this.
> > >
> > > Anybody know the Answer?
> > >
> > >
> > > Peer
> > >
> > > --
> > > Telefonieren Sie schon oder sparen Sie noch?
> > > NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by xPML, a groundbreaking
> > > scripting language
> > > that extends applications into web and mobile media. Attend
> > > the live webcast
> > > and join the prime developer group breaking into this new
> > > coding territory!
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&
> > dat=121642
> > _______________________________________________
> > Libusb-win32-devel mailing list
> > Lib...@li...
> > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.375 / Virus Database: 268.1.1/271 - Release
> Date: 2/28/2006
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking
> scripting language
> > that extends applications into web and mobile media. Attend
> the live webcast
> > and join the prime developer group breaking into this new
> coding territory!
> >
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Libusb-win32-devel mailing list
> Lib...@li...
> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Libusb-win32-devel mailing list
Lib...@li...
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.2/280 - Release Date: 3/13/2006
|