I added the definition of the function to a header file and am including it in both .c files, but I am still receiving an error: C:\Users\Hunter\AppData\Local\Temp\ccyqsulH.o: In function main': C:DES_hash.c:42: undefined reference toDES' collect2: ld returned 1 exit status...
For my combination of arm-none-eabi-gcc linker flags - a cmake build based on a SiLabs EFM32 project - the key was to add -lc to my linker options to link with libc.a which provides _exit. For reference my compile options are: -g -gdwarf-2 -mcpu=cortex-m33 -mthumb -std=c99 ...
All error/warnings: drivers/built-in.o: In function `tfe8096p_tuner_attach': dib0700_devices.c:(.text+0x332ffd): undefined reference to `dib8096p_get_i2c_tuner' dib0700_devices.c:(.text+0x333041): undefined reference to `dib8000_set_gpio' drivers/built-in.o: In function `dib80xx_...
All error/warnings: drivers/built-in.o: In function `psb_driver_load': psb_drv.c:(.text+0x130b26): undefined reference to `acpi_video_register' drivers/built-in.o: In function `tfe8096p_tuner_attach': dib0700_devices.c:(.text+0x3934bd): undefined reference to `dib8096p_get_i2c_t...
(.text.startup+0x4bb): undefined reference to `cv::DescriptorExtractor::compute(cv::Mat const&, std::vector<cv::KeyPoint, std::allocator<cv::KeyPoint> >&, cv::Mat&) const' lennart_martens_opgave13.cpp:(.text.startup+0x5ac): undefined reference to `cv::DescriptorMatcher::mat...
The GNU ld (linker script) manual Section 3.5.5 Source Code Reference has some really important information on how to access linker script "variables" (which are actually just integer addresses) in C source code. I used this info. to extensively use linker script variables, a...
text+0x41): undefined reference to `cfunc2' collect2: error: ld returned 1 exit status cfunc2 is the function I am trying to call. I do not understand where I am going wrong. I am including the right options and arguments, but somehow this symbol is undefined. Any suggestions? c++...