linker Questions

1

Solved

I'm attempting to build my project after upgrading to XCode 16 and am having trouble getting it to compile. When I attempt to build the project I get an error: air-lld:1:1 symbol(s) not found for t...
Shoestring asked 20/9, 2024 at 4:19

1

I am trying to compile a simple hello program using gcc, but getting the below error. i am using ubuntu. gcc -g -o hello hello.c collect2: fatal error: ld terminated with signal 11 [Segmentatio...
Odeen asked 16/7, 2019 at 21:9

3

I have a bunch of object files that have been compiled without the -fPIC option. So the calls to the functions do not use @PLT. (source code is C and is compiled with clang). I want to link these ...
Dissipate asked 21/2, 2018 at 8:41

4

Solved

I am stuck with HAL_Delay() function. When i call this function HAL_Delay() , control stuck in infinite loop. While searching for the problem, I found this http://www.openstm32.org/forumthread2145...
Frieder asked 22/12, 2018 at 22:51

4

Solved

When building projects in C++, I've found debugging linking errors to be tricky, especially when picking up other people's code. What strategies do people use for debugging and fixing linking error...
Stoneblind asked 29/8, 2008 at 18:27

9

Solved

I am tracking down crashes with our Android application (which uses the NDK to load a custom C++ library) using a crash reporting service. A small number of users are experiencing the following cra...
Sheathe asked 20/2, 2015 at 21:48

15

Solved

I'm trying to link against a library (libcef_wrapper_dll.lib) that was built with the /MDd flag. My application is build with /MDd and /CLR so should be compatible. The project compiles fine but wh...
Coerce asked 23/11, 2010 at 13:33

7

Solved

I have a project that takes about 8 seconds to link with g++ and ld. It uses a bunch of static libraries, most of the code is c++. I'm interested in a general list of tips on how to reduce link t...
Illogicality asked 29/12, 2010 at 19:56

4

Solved

I'm using lld as my linker currently for Rust, but recently encountered the mold project, which is faster than lld. I'd like to try it for Rust compilation, but I'm not sure how to pass it in as my...
Kempis asked 12/5, 2021 at 22:59

3

I have a function in my C code that is being called implicitly, and getting dumped by the linker. how can I prevent this phenomena? I'm compiling using gcc and the linker flag -gc-sections, and I...
Normand asked 31/12, 2018 at 8:38

4

I'm new to the rust ecosystem bare in mind. I'm trying to use rustqlite crate so I can store really large indexes that don't fit into memory. I get an immediate RUNTIME ERROR where it faults and sa...
Seely asked 28/5, 2023 at 1:47

4

I have a bunch of projects that all could share a "common" static library of classes. What confuses me is if I make a static library out of these classes and link against it in my projects that I ...
Henrieta asked 10/4, 2010 at 2:43

6

Solved

I am looking for a tool to simplify analysing a linker map file for a large C++ project (VC6). During maintenance, the binaries grow steadily and I want to figure out where it comes from. I suspect...
Skell asked 23/2, 2009 at 11:25

3

Here the code #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <netinet/in.h> #include <resolv.h> int main (int argc, char *argv[]) { u_char nsbu...
Educable asked 6/11, 2009 at 16:54

12

Solved

I've got the following error when building the project in Xcode: ld: file not found /Users/MacBookPro/Library/Developer/Xcode/DerivedData/Social_Events-cfnteabiivwfdzcoulzznhmgobhy/Build/Prod...
Pinkham asked 30/10, 2014 at 23:29

3

Solved

I am compiling a test program to test the fftw3 (ver3.3.4). Since it is not installed with root previlidge the command I used is: gcc -lm -L/home/my_name/opt/fftw-3.3.4/lib/ -I/home/my_name/opt/ff...
Cown asked 29/8, 2014 at 12:10

2

I'm trying to write a linker script to write one section content into two non-contiguous memory regions. I have found an old thread in this mail list about this: "ld linker script and non-contiguo...
Patin asked 1/3, 2013 at 11:3

8

Solved

to clarify, my question refers to wrapping/intercepting calls from one function/symbol to another function/symbol when the caller and the callee are defined in the same compilation unit with the GC...
Greer asked 19/12, 2012 at 21:45

3

In the Solution Explorer, the vcxproj projects that have references, show a warning symbol on each of the references associated with the project. When the reference is highlighted, the properties p...
Garnierite asked 27/4, 2016 at 21:0

10

Solved

I'm using a library from CGAL which during the linking stage of my code compilation produces a lot of linking warnings of this form: warning LNK4099: PDB 'vc80.pdb' was not found with 'gmp-vc80-mt...
Planogamete asked 19/3, 2009 at 9:53

3

I'm using Code::Blocks IDE(v13.12) with GNU GCC Compiler. I want to the linker to link static versions of required runtime libraries for my programs, how may I do this? I already know that my exec...
Deland asked 29/9, 2014 at 15:53

24

I have read a lot of solutions to my problem but none helped. I tried clean, rebuild. Reinstalled visual 2010 and change from professional to ultimate. But still I dont know why I have this error. ...
Paroicous asked 5/10, 2011 at 21:52

2

Solved

Is it possible to use CMake to enclose a target's libraries in --start-group/--end-group without manually writing the argument string into target_link_options? Background: I'm having library orderi...
Fairlead asked 7/9, 2022 at 17:50

11

Why does the order in which libraries are linked sometimes cause errors in GCC?
Tavia asked 5/9, 2008 at 2:24

8

I have atls.lib in my hard drive, but I can't link it into my Visual Studio project. I know that atls.lib is an ATL specific library file, and I have all the ATL files/headers/libraries. However, I...
Squally asked 20/6, 2012 at 15:37

© 2022 - 2025 — McMap. All rights reserved.