cyginw64 ioperm package

Balaji Venkataraman balaji.s.venkataraman@gmail.com
Tue Jul 9 10:12:00 GMT 2013


>> On Mon, Jun 17, 2013 at 12:41 PM, marco atzeri  wrote:
>>
>>
>>> as the 32 bit package is orphaned, we need a volunteer to take over.

I tried building the 32bit version of ioperm on Windows 7 x64 and
after getting past a few initial hurdles, make fails as below:

Making all in admin
make[1]: Entering directory `/usr/src/ioperm-0.4/admin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/ioperm-0.4/admin'
Making all in driver
make[1]: Entering directory `/usr/src/ioperm-0.4/driver'
gcc -Wall -I/usr/include/w32api/ddk -c ./ioperm.c -o ioperm.o
./ioperm.c:48:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘Ke386IoSetAccessProcess’
./ioperm.c:49:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘Ke386QueryIoAccessMap’
./ioperm.c:50:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘Ke386SetIoAccessMap’
./ioperm.c:53:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘ioperm_unload’
./ioperm.c:63:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘ioperm_dispatch_create’
./ioperm.c:77:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘ioperm_dispatch_device_control’
./ioperm.c:182:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘DriverEntry’
Makefile:341: recipe for target `ioperm.o' failed
make[1]: *** [ioperm.o] Error 1
make[1]: Leaving directory `/usr/src/ioperm-0.4/driver'
Makefile:238: recipe for target `all-recursive' failed
make: *** [all-recursive] Error 1

I found a few relevant threads[1,2], which did give me some background
but I'm still fairly lost. This[3] had me further puzzled. Having no
background with ddk or Windows drivers etc., I would appreciate any
pointers from the more knowledgeable folks out there.

Thanks,
Balaji

[1] http://cygwin.com/ml/cygwin/2013-04/msg00116.html
[2] http://cygwin.com/ml/cygwin/2011-08/msg00330.html
[3] https://groups.google.com/forum/#!topic/microsoft.public.windows.64bit.general/wkAETs4zidw

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list