[m-users.] Completely statical linking

Volker Wysk <[email protected]>
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>
Hi!
 
I'm trying to link a program completely statically, by using "--mercury-
linkage static" and "--linkage static". I get warning messages like this:

/usr/bin/ld: (.text+0x11e): Warnung: Using 'getpwuid_r' in statically linked
applications requires at runtime the shared libraries from the glibc version
used for linking

Why does it require shared libraries at runtime? That's what I want to
circumvent by linking statically!

Can that warning messages be ignored? If so, can it be turned off?

TIA
Volker

_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmPetF8ACgkQ+K4ydFOs
HoVQxQ/8C+bkTEAo35wJoqGabMc9nX9lCFeDytL00RzEE7f8Aq+ry3huZpdZoafz
59qz28Yx+2g3+/DPtJWXB3hwqFOEWdI78RD774It5R+NfYUPLL5iGyT3r7KPxuMc
I6mEIX0UkWO2JSDllpBMImQc3dNy/MfrMIju/bvu8SKwLvQU5x0Q5o1KzdAeCcX8
O6qP1F/y9PlAE8K4WzD5Fv4DFg/7viTWhe1u/FV/KT9jUaJcnt6NqWk2+d4aCgJT
1LK6ipea2r7cbM4XZFvCAuUb6TSdY3ANSuHgqIb/r9juuKelGoDt7O/N53nkqcE7
UBrVhYhjVAom6MR5INIiQkyRRQD1JWKywMtS8p1D3NW60ZTW5fEnbj1ABooHDjPW
QkGbE2ufULsFkB1Mhrlm9I8ia2GiFpib1U+qXEQdD42Y5GwhhfJIOkmVNMJaGHH5
dEdErsmFm0y960sfucv/cxBxElYG9uLWDsBBP72NhbdoNSCe1Ywi5/wnc/kJum7q
x1zLHBVy+k55DzKDuPSNnfhvDV00yIVnEZHB8Z5wMIOaL8Nfe221GPpruedQOF0V
BPv4pnzqNEFkVrrVIXMlOeEOJFIS1LUXx2zfYRSFIDWNpU8gLG98QJ8qyHnIZTwx
ztgH5mo5FYoA01hQVvET1U52/w70yLrJlkk7sZABBvREaopyypU=
=4od0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.