Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 96:27:03 |
Calls: | 290 |
Files: | 904 |
Messages: | 76,426 |
On Mon, 2024-09-09 at 21:33 -0300, João Matos wrote:
Dear list,
I'm trying to install the Checkpoint client for linux (cshell_install). It >> requires sys-libs/libstdc++-v3, 32 bits. I couldn't compile it and found
this bug: https://bugs.gentoo.org/919184
TIL that we have a twenty-year-old libstdc++ in the tree.
Do you know any way of work around this? Maybe copying the binary file from >> another distro or try to use another gcc version?
It's running a test program to find the glibc minor version:
#include <features.h>
main(argc, argv)
int argc;
char *argv[];
{
printf("%d\n", __GLIBC_MINOR__);
return 0;
}
But this test program, having been written 20+ years ago, is crap. It's missing <stdio.h> and a correct signature for "main" at least. Newer
GCCs (like the one that you're using) will refuse to compile it. So the
test fails unexpectedly, and the build stops. You might be able to
trick it by disabling -Wimplicit-int, -Wimplicit-function-declaration,
and whatever other warnings that program raises... but then you have to actually compile the rest of it with a new GCC. Good luck :)