ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Building RPM proprietarry plugin including math.h fails

From: Ed Beroset <beroset@xxxxxxxxxxxxxx>
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