GNU ld linked error occurred for help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, guys,

I am using the following GNU  compiler under Ubuntu to build our 32-bit application:

dingjun@G02515:~/DAQ_XYZCross2_cmake/build$ g++ --version
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

dingjun@G02515:~/DAQ_XYZCross2_cmake/build$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.38
Copyright (C) 2022 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.



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
/usr/bin/ld: /lib32/libc.so.6: error adding symbols: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/vtemdaq.dir/build.make:420: ../bin/vtemdaq] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/vtemdaq.dir/all] Error 2
make: *** [Makefile:91: all] Error 2


Could you please tell me what caused such errors and how to fix them? I look forward to your help!

Thanks indeed in advance!

Best regards,

Dingjun


Dingjun Chen  | Software Developer

[Geotech Airborne Geophysical Surveys]

Geotech Ltd. dba Geotech Airborne | 270 INDUSTRIAL PKY S | AURORA ON CA | L4G 3T9
T: +1 905 841 5004 | Dingjun.Chen@xxxxxxxxxxxxxxxxxxx<mailto:Dingjun.Chen@xxxxxxxxxxxxxxxxxxx> | www.geotechairborne.com<www.geotech.ca>

P Please consider the environment before printing this email

This message may contain PRIVILEGED AND PROPRIETARY INFORMATION intended solely for the use of the addressee (s) named above. Any disclosure, distribution, copying, or use of the information by others is strictly prohibited. If you have received this message in error, please advise the sender by immediate reply and delete the original message.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux