[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help installation REAP
From: |
Michael Ludwig |
Subject: |
Re: Help installation REAP |
Date: |
Thu, 15 Aug 2013 14:42:31 +0200 |
User-agent: |
Mutt/1.5.21+52 (c26dbc7021f4) (2011-07-01) |
Paul Smith schrieb am 08.07.2013 um 08:03 (-0400):
> On Mon, 2013-07-08 at 06:35 +0000, M.C. Medina Gomez wrote:
> > /tmp/ccTpN0kH.o: In function `getkinship':
> > REAP_SOURCE.c:(.text+0x3206): undefined reference to `sqrt'
> > collect2: ld returned 1 exit status
> > make: *** [REAP] Error 1
> Libraries should always come at the END of the link line; the
> command-line switches to the compiler, unlike most typical UNIX
> commands, are very order-dependent.
See here for an example explaining the issue:
Linker order - GCC - Stack Overflow
http://stackoverflow.com/a/6717376
Also check the answers on that page by Johannes Schaub and casualcoder.
Michael
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Help installation REAP,
Michael Ludwig <=