[nut-Bugs][313551] Eaton-SDK v0.6 static linking error on MinGW installed on Windows XP for SHUT serial.

nut-bugs at alioth.debian.org nut-bugs at alioth.debian.org
Fri Mar 23 20:55:28 UTC 2012


Bugs item #313551, was changed at 23/02/2012 05:24 by Arnaud Quette
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=411542&aid=313551&group_id=30602

>Status: Closed
Priority: 3
Submitted By: prachi gandhi (prachi-guest)
Assigned to: Frederic BOHE (fbohe-guest)
Summary: Eaton-SDK v0.6 static linking error on MinGW installed on Windows XP for SHUT serial. 
Category: Documentation
Group: None
Resolution: Fixed


Initial Comment:
 Static linking of eaton-sdk libraries on MinGW gives error as 'undefined reference to `__chkstk_ms''  for shut serial 

Administrator at HP16425273903 ~/eaton-sdk/SDK06 $ gcc Serial.c  -I include/ lib/win32/libeaton_shut.a -lws2_32
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:
Dwarf Error: Offset (19524) greater than or equal to .debug_abbrev size (749).
lib/win32/libeaton_shut.a(libeaton_shut_la-libshut.o):libshut.c:(.text +0xa72): undefined reference to `__chkstk_ms'
collect2: ld returned 1 exit status


----------------------------------------------------------------------

>Comment By: Arnaud Quette (aquette)
Date: 23/03/2012 21:55

Message:
Fixed in commits 3442 and 3482
Delivered in SDK 0.8

----------------------------------------------------------------------

Comment By: Frederic BOHE (fbohe-guest)
Date: 22/03/2012 11:19

Message:
Fixed in commits 3442 and 3482, and SDK delivery 0.8

----------------------------------------------------------------------

Comment By: prachi gandhi (prachi-guest)
Date: 23/02/2012 05:27

Message:
gcc needs to be updated to 4.6.1 version or newer.
Note regarding this limitation has to be added in documentation of eaton-sdk.

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=411542&aid=313551&group_id=30602



More information about the NUT-tracker mailing list