I'm cross compiling a SDK for an embedded board using pre-built mips-linux-uclibc- toolchain. While compiling a set of sources that makes use of libom_api.so library causes an error "undefined reference to `printf@GLIBC_2.0'" and 10 other symbols like [email protected]. In Makefile they have passed -lom_api along with some other app specific libraries. Is it because libom_api.so is compiled using Glibc compiler? how can I resolve this issue? SDK doesn't have sources of libom_api.so. What I tried: I built a Glibc cross-toolchain with buildroot and passed $(LDGLIBC) to compiler after -lom_api in Makefile (LDGLIBC = -L$(ROOTDIR)/glibc-toolchain/GLIB), still causing error.
is it possible to cross compile (with uclibc toolchain) a program which uses a shared library that causes 'undefined reference to printf@GLIBC_2.0'
621 Views Asked by Prathamesh Konkar At
1
There are 1 best solutions below
Related Questions in MAKEFILE
- How to refer to the filepath of test data in test sourcecode?
- Can't connect to postgres with Adminer using Docker on MacOS
- Flint installation error: make: *** [build/generic_files/memory_manager.lo] Error 1
- How to compile the Linux kernel with -O0 for more detailed debug?
- Makefile:7: *** missing separator. Stop (HELP NEEDED)
- Trying to compile GCC returns a bunch of errors
- cmake and g++ cross compilation looking for library in host sysroot path instead of target sysroot
- Turn a makefile into a list of build commands
- make test error with Golang: make: *** [Makefile:47: manifests] Error 126
- Passing optional arguments from makefile to shell script
- GNU make file pairwise combinations of files in folder
- make Error 2, The system cannot find the file specified
- Why do I get a make: *** No target specified and no makefile error?
- why does Make give error while compiling?
- CMake always rebuilding included file even if it didn't change
Related Questions in EMBEDDED-LINUX
- Touch calibration error when using Avalonia UI with Raspberry PI 4 (lite) DRM Mode
- Can't ping to 8.8.8.8 and google.com in beaglebone black
- How to extract the .img file into normal kernel source file in the linux?
- Using C++ libgpiod to calculate interval and speed between events
- yocto bitbake 'python3 setup.py bdist_wheel ' execution failed
- How to reduce cached memory used by Linux kernel on embedded linux platform
- Unable to parse input tree, possibly due to dash
- How to add a button handler to GPIO pin through a push button
- Linux of_platform_depopulate() does not remove drivers
- Filling a sk_buff with content of recieved frame
- How to reduce reserved memory allocated by Linux kernel during boot time
- embedded linux buildroot how to work with axi-gpio?
- How do I know when the dsa_loop and dsa_loop_bdinfo linux kernel modules are working?
- buildroot for zedboard, how to enable axi-gpio in device tree?
- Driver is not loading when there 2 or more source files
Related Questions in CROSS-COMPILING
- cmake and g++ cross compilation looking for library in host sysroot path instead of target sysroot
- OpenSSL with C++ app - getting undefined references during compilation
- How to navigate to the structure definition for the target architecture when cross-compiling on Ubuntu with VS Code?
- yaml-cpp cross-platform building, how to build arm in x86 ubuntu vm
- Cross compiling godot as export template for arm
- How do I override location for dynamically linked libgcc_s?
- Xcode does not recognize PoDoFo built for iOS
- How to containerize the compilation process for a Rust-based Windows application on Linux?
- Shared library dependency is not forwarded by a static library target when privately linked
- Unable to cross-compile a simple program using MSVC 9
- cpython3.6.15 has Bus error (core dumped) problem in arm paltform
- can't find linker script when cross compiling for win32 from linux
- Swift binary built in docker causes "illegal instruction" crash on real Linux
- conan/cmake can't see llvm linker when cross-compiling from macOS (arm64) to Windows (x86_x64)
- How can I get "avr-unknown-gnu-atmega328" target working?
Related Questions in GLIBC
- Format String Exploitation - Unkown differences in leaked LIBC addresses
- How to use a newer linker and glibc in a Kotlin/Native project?
- C++ Boost program how to statically compiled with musl libc?
- Error "cannot find /usr/lib/libc_nonshared.a" when installing cmake
- Why is fork() accepted in strace if the actual syscall is clone()?
- How do I create an Android make file to merge a glibc based root filesystem into to the AOSP filesystem?
- Why VTune fails with error `[Instrumentation Engine]: __libc_thread_freeres()`?
- How to upgrade Glibc library in Ubuntu 22.04
- Linking to .so with newer symbol
- symbol lookup error: undefined symbol: __pow_finite
- Why can't I run my python executables in busybox?
- Where do man pages about libc come from if they do not come from glibc?
- Error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found
- C++: performance, free(null)/delete null and `std::move`
- Error while executing make check on glibc build for LFS
Related Questions in UCLIBC
- Can't compile uclibc for newer kernels (missing syscalls)
- Does Uclibc fastbin behaving like Glibc fastbin?
- How to get the prebuilt binary of `uclibc`?
- Segfault when writing to cerr iostream, uclibc-ng unhandled exception
- is it possible to cross compile (with uclibc toolchain) a program which uses a shared library that causes 'undefined reference to printf@GLIBC_2.0'
- How to get uclibc visible in crosstool-ng config menu?
- Unable to cross-compile Python-2.7.18 for x86,uclibc
- Unable to cross-compile dropbear for uclibc
- printf("%m") reports an error yet errno is set to 0
- sem_wait() from uClibc on MIPS platform returns Not Implemented
- fflush() always returns 0 but sets errno to 11 (resource temporarily unavailable)
- GCC is generating binaries filled with zeroes
- ERROR: unknown type name '__float128' while compiling stdlib.h
- GCC link against .so file without souce code
- How to correctly compile uClibc++ with musl?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
No.
Yes. More precisely,
libom_api.sohas been compiled using GLIBC headers and linked against GLIBC implementation of the standardClibrary.Your only choices are:
libom_api.so, one built against uClibc, orlibom_api, or