lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

***BOGO*** Re: [Mingw-users] _imp functions not found when linking




> -----Original Message-----
> From: mingw-users-bounces@xxxxxxxxxxxxxxxxxxxxx 
> [mailto:mingw-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf 
> Of Brian Hawley
> Sent: Friday, 20 June 2008 4:21 p.m.
> To: MinGW Users List
> Subject: Re: [Mingw-users] _imp functions not found when linking
> 
> 
> 
> Thanks Danny...I was beginning to go a bit nuts.
> 
> When will the new release be available?
> 
> If it will be more than a week or so, then I would need to 
> try to roll my 
> own...although I'm pretty much clueless on how I would do that.
> 
> -- Brian

Quick lesson,
run the following on  the two attached def files (which have been updated with the
corrections)

dlltool --kill-at --output-lib libntoskrnl.a --def ntoskrnl.def 
dlltool --kill-at --output-lib libhal.a --def hal.def 

and put the lib files in your mingw/lib dir, replacing the one that are there now.

(The --kill at is necessary becuase MS puts the undecorated  (with @suffix name) in the
dlll export table).

HTH
Danny

Attachment: hal.def
Description: Binary data

Attachment: ntoskrnl.def
Description: Binary data

-------------------------------------------------------------------------
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