[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] '-lrt' not resolving undefined reference to clock_ge
From: |
Junker, Gregory |
Subject: |
Re: [libmicrohttpd] '-lrt' not resolving undefined reference to clock_gettime? |
Date: |
Mon, 20 Mar 2017 15:19:55 +0000 |
On Mon, 2017-03-20 at 01:55 -0700, Alex Reynolds wrote:
>
> I have tried compiling my static binary with the addition of
> `-Wl,--no-as-needed -lrt` to my LIBS variable, which is positioned in
> the build statement after the objects are compiled, e.g.:
>
Rather than --no-as-needed, why not simply reposition -lrt after -lmicrohttpd?
Greg