errno Patch for GNU/Linux (glibc)

Bernhard Reiter bernhard at intevation.de
Mon Feb 23 10:11:39 CET 2015


Hello,

got notice that on modern glibc systems errno.h must be used otherwise
there will be compliation errors like:

gcc -o statist statist.o menue.o procs.o funcs.o data.o plot.o 
memory_handling.o -lm
/usr/bin/ld: errno: TLS definition in /lib/i386-linux-gnu/libc.so.6 
section .tbss mismatches non-TLS reference in statist.o
/lib/i386-linux-gnu/libc.so.6: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [statist] Fehler 1

The attached patch tries to resolve the situation.

Best,
Bernhard

-- 
www.intevation.de/~bernhard (CEO)    www.fsfe.org (Founding GA Member)
Intevation GmbH, Osnabrück, Germany; Amtsgericht Osnabrück, HRB 18998
Owned and run by Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: statist-new-glibc-20150223.patch
Type: text/x-diff
Size: 2595 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/statist-list/attachments/20150223/dbee0737/statist-new-glibc-20150223.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
Url : http://www.intevation.de/pipermail/statist-list/attachments/20150223/dbee0737/attachment.bin


More information about the Statist-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)