[svlug] BLFS-7.7 traceroute problem.

Ivan Sergio Borgonovo mail at webthatworks.it
Mon Nov 9 01:18:31 PST 2015

On 11/09/2015 06:12 AM, usually Michael wrote:
> The make gets to gcc -O2 -Wall -D_GNU_SOURCE -c mod-tcpconn.c
> and bombs.

> make[1]: *** No rule to make target '-lm', needed by 'traceroute'.  Stop.
> Makefile:80: recipe for target 'traceroute' failed
> make: *** [traceroute] Error 2

-l is used to tell the compiler to link with a shared library (in this 
case math).
You probably miss that library or gcc doesn't know where to find it.


gcc -print-search-dirs

Ivan Sergio Borgonovo

More information about the svlug mailing list