linking problems with several static libraries

2013-07-10 Thread Diego Iastrubni
Hi all, I have been figthing this nice problem at work, which I would like someone to help me. Basically, I have several static libs (liba... libk) which I need to link to my program. My program needs liba, which in turn needs libb.. which in turn needs libk. The last libk needs symbols from

Re: linking problems with several static libraries

2013-07-10 Thread Omer Zak
On Wed, 2013-07-10 at 21:31 +0300, Diego Iastrubni wrote: My program needs liba, which in turn needs libb.. which in turn needs libk. The last libk needs symbols from liba.. and this is where it gets funky. While linking g++ complains that symbols are missing ... and from ar+nm I see that

Re: linking problems with several static libraries

2013-07-10 Thread guy keren
read this tutorial fully - and you should get your answer: http://users.actcom.co.il/~choo/lupg/tutorials/libraries/unix-c-libraries.html in particular, the answer is in section 8.1 --guy On 07/10/2013 09:31 PM, Diego Iastrubni wrote: Hi all, I have been figthing this nice problem at

Re: linking problems with several static libraries

2013-07-10 Thread Oron Peled
On Wednesday 10 July 2013 21:31:51 Diego Iastrubni wrote: I have been figthing this nice problem at work, which I would like someone to help me. Basically, I have several static libs (liba... libk) which I need to link to my program. My program needs liba, which in turn needs libb.. which

Re: linking problems with several static libraries

2013-07-10 Thread Orna Agmon Ben-Yehuda
On Thu, Jul 11, 2013 at 1:39 AM, Oron Peled o...@actcom.co.il wrote: On Wednesday 10 July 2013 21:31:51 Diego Iastrubni wrote: I have been figthing this nice problem at work, which I would like someone to help me. Basically, I have several static libs (liba... libk) which I need to link

Re: linking problems with several static libraries

2013-07-10 Thread Oleg Goldshmidt
Oron Peled o...@actcom.co.il writes: On Wednesday 10 July 2013 21:31:51 Diego Iastrubni wrote: My program needs liba, which in turn needs libb.. which in turn needs libk. The last libk needs symbols from liba.. and this is where it gets funky. While linking g++ complains that symbols are