On Fri, Sep 10, 2010 at 1:11 PM, Kai Tietz <ktiet...@googlemail.com> wrote:
> 2010/9/10 Ozkan Sezer <seze...@gmail.com>:
>> On Fri, Sep 10, 2010 at 12:59 PM, Xiaofan Chen <xiaof...@gmail.com> wrote:
>>> On Fri, Sep 10, 2010 at 5:43 PM, Kai Tietz <ktiet...@googlemail.com> wrote:
>>>
>>>>> Unfortunately it does not work under Windows 7 x64.
>>>>>
>>>>> I got the following error.
>>>>> "Windows cannot load the device driver for this hardware.
>>>>> The driver may be corrupted or missing. (Code 39)"
>>>>>
>>>>> I will update later with more information.
>>>>>
>>>>
>>>> Not sure here, it could be here undefined references DLLs, or
>>>> unavailable API. You can check imports here by using objdump -x
>>>> <driver> to see more details.
>>>
>>> I will check that.
>>>
>>>> Other issue could be that signing is missing.
>>> Signing is not an issue here. We have access to KMCS signing
>>> certificate (from GlobalSign) and we have released signed
>>> driver since v1.2.0.0.
>>>
>>>
>>> --
>>> Xiaofan
>>>
>>
>>
>> I guess changing libusb0_drv.def to look like simply
>>
>> EXPORTS
>>    DriverEntry
>>
>> ... not helps, either?
>>
>> --
>> O.S.
>>
>
> Another option of some interest to you here is
> '-fno-set-stack-executable'. It prevent that code tries to call
> VirtualProtect for nested functions. As VirtualProtect isn't available
> in kernel mode AFAIK, this could be an issue here, too. Additionally
> you can use here option '-static', which makes sure that you don't get
> dependencies to libgcc_s... dll

Well the libusb0.sys file in the given link only links to ntoskrnl.exe,
and usbd.sys so it's pretty much static already?

>
> Kai
>
> --
> |  (\_/) This is Bunny. Copy and paste
> | (='.'=) Bunny into your signature to help
> | (")_(") him gain world domination
>

------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to