2 messages in net.java.dev.jna.usersRe: [jna-users] Faulty MinGW installa...
FromSent OnAttachments
Albert StrasheimOct 29, 2007 6:25 am 
Timothy WallOct 29, 2007 6:36 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] Faulty MinGW installation?Actions...
From:Timothy Wall (twal@dev.java.net)
Date:Oct 29, 2007 6:36:56 am
List:net.java.dev.jna.users

On Oct 29, 2007, at 9:26 AM, Albert Strasheim wrote:

Timothy,

I just noticed the following commit:

Author: twalljava Date: 2007-10-29 13:23:28+0000 New Revision: 345

Modified: trunk/jnalib/native/Makefile

Log: Don't need new specs under mingw; was due to faulty installation

What did you have to do to your MinGW to make it not faulty?

I've had problems with building JNA with MinGW in the past, so it would be useful to know what one has to tweak to make MinGW's linker happy.

It wasn't on purpose; I had to rebuild my laptop after a HD failure, so I got a clean mingw install.

mingw builds originally were complaining at link time about being unable to find one of the crt* startup objects, even though it seemed to be in the path, and no amount of -L or explicit object references would help. I patched the specs file to include the explicit path to the missing object, used "-specs <file>" in the command, and everything worked properly.

You might be able to fix the install by reinstalling the gcc/binutils bits.