The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
25 views

Linking stripped library so [closed]

I am trying to link to a shared library (.so) file along with some non stripped versions of other libraries For example g++ -o -L../../3rdparty/libs -l<lib1> -l<lib2> where lib1 is ...
2
votes
1answer
50 views

Why do some files of working packages return “not found” for some libraries of ldd's output?

I'm finding a bunch of stuff where working packages contain files where ldd returns "not found" for some libraries. For example... /usr/lib64/thunderbird/libprldap60.so libldap60.so => not ...
2
votes
1answer
80 views

How to compile manual files .1

I have .c, .h, and .1 files, how can I compile them together in one executable file. Everything clear with .c and .h files, but I have also .1 as I can see from the content it is used for manual, how ...
0
votes
1answer
89 views

unrecognized --sysroot option.(Eclipse)

I'm trying arm cross compilation using sysroot for the autotools project.The options I'm using for autogen script is as follows. CC=arm-linux-gnueabihf-gcc --with-sysroot=/opt/sysroot/dir \ ...
0
votes
4answers
225 views

Compiling C/C++ code by way of including preprocessor build instructions in an actual C/C++ source file

So here's the thing, and it's really just conceptual so don't let it bug you: I've got reasons for not wanting to rely on a specific build system. I don't mean to dis anybody's favorite, but I really ...
1
vote
1answer
421 views

Understanding SPL & U-Boot Memory Map using bdinfo?

We are using beaglebone black based custom board, I want to write some test results into RAM location from SPL, and read that log and send it via tftpput to the host PC. So far I'm able to do tftpput ...
1
vote
3answers
210 views

GCC: set architecture to pass to linker

GNU C compiler passes the wrong architecture name to the linker. For example gcc helloworld.i throws the error ld: unknown/unsupported architecture name: -arch arm. After some experimenting with LD, ...
1
vote
1answer
5k views

how to specify the libstdc++.so.6 to use

I am trying to compile a program of mine, that needs C++11 features and a newer version of boost than is installed on the target machine. I therefore compiled and installed gcc 4.9 to some local ...
2
votes
3answers
154 views

Placement of kernel binary and sources for kernel module building?

I'm trying to setup an environment for kernel module development in Linux. I've built the kernel in the home folder and would like to place the sources and binaries to the correct place so include ...
0
votes
1answer
3k views

Linking failure [ld cannot find library]

I am trying to configure Linux kernel [Angstrom distribution] via make menuconfig, but I get these errors. make: Warning: File `/usr/src/linux-2.6.32.61/arch/arm/Makefile' has modification time 11511 ...
1
vote
0answers
686 views

How to compile gcc toolchain with special sysroot correctly?

I try to compile a new gcc, including binutils and glibc. Since I can not be root, I want to install it all in ~/local. I set these variables: PREFIX=~/local && export PREFIX ...
2
votes
2answers
181 views

Where is the frame.h located in modern Linux implementations? (ubuntu specifically)

A book I am reading refers to an include file that shows how a stack frame looks on one's UNIX system. In particular: /usr/include/sys/frame.h I am having trouble finding the modern equivalent. ...
12
votes
1answer
325 views

What is AT&T’s Link Editor Command Language?

The man page for ld makes reference to AT&T’s Link Editor Command Language, however a Google search does not offer a satisfactory explanation as to what AT&T’s Link Editor Command Language is ...
5
votes
2answers
8k views

error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

anisha@linux-y3pi:~/> google-earth ./googleearth-bin: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory anisha@linux-y3pi:~/> locate ...
2
votes
0answers
415 views

How to fix link error under CMake for class QX11Info on Mac OS X

I'm trying to build kxstitch, which is designed for Linux, on OS X. I've gotten most of the way there by installing MacPorts, XCode, KDE, etc. and making minor changes to the build file, but am ...
3
votes
1answer
3k views

Why can't ld find this library?

I'm not very knowledgeable on this topic, and therefore can't figure out why the following command does not work: $ gfortran -o dsimpletest -O dsimpletest.o ../lib/libdmumps.a \ ...
1
vote
1answer
500 views

CUPS compilation fails on Cygwin

I was brave and tried to compile CUPS in a 32-bit Cygwin environment. I used the standard sources from the tarball. All went fine until linking. http://pastebin.com/QSKvLSmT Here's the end of the ...
1
vote
1answer
426 views

Dynamic linker “no version information available”

When I copy over a program and a few libraries it needs to another machine I get the "no version information available" when I run LDD on the program. I know why this is happening, I just want to ...
1
vote
1answer
1k views

Linker errors when compiling against glib…?

I'm having trouble compiling a simple, sample program against glib on Ubunutu. I get these errors. I can get it to compile but not link with the -c flag. Which I believe means I have the glib ...
1
vote
0answers
548 views

Entry point in linking binary file with gnu ld [closed]

I am linking my own kernel with GNU ld and a simple script which says that OUTPUT_FORMAT should be a flat binary, and ENTRY point is the main function: OUTPUT_FORMAT("binary") /* flat file */ ...
1
vote
2answers
1k views

Linking issues with libjpeg

I have a game I'm writing which recently required libjpeg. I wrote some code using libjpeg on some-other-machine and it worked as expected. I pulled the code to this machine and tried compiling and ...
5
votes
4answers
1k views

Error while loading shared libraries

My project tree looks something like that: src/ include/ Makefile lib/ lib/3rdparylib/ I didn't code 3rdpartylib, but decided to embed its source code in my project packaging. I compile the ...
8
votes
2answers
5k views

Changing linked library for a given executable (CentOs 6)

I have an executable linked like this: $ ldd a.out libboost_system-mt.so.1.47.0 => /usr/lib64/libboost_system-mt.so.1.47.0 (0x00007f4881f56000) libssl.so.10 => ...
1
vote
2answers
506 views

libxml linker error

I've got an app which won't link, giving error: /usr/lib64/libcroco-0.6.so.3: undefined reference to `xmlGetProp@LIBXML2_2.4.30' /usr/lib64/libcroco-0.6.so.3: undefined reference to ...
8
votes
2answers
4k views

Creating Static Binary

I installed an application [ e.g. fdisk ]. But it required libraries for execution. I am looking for utility/tool which will help me to create a static binary from already installed binaries. So that ...
17
votes
1answer
10k views

What are stripped and not-stripped executables in Unix?

From man file, EXAMPLES $ file file.c file /dev/{wd0a,hda} file.c: C program text file: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses ...