Dingjun Chen kirjoitti 27.9.2023 klo 15.26:
The following link error message occurred:
[ 90%] Building CXX object CMakeFiles/vtemdaq.dir/src/serialmsg.cc.o
[ 95%] Building CXX object CMakeFiles/vtemdaq.dir/src/simulant.cc.o
[100%] Linking CXX executable ../bin/vtemdaq
/usr/bin/ld: errno: TLS definition in /lib32/libc.so.6 section .tbss mismatches non-TLS reference in ../lib/libvga.so
Could you please tell me what caused such errors and how to fix them? I look forward to your help!
Some mismatch... As usually, googling with the error message(s) could
help. One useful skill more is to solve problems for which one hasn't
any clue :) OK, for instance this was found :
https://www.linuxquestions.org/questions/programming-9/errno-tls-definition-in-lib64-libc-so-6-section-tbss-mismatches-non-tls-reference-528681/
The 'libvga' seems to be for direct access to the VGA display, which
somehow reminds me about the IBM PC early years when DOS hadn't much
support for handling the display. Neither Linux in its early years
before X11, KDE, Gnome etc. graphic support libraries. So my question is
how old was
the system for which the application was aimed for? Should it still work
in uptodate Linuces like Ubuntu 22.04? As was told, I have no clue whether a
"hack" like used in the link could solve your problem...