Bug ID |
12843
|
Summary |
wireshark-gtk fails to build on openSUSE 11.4 x86_64 when building from Wireshark 2.2.0 sources
|
Product |
Wireshark
|
Version |
2.2.0
|
Hardware |
x86-64
|
OS |
SuSE
|
Status |
UNCONFIRMED
|
Severity |
Major
|
Priority |
Low
|
Component |
GTK+ UI
|
Assignee |
[email protected]
|
Reporter |
[email protected]
|
Build Information:
Wireshark 2.2.0 (Git Rev Unknown from unknown)
Copyright 1998-2016 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (64-bit) with GTK+ 3.0.0, with Cairo 1.10.2, with Pango 1.28.3, with
libpcap, without POSIX capabilities, without libnl, with GLib 2.28.0, with zlib
1.2.5, without SMI, without c-ares, with Lua 5.1.4, without GnuTLS, without
Gcrypt, without Kerberos, without GeoIP, without PortAudio, without AirPcap.
Running on Linux 2.6.37.6-24-desktop, with locale LC_CTYPE=en_US,
LC_NUMERIC=en_US, LC_TIME=C, LC_COLLATE=C, LC_MONETARY=en_US,
LC_MESSAGES=en_US,
LC_PAPER=en_US, LC_NAME=en_US, LC_ADDRESS=en_US, LC_TELEPHONE=en_US,
LC_MEASUREMENT=en_US, LC_IDENTIFICATION=en_US, with libpcap version 1.1.1, with
zlib 1.2.5.
Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz
Built using gcc 4.5.1 20101208 [gcc-4_5-branchrevision 167585].
--
wireshark-gtk fails to build on openSUSE 11.4 x86_64 when building from
Wireshark 2.2.0 sources due to a missing #include <sys/wait.h> in extcap.c:
make[2]: Entering directory `/tmp/wireshark-2.2.0'
CC wireshark_gtk-cfile.o
CC wireshark_gtk-frame_tvbuff.o
CC wireshark_gtk-sync_pipe_write.o
CC wireshark_gtk-extcap.o
extcap.c: In function 'extcap_child_watch_cb':
extcap.c:862:17: warning: implicit declaration of function 'WIFEXITED'
extcap.c:864:21: warning: implicit declaration of function 'WEXITSTATUS'
CC wireshark_gtk-extcap_parser.o
CC wireshark_gtk-extcap_spawn.o
CC wireshark_gtk-capture_info.o
CC wireshark_gtk-capture_opts.o
CC wireshark_gtk-file.o
CC wireshark_gtk-fileset.o
CC wireshark_gtk-filter_files.o
CC wireshark_gtk-summary.o
CC wireshark_gtk-ws_version_info.o
CCLD wireshark-gtk
wireshark_gtk-extcap.o: In function `extcap_child_watch_cb':
extcap.c:(.text+0x1cde): undefined reference to `WIFEXITED'
extcap.c:(.text+0x1cf4): undefined reference to `WEXITSTATUS'
extcap.c:(.text+0x1d0a): undefined reference to `WEXITSTATUS'
collect2: ld returned 1 exit status
make[2]: *** [wireshark-gtk] Error 1
make[2]: Leaving directory `/tmp/wireshark-2.2.0'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/wireshark-2.2.0'
make: *** [install] Error 2
With this patch applied
/tmp/wireshark-2.2.0$ diff -U1 extcap.c.~1~ extcap.c
--- extcap.c.~1~ Wed Sep 7 18:59:05 2016
+++ extcap.c Thu Sep 8 12:02:23 2016
@@ -37,2 +37,3 @@
#include <unistd.h>
+#include <sys/wait.h>
#endif
the build completed sucessfully.
You are receiving this mail because:
- You are watching all bug changes.