From bernhard at intevation.de Mon Feb 23 10:11:39 2015 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 23 Feb 2015 10:11:39 +0100 Subject: errno Patch for GNU/Linux (glibc) Message-ID: <201502231011.40447.bernhard@intevation.de> 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