[Top][All Lists]

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

Re: Link errors on mingw crosscompile

From: John Darrington
Subject: Re: Link errors on mingw crosscompile
Date: Tue, 3 Feb 2009 14:33:05 +0900
User-agent: Mutt/1.5.13 (2006-08-11)

Trial and error shows that it's necessary to link against 
libwsock32.a and libws2_32.a from mingw.  But I don't know how
we would be supposed to add these dependencies.  Shouldn't gnulib
look after that?

On Mon, Feb 02, 2009 at 08:58:40PM -0800, Ben Pfaff wrote:
     John Darrington <address@hidden> writes:
     > I get these errors when cross compiling to the mingw target.
     > src/.libs/libpspp.a(close.o):close.c:(.text+0x2b): undefined reference
     > to address@hidden'
     > src/.libs/libpspp.a(close.o):close.c:(.text+0x43): undefined reference
     > to address@hidden'
     > src/.libs/libpspp.a(close.o):close.c:(.text+0x90): undefined reference
     > to address@hidden'
     > src/.libs/libpspp.a(close.o):close.c:(.text+0x9d): undefined reference
     > to address@hidden'
     > It's the latest gnulib commit, so perhaps this should be reported to
     > them?
     This could easily be our fault: I wouldn't be surprised if we
     were omitting some of the needed $(variables) or @variables@ from
     the LDADD variables etc.  Did you look those over first?
     Ben Pfaff
     pspp-dev mailing list

PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]