Hi Jed,
On Thu, Jan 19, 2017 at 10:24:25AM +0000, Lu, Jed wrote:
> Hi,
>
> I’m running into the exact same issue of https://www.wireshark.org/lists/wireshark-dev/201608/msg00196.html , wondering is there a solution already? Thanks in advance.
>
> make[2]: Entering directory `/home/ec2-user/wireshark-2.0.9'
> CCLD tshark
> /usr/bin/ld: ui/cli/libcliui.a(libcliui_a-tap-comparestat.o): undefined reference to symbol 'fmod@@GLIBC_2.2.5'
> /usr/bin/ld: note: 'fmod@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
> /lib64/libm.so.6: could not read symbols: Invalid operation
> collect2: error: ld returned 1 exit status
> make[2]: *** [tshark] Error 1
I think you can try to link the math library with LDFLAGS=-lm
--
Kind regards,
Peter Wu
https://lekensteyn.nl