Wireshark mailing list archives
Re: Building RPM proprietarry plugin including math.h fails
From: João Valverde <joao.valverde () tecnico ulisboa pt>
Date: Wed, 29 Aug 2018 00:40:19 +0100
On 29/08/18 00:30, João Valverde wrote:
On 28/08/18 19:39, João Valverde wrote:On 28/08/18 16:59, Anders Broman wrote:Den tis 28 aug. 2018 16:25Ed Beroset <beroset () mindspring com <mailto:beroset () mindspring com>> 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. EdSure 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. AndersYou could try using PUBLIC with M_LIBRARIES. https://code.wireshark.org/review/#/c/29208/16/epan/CMakeLists.txt Is this your own custom build or not?I see now that you said proprietary plugin in the subject. Just add M_LIBRARIES to your build?
If indeed that is the problem (very likely) the decision to make these libraries PRIVATE was intentional because the only external linkage requirement that I saw was glib.
___________________________________________________________________________ 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:
- Building RPM proprietarry plugin including math.h fails Anders Broman (Aug 28)
- Re: Building RPM proprietarry plugin including math.h fails Ed Beroset (Aug 28)
- Re: Building RPM proprietarry plugin including math.h fails Anders Broman (Aug 28)
- Re: Building RPM proprietarry plugin including math.h fails João Valverde (Aug 28)
- Re: Building RPM proprietarry plugin including math.h fails João Valverde (Aug 28)
- Re: Building RPM proprietarry plugin including math.h fails João Valverde (Aug 28)
- Re: Building RPM proprietarry plugin including math.h fails Anders Broman (Aug 28)
- Re: Building RPM proprietarry plugin including math.h fails João Valverde (Aug 28)
- Re: Building RPM proprietarry plugin including math.h fails Guy Harris (Aug 28)
- Re: Building RPM proprietarry plugin including math.h fails João Valverde (Aug 28)
- Re: Building RPM proprietarry plugin including math.h fails Anders Broman (Aug 28)
- Re: Building RPM proprietarry plugin including math.h fails João Valverde (Aug 28)
- Re: Building RPM proprietarry plugin including math.h fails Guy Harris (Aug 29)
- Re: Building RPM proprietarry plugin including math.h fails Anders Broman (Aug 29)
- Re: Building RPM proprietarry plugin including math.h fails João Valverde (Aug 29)
- Re: Building RPM proprietarry plugin including math.h fails Anders Broman (Aug 28)
- Re: Building RPM proprietarry plugin including math.h fails Ed Beroset (Aug 28)