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
- Error trying to generate Makefile for glBinding
- Eclipse Makefile: Make Variables are skipped
- Errors in makefile for qemu 0.14.1 in ubuntu 15.04 64 bit
- C++ Struct prototyping in separate header file
- Reuse jquery plugin without conflict
- How do I a conditional build through a make file?
- basic makefile ifeq how to
- (automake, libtool) build fails in automake when using same source file name in different directory
- Makefile pattern rules differences
- Errors while trying to run make on source code
- Git tag name as version in Go via Travis-CI
- gcc make -properly sort out the sequence of making object files
- AOSP ROM for Samsung Grand duos GT-i9082 Error loading kernel
- How to address multiple definition compiler error
- How does MAKE remember the file timestamps
Related Questions in EMBEDDED-LINUX
- How to offload NAPI poll function to workqueue
- Why Device Tree Structure (DTS) file is needed both in bootloader and kernel source code?
- Qtwebengine on Embedded linux, with qtwayland and OpenGL not working, black rectangles seen on browser
- board firmware update through uefi capsule feature from Linux
- How to get list of programs which can open a particular file extension in Linux?
- u-boot select boot partition based on GPIO state
- Bit Bang with SPI (fwirte, write performance)
- How to setup test SMTP server for devices on local network
- Documentation for regulator framework with device tree
- TechWell TW6869 driver does not generate interrupts on embedded device
- How to change tty group on Linux (build with buildroot)
- How to save console log from chrome in local file without any third party tool?
- Raw access on eMMC with alternating speeds
- Qt application randomly failing to properly paint the interface showing black screen instead
- Trouble implementing android_serialport_api into my own application
Related Questions in CROSS-COMPILING
- Cross compile simple standard C program on Linux for Mac
- mingw-64 conflicting declarations when cross-compiling
- GSL: nm outputs "undefined Symbol (U)"
- using Diab, dcc 5.9.4 to compile a windows executable
- Cross compiling for Raspberry pi 2 error
- Linker Error on cross compiling Project in eclipse
- Get conditional branch slot from MIPS cross compiler
- Prelink Error: prelink-cross: simple hello world example
- Go Cross compiler fails
- How to install the third-party python (2.7) modules (e.g. Pycrypto) on ARM?
- impossible constraint in 'asm' error
- How can I compile ndpiReader.c that comes with nDPI library in Windows?
- How Do I Configure Qmake for Cross Compilation?
- Building a cross compile of binutils on OS X Yosemite
- Explain behavior of Unix sleep() function executed on Android
Related Questions in GLIBC
- How to load all symbols from shared library on start up?
- Malloc( ) - Decision between a new page(s) request or re-cycling previously allocated memory
- Custom glibc in non-standard path on machine with uclibc and gcc compiled against uclibc
- crosstool-NG linux x86 32Bit build fails on 32Bit vm-machine, Assembler messages
- dlopen errors in glibc
- Send UDP broadcast with use of glib
- GNU argp "too few arguments"
- C compiler error: cdefs.h not found
- How can I invoke a function with multiple distinct signatures (as glibc invokes main)?
- sudo su command not working in OEL 7
- -pthread, -lpthread and minimal dynamic linktime dependencies
- How to get the position of the function in the call stack?
- Standard way to call `ffsl` in C++?
- How to set LD_PRELOAD for su or sudo?
- Async signal safety of fork()
Related Questions in UCLIBC
- Custom glibc in non-standard path on machine with uclibc and gcc compiled against uclibc
- glibc to uclibc Timezone mapping file
- Building uclibc linux 3.10-2 (Debian jessie x86_64) fails due to missing types
- Using a buildroot created toolchain outside of Buildroot?
- toolchain and libraries
- How to compile using uclibc?
- How to build package with uclibc with bitbake - Bitbake raises MultipleMatches exception while trying to build uclibc
- compiling valgrind using uCLibc
- arm-angstrom-linux-gnueabi-gcc linker fails to link against uclibc
- ARM gentoo crossdev with uclibc: need OABI rather than EABI
- How do I do a static build with uclibc
- Aliasing of symbol using GCC/binutils works intermittently
- GCC-GNAT Ada Cross-Compiler (Debian/glibc -> AlpineLinux/uclibc)
- RESTful client API for uCLib
- Cross compile PHP with UCLIBC
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