lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** [Mingw-users] _imp functions not found when linking
- Date: Thu, 19 Jun 2008 15:07:07 -0700
- From: Brian Hawley <bhawley@xxxxxxxxxxx>
- Subject: ***BOGO*** [Mingw-users] _imp functions not found when linking
I hope someone can shed some light on my problem. I am building some
drivers (they need to be legacy) for Windows. Everything has been working
very very well. I am now down to just these two problems.
All the other ntos and hal calls seem to resolve fine (and there are quite
a few of them). However, these two it can't seem to resolve.
c:/tmp/bhawley/generic-i386-winxp/Libraries/2.2.0.0/lib/libbase_K64.a(pal__windows.o_K64):
In function
`pal__reg_setup':e:/projects/current/bhawley_Base_Libraries/libraries/base/pal__windows.c:372:
undefined reference to `_imp__HalTranslateBusAddress@24'
c:/tmp/bhawley/generic-i386-winxp/Libraries/2.2.0.0/lib/libbase_K64.a(pal__windows.o_K64):
In function
`pal__dma__mem_alloc':e:/projects/current/bhawley_Base_Libraries/libraries/base/pal__windows.c:451:
undefined reference to `_imp__MmAllocateContiguousMemory@12'
this is the link line:
gcc
-shared -L/home/engr/tmp/bhawley/generic-i386-winxp/luc/1.0.0.18/lib
-L/home/engr/tmp/bhawley/generic-i386-winxp/Libraries/2.2.0.0/lib
-L/home/engr/support/generic-i386-winxp/luc/1.0.0.18/lib
-L/home/engr/support/generic-i386-winxp/Libraries/2.2.0.0/lib
-L/home/engr/support/generic-i386-winxp/w32compat/pthread/lib -shared
-Wl,--entry,_DriverEntry@8 -nostartfiles -nostdlib -static-libgcc
/home/engr/tmp/bhawley/generic-i386-winxp/LUM7900/1.0.0.0/LUM7900/Driver.o_K64
-o
/home/engr/tmp/bhawley/generic-i386-winxp/LUM7900/1.0.0.0/drv/LUM7900_K64
-lluci_K64 -lbase_K64 -lntoskrnl -lhal -lgcc
I'm just really puzzled why these two do not resolve when so many other
calls to.
In particular, I am calling HalTranslateBusAddress(...) and
MmAllocateContiguousMemory(...).
Any help is appreciated. Thanks.
-------------------------------------------------------------------------
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