Ask Your Question
0

Build failure: 3.0.3 on Ubuntu 18.04

asked 2019-07-27 16:24:24 +0000

daryllee gravatar image

I'm trying to build WS 3.0.3 on Ubuntu 18.04 and the build fails at:

[ 95%] Built target opcua
make[4]: Leaving directory '/home/daryl/wireshark/wireshark-3.0.3/obj-x86_64-linux-gnu'
[ 95%] Built target tshark
make[3]: Leaving directory '/home/daryl/wireshark/wireshark-3.0.3/obj-x86_64-linux-gnu'
Makefile:143: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/daryl/wireshark/wireshark-3.0.3/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j4 returned exit code 2
debian/rules:32: recipe for target 'override_dh_auto_build' failed

I took the option given in INSTALL at 11./b, since I'm on Ubuntu 18.04 and it runs apt, to build with the command "dpkg-buildpackage -us -uc -rfakeroot"

I will try the cmake approach (although I'm not sure about all the options), but if anyone can point out my error on the "easy" approach, I'd appreciate some guidance.

edit retag flag offensive close merge delete

Comments

Additional info: cmake's Makefile returned these errors:

[ 94%] Linking CXX executable run/wireshark
/usr/lib/x86_64-linux-gnu/libspandsp.so: undefined reference to `[email protected]_4.0'
/usr/lib/x86_64-linux-gnu/libspandsp.so: undefined reference to `[email protected]_4.0'
/usr/lib/x86_64-linux-gnu/libspandsp.so: undefined reference to `[email protected]_4.0'
/usr/lib/x86_64-linux-gnu/libspandsp.so: undefined reference to `[email protected]_4.0'
/usr/lib/x86_64-linux-gnu/libspandsp.so: undefined reference to `[email protected]_4.0'
/usr/lib/x86_64-linux-gnu/libspandsp.so: undefined reference to `[email protected]_4.0'
/usr/lib/x86_64-linux-gnu/libspandsp.so: undefined reference to `[email protected]_4.0'
/usr/lib/x86_64-linux-gnu/libspandsp.so: undefined reference to `[email protected]_4.0'
/usr/lib/x86_64-linux-gnu/libspandsp.so: undefined reference to `[email protected]_4.0'
collect2: error: ld returned 1 exit status

So it looks like a TIFF library failure. "sudo apt install libtiff-dev" reported that TIFF 4.0 was installed and up to date. Might there be another TIFF package I ...(more)

daryllee gravatar imagedaryllee ( 2019-07-27 17:09:19 +0000 )edit

So is SpanDSP also installed from a standard Ubuntu package?

Guy Harris gravatar imageGuy Harris ( 2019-07-27 22:27:17 +0000 )edit

I ran "apt-cache rdepends" on libspandsp-dev and got an empty return. So I don't know why it;s installed.

daryllee gravatar imagedaryllee ( 2019-07-28 19:32:57 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-07-27 18:09:24 +0000

daryllee gravatar image

Since the linker errors were originating in libspansp.so, I went back to cmake-gui, unchecked ENABLE_SPANDSP, and all is well. For the moment I can live without SpanDSP, so this is as far as I go on this problem, unless someone posts an actual solution.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-07-27 16:24:24 +0000

Seen: 97 times

Last updated: Jul 27