Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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

From: Anders Broman <a.broman58@xxxxxxxxx>
Date: Tue, 28 Aug 2018 17:59:13 +0200


Den tis 28 aug. 2018 16:25Ed Beroset <beroset@xxxxxxxxxxxxxx> skrev:
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

Sure but somthing changed recently in the cmake files and broke it, as it has worked before.
I'm trying a fix in the cmake file in epan.
Anders 

__________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe