lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** [Mingw-users] KeRaiseIrql() not linking properly
- Date: Thu, 26 Jun 2008 12:19:37 -0700
- From: Andy Grover <andy@xxxxxxxxxxxxxxxx>
- Subject: ***BOGO*** [Mingw-users] KeRaiseIrql() not linking properly
Hi all,
I'm porting a driver from the DDK to MinGW, and I am having linking
problems:
/tmp/cc50gfB3.o:xenpci_fdo.c:(.text+0x8be): undefined reference to
`__imp__KeNumberProcessors'
/tmp/cc50gfB3.o:xenpci_fdo.c:(.text+0x8cb): undefined reference to
`__imp_@KfRaiseIrql@4'
/tmp/cc50gfB3.o:xenpci_fdo.c:(.text+0x955): undefined reference to
`__imp_@KfLowerIrql@4'
from looking at nm of libhal.a I see e.g. _KeRaiseIrql@8 but no
KfRaiseIrql@4, but there are these macros in effect:
#if defined(_X86_)
...
#define KeLowerIrql(a) KfLowerIrql(a)
#define KeRaiseIrql(a,b) *(b) = KfRaiseIrql(a)
How should I get this linking and working?
I'm using mingw-runtime 3.13 on Ubuntu Hardy btw.
Thanks! -- Regards -- Andy
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users