2010/9/10 Ozkan Sezer <[email protected]>:
> On Fri, Sep 10, 2010 at 12:59 PM, Xiaofan Chen <[email protected]> wrote:
>> On Fri, Sep 10, 2010 at 5:43 PM, Kai Tietz <[email protected]> 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
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public