Wireshark mailing list archives

Re: Building RPM proprietarry plugin including math.h fails


From: Ed Beroset <beroset () mindspring com>
Date: Tue, 28 Aug 2018 10:24:54 -0400

On 08/28/2018 09:35 AM, Anders Broman wrote:
Hi,

tfo/packet-tfo.c:3754: undefined reference to `pow'

collect2: error: ld returned 1 exit status

when running make-rpm-package

That's the symptom of missing the math library on the linker command line. You'd need to add '-lm' to the linker line, if that's what you're asking about.

Ed
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: