3
votes
1answer
23 views

How to configure my enviorment in such a way that a proper (different from the system one) version of library is used

I guess that this question is a borderline between ServerFault and StackOverflow and this site. But I think that U&L is most relevant. I have some C++ code that depends on a library in version X ...
1
vote
1answer
447 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 ...
0
votes
1answer
912 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 ...
9
votes
1answer
755 views

How does gcc know where boost is installed

I installed boost using sudo apt-get install on Ubuntu. Later I did not have to give gcc the I flag alongwith the path to the boost libraries to use boost ! Nor did I do any pkg-config --cflags --libs ...
1
vote
2answers
215 views

Accidentally removed dev-libs/mpc from Gentoo

It seems I accidentally removed dev-libs/mpc instead of media-sound/mpc. Now I can't compile anything (including a replacement dev-libs/mpc) because in doing so I apparently murdered GCC. How does ...
2
votes
1answer
546 views

Building GCC inside a chroot from source

In a previous question I asked about creating a chroot that simulates my embedded device environment. It was suggested that I build from source GCC and binutils first inside my chroot. To attempt this ...
4
votes
1answer
455 views

Can I use a chroot on my dev machine to build an application to run on embedded linux installation?

I am trying to develop an application to run on an embedded linux installation. It comes with an older version of libc than I have on my development maching. If I were to create a chroot environment ...
2
votes
1answer
4k views

/usr/bin/ld: cannot find -lfl

After running the following command: g++ lex.yy.c -lfl I get the following error: /usr/bin/ld: cannot find -lfl How can I solve it?
5
votes
1answer
22k views

gcc can't link to pthread?

I have recently installed XUbuntu 11.10 64bit, but I am having problem compiling the most simple pthread example. Here is the code pthread_simple.c: #include <stdio.h> #include ...