* [Buildroot] [PATCH 1/2] libpcap: fixup pcap-config
@ 2013-02-03 6:04 Baruch Siach
2013-02-03 6:04 ` [Buildroot] [PATCHv5 2/2] wireshark: new package Baruch Siach
2013-02-04 22:53 ` [Buildroot] [PATCH 1/2] libpcap: fixup pcap-config Peter Korsgaard
0 siblings, 2 replies; 13+ messages in thread
From: Baruch Siach @ 2013-02-03 6:04 UTC (permalink / raw)
To: buildroot
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
This patch depends on Stefan's LIBFOO_CONFIG_FIXUP patch. pcap-config still
insists on adding the build machine RPATH to its --libs output. Sould I add a
libcap specific fixup for this?
package/libpcap/libpcap.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index 7e68f51..5be61bf 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -24,6 +24,7 @@ LIBPCAP_DEPENDENCIES = zlib
LIBPCAP_CONF_ENV = ac_cv_linux_vers=2 \
ac_cv_header_linux_wireless_h=yes # configure misdetects this
LIBPCAP_CONF_OPT = --disable-yydebug --with-pcap=linux
+LIBPCAP_CONFIG_FIXUP = pcap-config
ifeq ($(BR2_PACKAGE_LIBUSB),y)
LIBPCAP_CONF_OPT += --enable-canusb
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCHv5 2/2] wireshark: new package
2013-02-03 6:04 [Buildroot] [PATCH 1/2] libpcap: fixup pcap-config Baruch Siach
@ 2013-02-03 6:04 ` Baruch Siach
2013-02-03 12:11 ` Stefan Fröberg
2013-02-04 22:53 ` [Buildroot] [PATCH 1/2] libpcap: fixup pcap-config Peter Korsgaard
1 sibling, 1 reply; 13+ messages in thread
From: Baruch Siach @ 2013-02-03 6:04 UTC (permalink / raw)
To: buildroot
This is only the bare minimum needed to build the textual tshark utility.
Support for more options, including the wireshark GUI, can be added later.
Cc: Stefan Fr?berg <stefan.froberg@petroprogram.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
Changes v4 -> v5:
* update to version 1.8.5 as suggested by Gustavo Zacarias
Changes v3 -> v4:
* Update to version 1.8.4
Changes v2 -> v3:
* Use an upstreamable patch as suggested by Thomas Petazzoni
* Add license info
Changes v1 -> v2:
* Patch configure.in and enable autoreconf, instead of overriding
$prefix
* Remove --with-sysroot as suggested by Arnout Vandecappelle
package/Config.in | 1 +
package/wireshark/Config.in | 14 +++++++
.../wireshark/wireshark-dont-include-prefix.patch | 41 ++++++++++++++++++++
package/wireshark/wireshark.mk | 19 +++++++++
4 files changed, 75 insertions(+)
create mode 100644 package/wireshark/Config.in
create mode 100644 package/wireshark/wireshark-dont-include-prefix.patch
create mode 100644 package/wireshark/wireshark.mk
diff --git a/package/Config.in b/package/Config.in
index ebd9817..63ab1f3 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -727,6 +727,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/wget/Config.in"
endif
source "package/wireless_tools/Config.in"
+source "package/wireshark/Config.in"
source "package/wpa_supplicant/Config.in"
source "package/xinetd/Config.in"
source "package/xl2tp/Config.in"
diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in
new file mode 100644
index 0000000..e6d4e72
--- /dev/null
+++ b/package/wireshark/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_WIRESHARK
+ bool "wireshark"
+ select BR2_PACKAGE_LIBPCAP
+ select BR2_PACKAGE_LIBGCRYPT
+ select BR2_PACKAGE_LIBGLIB2
+ depends on BR2_USE_WCHAR # glib2
+ help
+ Network traffic sniffer and protocol decoder. Currently only tshark,
+ the console interface, is enabled.
+
+ http://www.wireshark.org
+
+comment "wireshark requires a toolchain with WCHAR support"
+ depends on !BR2_USE_WCHAR
diff --git a/package/wireshark/wireshark-dont-include-prefix.patch b/package/wireshark/wireshark-dont-include-prefix.patch
new file mode 100644
index 0000000..567af9a
--- /dev/null
+++ b/package/wireshark/wireshark-dont-include-prefix.patch
@@ -0,0 +1,41 @@
+configure.in: don't add the build host's /usr/include and /usr/lib to the
+search path of include files and libraries. This is not what you want when
+cross compiling.
+
+Sent upstream as https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7926.
+
+Signed-off-by: Baruch Siach <baruch@tkos.co.il>
+---
+diff -Nuar wireshark-1.8.3.orig/configure.in wireshark-1.8.3/configure.in
+--- wireshark-1.8.3.orig/configure.in 2012-08-15 23:33:32.000000000 +0300
++++ wireshark-1.8.3/configure.in 2012-10-28 10:07:54.864388531 +0200
+@@ -635,29 +635,6 @@
+ AC_SUBST(CORESERVICES_FRAMEWORKS)
+ AC_SUBST(LAUNCHSERVICES_FRAMEWORKS)
+
+-#
+-# If using $prefix we add "$prefix/include" to the include search path
+-# and "$prefix/lib" to the library search path.
+-#
+-if test "x$prefix" != "x" ; then
+- AC_MSG_CHECKING(whether to use $prefix for headers and libraries)
+- if test -d $prefix/include ; then
+- AC_MSG_RESULT(yes)
+- #
+- # Arrange that we search for header files in "$prefix/include", as
+- # various packages we use may have been installed under "$prefix/include".
+- #
+- CPPFLAGS="$CPPFLAGS -I$prefix/include"
+-
+- #
+- # Arrange that we search for libraries in "$prefix/lib".
+- #
+- AC_WIRESHARK_ADD_DASH_L(LDFLAGS, $prefix/lib)
+- else
+- AC_MSG_RESULT(no)
+- fi
+-fi
+-
+ dnl Look in /usr/local for header files and libraries ?
+ dnl XXX FIXME don't include /usr/local if it is already in the system
+ dnl search path as this causes gcc 3.2 on Linux to complain about a change
diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
new file mode 100644
index 0000000..32c943a
--- /dev/null
+++ b/package/wireshark/wireshark.mk
@@ -0,0 +1,19 @@
+#############################################################
+#
+# wireshark
+#
+#############################################################
+
+WIRESHARK_VERSION = 1.8.5
+WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.bz2
+WIRESHARK_SITE = http://www.wireshark.org/download/src/all-versions
+WIRESHARK_LICENSE = wireshark license
+WIRESHARK_LICENSE_FILES = COPYING
+WIRESHARK_DEPENDENCIES = libpcap libgcrypt libglib2
+WIRESHARK_AUTORECONF = YES
+WIRESHARK_CONF_ENV = LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \
+ ac_cv_path_PCAP_CONFIG=$(STAGING_DIR)/usr/bin/pcap-config
+WIRESHARK_CONF_OPT = --disable-wireshark --without-krb5 --disable-usr-local \
+ --enable-static=no
+
+$(eval $(call autotools-package))
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCHv5 2/2] wireshark: new package
2013-02-03 6:04 ` [Buildroot] [PATCHv5 2/2] wireshark: new package Baruch Siach
@ 2013-02-03 12:11 ` Stefan Fröberg
2013-02-14 4:56 ` Baruch Siach
0 siblings, 1 reply; 13+ messages in thread
From: Stefan Fröberg @ 2013-02-03 12:11 UTC (permalink / raw)
To: buildroot
Hi Baruch
This looks very good. Im going to test this later this evening.
Stefan
3.2.2013 8:04, Baruch Siach kirjoitti:
> This is only the bare minimum needed to build the textual tshark utility.
> Support for more options, including the wireshark GUI, can be added later.
>
> Cc: Stefan Fr?berg <stefan.froberg@petroprogram.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>
> Changes v4 -> v5:
> * update to version 1.8.5 as suggested by Gustavo Zacarias
>
> Changes v3 -> v4:
> * Update to version 1.8.4
>
> Changes v2 -> v3:
> * Use an upstreamable patch as suggested by Thomas Petazzoni
> * Add license info
>
> Changes v1 -> v2:
> * Patch configure.in and enable autoreconf, instead of overriding
> $prefix
> * Remove --with-sysroot as suggested by Arnout Vandecappelle
>
> package/Config.in | 1 +
> package/wireshark/Config.in | 14 +++++++
> .../wireshark/wireshark-dont-include-prefix.patch | 41 ++++++++++++++++++++
> package/wireshark/wireshark.mk | 19 +++++++++
> 4 files changed, 75 insertions(+)
> create mode 100644 package/wireshark/Config.in
> create mode 100644 package/wireshark/wireshark-dont-include-prefix.patch
> create mode 100644 package/wireshark/wireshark.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index ebd9817..63ab1f3 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -727,6 +727,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
> source "package/wget/Config.in"
> endif
> source "package/wireless_tools/Config.in"
> +source "package/wireshark/Config.in"
> source "package/wpa_supplicant/Config.in"
> source "package/xinetd/Config.in"
> source "package/xl2tp/Config.in"
> diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in
> new file mode 100644
> index 0000000..e6d4e72
> --- /dev/null
> +++ b/package/wireshark/Config.in
> @@ -0,0 +1,14 @@
> +config BR2_PACKAGE_WIRESHARK
> + bool "wireshark"
> + select BR2_PACKAGE_LIBPCAP
> + select BR2_PACKAGE_LIBGCRYPT
> + select BR2_PACKAGE_LIBGLIB2
> + depends on BR2_USE_WCHAR # glib2
> + help
> + Network traffic sniffer and protocol decoder. Currently only tshark,
> + the console interface, is enabled.
> +
> + http://www.wireshark.org
> +
> +comment "wireshark requires a toolchain with WCHAR support"
> + depends on !BR2_USE_WCHAR
> diff --git a/package/wireshark/wireshark-dont-include-prefix.patch b/package/wireshark/wireshark-dont-include-prefix.patch
> new file mode 100644
> index 0000000..567af9a
> --- /dev/null
> +++ b/package/wireshark/wireshark-dont-include-prefix.patch
> @@ -0,0 +1,41 @@
> +configure.in: don't add the build host's /usr/include and /usr/lib to the
> +search path of include files and libraries. This is not what you want when
> +cross compiling.
> +
> +Sent upstream as https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7926.
> +
> +Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> +---
> +diff -Nuar wireshark-1.8.3.orig/configure.in wireshark-1.8.3/configure.in
> +--- wireshark-1.8.3.orig/configure.in 2012-08-15 23:33:32.000000000 +0300
> ++++ wireshark-1.8.3/configure.in 2012-10-28 10:07:54.864388531 +0200
> +@@ -635,29 +635,6 @@
> + AC_SUBST(CORESERVICES_FRAMEWORKS)
> + AC_SUBST(LAUNCHSERVICES_FRAMEWORKS)
> +
> +-#
> +-# If using $prefix we add "$prefix/include" to the include search path
> +-# and "$prefix/lib" to the library search path.
> +-#
> +-if test "x$prefix" != "x" ; then
> +- AC_MSG_CHECKING(whether to use $prefix for headers and libraries)
> +- if test -d $prefix/include ; then
> +- AC_MSG_RESULT(yes)
> +- #
> +- # Arrange that we search for header files in "$prefix/include", as
> +- # various packages we use may have been installed under "$prefix/include".
> +- #
> +- CPPFLAGS="$CPPFLAGS -I$prefix/include"
> +-
> +- #
> +- # Arrange that we search for libraries in "$prefix/lib".
> +- #
> +- AC_WIRESHARK_ADD_DASH_L(LDFLAGS, $prefix/lib)
> +- else
> +- AC_MSG_RESULT(no)
> +- fi
> +-fi
> +-
> + dnl Look in /usr/local for header files and libraries ?
> + dnl XXX FIXME don't include /usr/local if it is already in the system
> + dnl search path as this causes gcc 3.2 on Linux to complain about a change
> diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
> new file mode 100644
> index 0000000..32c943a
> --- /dev/null
> +++ b/package/wireshark/wireshark.mk
> @@ -0,0 +1,19 @@
> +#############################################################
> +#
> +# wireshark
> +#
> +#############################################################
> +
> +WIRESHARK_VERSION = 1.8.5
> +WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.bz2
> +WIRESHARK_SITE = http://www.wireshark.org/download/src/all-versions
> +WIRESHARK_LICENSE = wireshark license
> +WIRESHARK_LICENSE_FILES = COPYING
> +WIRESHARK_DEPENDENCIES = libpcap libgcrypt libglib2
> +WIRESHARK_AUTORECONF = YES
> +WIRESHARK_CONF_ENV = LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \
> + ac_cv_path_PCAP_CONFIG=$(STAGING_DIR)/usr/bin/pcap-config
> +WIRESHARK_CONF_OPT = --disable-wireshark --without-krb5 --disable-usr-local \
> + --enable-static=no
> +
> +$(eval $(call autotools-package))
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/2] libpcap: fixup pcap-config
2013-02-03 6:04 [Buildroot] [PATCH 1/2] libpcap: fixup pcap-config Baruch Siach
2013-02-03 6:04 ` [Buildroot] [PATCHv5 2/2] wireshark: new package Baruch Siach
@ 2013-02-04 22:53 ` Peter Korsgaard
1 sibling, 0 replies; 13+ messages in thread
From: Peter Korsgaard @ 2013-02-04 22:53 UTC (permalink / raw)
To: buildroot
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
Baruch> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Baruch> ---
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCHv5 2/2] wireshark: new package
2013-02-03 12:11 ` Stefan Fröberg
@ 2013-02-14 4:56 ` Baruch Siach
2013-02-14 15:05 ` Stefan Fröberg
0 siblings, 1 reply; 13+ messages in thread
From: Baruch Siach @ 2013-02-14 4:56 UTC (permalink / raw)
To: buildroot
Hi Stefan,
On Sun, Feb 03, 2013 at 02:11:23PM +0200, Stefan Fr?berg wrote:
> This looks very good. Im going to test this later this evening.
Did you have a chance to test, then?
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCHv5 2/2] wireshark: new package
2013-02-14 4:56 ` Baruch Siach
@ 2013-02-14 15:05 ` Stefan Fröberg
2013-02-14 15:43 ` Stefan Fröberg
0 siblings, 1 reply; 13+ messages in thread
From: Stefan Fröberg @ 2013-02-14 15:05 UTC (permalink / raw)
To: buildroot
Hi Baruch
14.2.2013 6:56, Baruch Siach kirjoitti:
> Hi Stefan,
>
> On Sun, Feb 03, 2013 at 02:11:23PM +0200, Stefan Fr?berg wrote:
>> This looks very good. Im going to test this later this evening.
> Did you have a chance to test, then?
>
> baruch
>
Sorry, I was distracted again but it's compiling right now.
Will report later.
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCHv5 2/2] wireshark: new package
2013-02-14 15:05 ` Stefan Fröberg
@ 2013-02-14 15:43 ` Stefan Fröberg
2013-02-14 15:52 ` Stefan Fröberg
0 siblings, 1 reply; 13+ messages in thread
From: Stefan Fröberg @ 2013-02-14 15:43 UTC (permalink / raw)
To: buildroot
14.2.2013 17:05, Stefan Fr?berg kirjoitti:
> Hi Baruch
>
> 14.2.2013 6:56, Baruch Siach kirjoitti:
>> Hi Stefan,
>>
>> On Sun, Feb 03, 2013 at 02:11:23PM +0200, Stefan Fr?berg wrote:
>>> This looks very good. Im going to test this later this evening.
>> Did you have a chance to test, then?
>>
>> baruch
>>
> Sorry, I was distracted again but it's compiling right now.
> Will report later.
>
> Stefan
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
I got the following error when compiling.
make[2]: Poistutaan hakemistosta
"/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5/ui/cli"
Making all in .
make[2]: Siirryt??n hakemistoon
"/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5"
/usr/bin/perl ./make-version.pl .
Version configuration file version.conf not found. Using defaults.
svnversion.h unchanged.
/bin/sh ./libtool --tag=CC --mode=link
/mnt/hee/new/buildroot-2012.08/output/host/usr/bin/i586-unknown-linux-uclibc-gcc
-DPYTHON_DIR= -pipe -funit-at-a-time -Wno-error -Os -Os
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall
-W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security
-Wold-style-definition -Wno-error=unused-but-set-variable
-fexcess-precision=fast -pthread
-I/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/include/glib-2.0
-I/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/glib-2.0/include
-export-dynamic -Wl,-S -Wl,-O1 -Wl,--as-needed -Wl,-z -Wl,combreloc
-Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,--as-needed -o tshark
tshark-capture-pcap-util-unix.o tshark-capture-pcap-util.o
tshark-cfile.o tshark-clopts_common.o tshark-disabled_protos.o
tshark-frame_data_sequence.o tshark-packet-range.o tshark-print.o
tshark-ps.o tshark-sync_pipe_write.o tshark-timestats.o
tshark-tap-megaco-common.o tshark-tap-rtp-common.o tshark-version_info.o
tshark-capture_ifinfo.o tshark-capture_sync.o tshark-capture_ui_utils.o
tshark-capture_opts.o tshark-tempfile.o tshark-tshark.o
ui/cli/libcliui.a ui/libui.a wiretap/libwiretap.la epan/libwireshark.la
wsutil/libwsutil.la -dlopen plugins/asn1/asn1.la -dlopen
plugins/docsis/docsis.la -dlopen plugins/ethercat/ethercat.la -dlopen
plugins/gryphon/gryphon.la -dlopen plugins/irda/irda.la -dlopen
plugins/m2m/m2m.la -dlopen plugins/mate/mate.la -dlopen
plugins/opcua/opcua.la -dlopen plugins/profinet/profinet.la -dlopen
plugins/stats_tree/stats_tree.la -dlopen plugins/unistim/unistim.la
-dlopen plugins/wimax/wimax.la -pthread -Wl,--export-dynamic
-lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lm
-L/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
-Wl,-rpath,/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
-lpcap
-L/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
-lgcrypt -lgpg-error -lgnutls -lz
libtool: link: rm -f .libs/tshark.nm .libs/tshark.nmS .libs/tshark.nmT
libtool: link: (cd .libs &&
/mnt/hee/new/buildroot-2012.08/output/host/usr/bin/i586-unknown-linux-uclibc-gcc
-pipe -funit-at-a-time -Wno-error -Os -Os -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security
-Wold-style-definition -Wno-error=unused-but-set-variable
-fexcess-precision=fast -pthread
-I/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/include/glib-2.0
-I/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/glib-2.0/include
-c -fno-builtin "tsharkS.c")
libtool: link: rm -f ".libs/tsharkS.c" ".libs/tshark.nm"
".libs/tshark.nmS" ".libs/tshark.nmT"
libtool: link:
/mnt/hee/new/buildroot-2012.08/output/host/usr/bin/i586-unknown-linux-uclibc-gcc
-DPYTHON_DIR= -pipe -funit-at-a-time -Wno-error -Os -Os
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall
-W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security
-Wold-style-definition -Wno-error=unused-but-set-variable
-fexcess-precision=fast -pthread
-I/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/include/glib-2.0
-I/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/glib-2.0/include
-Wl,-S -Wl,-O1 -Wl,--as-needed -Wl,-z -Wl,combreloc
-Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,--as-needed -o tshark
tshark-capture-pcap-util-unix.o tshark-capture-pcap-util.o
tshark-cfile.o tshark-clopts_common.o tshark-disabled_protos.o
tshark-frame_data_sequence.o tshark-packet-range.o tshark-print.o
tshark-ps.o tshark-sync_pipe_write.o tshark-timestats.o
tshark-tap-megaco-common.o tshark-tap-rtp-common.o tshark-version_info.o
tshark-capture_ifinfo.o tshark-capture_sync.o tshark-capture_ui_utils.o
tshark-capture_opts.o tshark-tempfile.o tshark-tshark.o .libs/tsharkS.o
-pthread -Wl,--export-dynamic -Wl,-rpath
-Wl,/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
-Wl,--export-dynamic ui/cli/libcliui.a ui/libui.a
wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so
-L/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
-L/usr/lib
/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5/wiretap/.libs/libwiretap.so
/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5/wsutil/.libs/libwsutil.so
wsutil/.libs/libwsutil.so
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgthread-2.0.so
-lpthread
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgmodule-2.0.so
-ldl
/mnt/hee/new/buildroot-2012.08/output/build/libglib2-2.30.3/glib/.libs/libglib-2.0.so
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libglib-2.0.so
-lm -lpcap
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgcrypt.so
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgpg-error.so
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libintl.so
-lc -lz -pthread -Wl,-rpath
-Wl,/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5/wiretap/.libs
-Wl,-rpath
-Wl,/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5/epan/.libs
-Wl,-rpath
-Wl,/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5/wsutil/.libs
-Wl,-rpath
-Wl,/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
-Wl,-rpath
-Wl,/mnt/hee/new/buildroot-2012.08/output/build/libglib2-2.30.3/glib/.libs
-Wl,-rpath
-Wl,/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
/mnt/hee/new/buildroot-2012.08/output/host/usr/lib/gcc/i586-unknown-linux-uclibc/4.7.1/../../../../i586-unknown-linux-uclibc/bin/ld:
warning: libc.so.6, needed by
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so,
not found (try using -rpath or -rpath-link)
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `fwrite at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `sprintf at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `stderr at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `ferror at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strchr at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strncat at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `fread at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `vasprintf at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `gmtime at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strstr at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `fseek at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `fileno at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `__ctype_b_loc at GLIBC_2.3'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `fputc at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strdup at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `__errno_location at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `fgets at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `atoi at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `time at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strrchr at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strverscmp at GLIBC_2.1'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strtol at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `feof at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `gmtime_r at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `vsnprintf at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strncasecmp at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `abort at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strcasecmp at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strncmp at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `recv at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strcat at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `fclose at GLIBC_2.1'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `fgetc at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `memmove at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `__xstat64 at GLIBC_2.2'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `calloc at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strcpy at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strncpy at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `fprintf at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `free at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `fopen64 at GLIBC_2.1'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `snprintf at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `__fxstat64 at GLIBC_2.2'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strftime at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `__assert at GLIBC_2.2'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `realloc at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `tmpfile64 at GLIBC_2.1'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `memmem at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strcmp at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `strtoul at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `__ctype_toupper_loc at GLIBC_2.3'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `malloc at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `memcmp at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `send at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `ftell at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `fputs at GLIBC_2.0'
/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
undefined reference to `fflush at GLIBC_2.0'
collect2: error: ld returned 1 exit status
libtool: link: rm -f ".libs/tsharkS.o"
make[2]: *** [tshark] Virhe 1
make[2]: Poistutaan hakemistosta
"/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5"
make[1]: *** [all-recursive] Virhe 1
make[1]: Poistutaan hakemistosta
"/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5"
make: *** [all] Virhe 2
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCHv5 2/2] wireshark: new package
2013-02-14 15:43 ` Stefan Fröberg
@ 2013-02-14 15:52 ` Stefan Fröberg
2013-02-15 11:51 ` Baruch Siach
0 siblings, 1 reply; 13+ messages in thread
From: Stefan Fröberg @ 2013-02-14 15:52 UTC (permalink / raw)
To: buildroot
14.2.2013 17:43, Stefan Fr?berg kirjoitti:
> 14.2.2013 17:05, Stefan Fr?berg kirjoitti:
>> Hi Baruch
>>
>> 14.2.2013 6:56, Baruch Siach kirjoitti:
>>> Hi Stefan,
>>>
>>> On Sun, Feb 03, 2013 at 02:11:23PM +0200, Stefan Fr?berg wrote:
>>>> This looks very good. Im going to test this later this evening.
>>> Did you have a chance to test, then?
>>>
>>> baruch
>>>
>> Sorry, I was distracted again but it's compiling right now.
>> Will report later.
>>
>> Stefan
>>
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
> I got the following error when compiling.
>
>
>
> make[2]: Poistutaan hakemistosta
> "/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5/ui/cli"
> Making all in .
> make[2]: Siirryt??n hakemistoon
> "/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5"
> /usr/bin/perl ./make-version.pl .
> Version configuration file version.conf not found. Using defaults.
> svnversion.h unchanged.
> /bin/sh ./libtool --tag=CC --mode=link
> /mnt/hee/new/buildroot-2012.08/output/host/usr/bin/i586-unknown-linux-uclibc-gcc
> -DPYTHON_DIR= -pipe -funit-at-a-time -Wno-error -Os -Os
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall
> -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
> -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security
> -Wold-style-definition -Wno-error=unused-but-set-variable
> -fexcess-precision=fast -pthread
> -I/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/include/glib-2.0
> -I/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/glib-2.0/include
> -export-dynamic -Wl,-S -Wl,-O1 -Wl,--as-needed -Wl,-z -Wl,combreloc
> -Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,--as-needed -o tshark
> tshark-capture-pcap-util-unix.o tshark-capture-pcap-util.o
> tshark-cfile.o tshark-clopts_common.o tshark-disabled_protos.o
> tshark-frame_data_sequence.o tshark-packet-range.o tshark-print.o
> tshark-ps.o tshark-sync_pipe_write.o tshark-timestats.o
> tshark-tap-megaco-common.o tshark-tap-rtp-common.o tshark-version_info.o
> tshark-capture_ifinfo.o tshark-capture_sync.o tshark-capture_ui_utils.o
> tshark-capture_opts.o tshark-tempfile.o tshark-tshark.o
> ui/cli/libcliui.a ui/libui.a wiretap/libwiretap.la epan/libwireshark.la
> wsutil/libwsutil.la -dlopen plugins/asn1/asn1.la -dlopen
> plugins/docsis/docsis.la -dlopen plugins/ethercat/ethercat.la -dlopen
> plugins/gryphon/gryphon.la -dlopen plugins/irda/irda.la -dlopen
> plugins/m2m/m2m.la -dlopen plugins/mate/mate.la -dlopen
> plugins/opcua/opcua.la -dlopen plugins/profinet/profinet.la -dlopen
> plugins/stats_tree/stats_tree.la -dlopen plugins/unistim/unistim.la
> -dlopen plugins/wimax/wimax.la -pthread -Wl,--export-dynamic
> -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lm
> -L/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
> -Wl,-rpath,/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
> -lpcap
> -L/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
> -lgcrypt -lgpg-error -lgnutls -lz
> libtool: link: rm -f .libs/tshark.nm .libs/tshark.nmS .libs/tshark.nmT
> libtool: link: (cd .libs &&
> /mnt/hee/new/buildroot-2012.08/output/host/usr/bin/i586-unknown-linux-uclibc-gcc
> -pipe -funit-at-a-time -Wno-error -Os -Os -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wextra
> -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
> -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security
> -Wold-style-definition -Wno-error=unused-but-set-variable
> -fexcess-precision=fast -pthread
> -I/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/include/glib-2.0
> -I/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/glib-2.0/include
> -c -fno-builtin "tsharkS.c")
> libtool: link: rm -f ".libs/tsharkS.c" ".libs/tshark.nm"
> ".libs/tshark.nmS" ".libs/tshark.nmT"
> libtool: link:
> /mnt/hee/new/buildroot-2012.08/output/host/usr/bin/i586-unknown-linux-uclibc-gcc
> -DPYTHON_DIR= -pipe -funit-at-a-time -Wno-error -Os -Os
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall
> -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
> -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security
> -Wold-style-definition -Wno-error=unused-but-set-variable
> -fexcess-precision=fast -pthread
> -I/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/include/glib-2.0
> -I/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/glib-2.0/include
> -Wl,-S -Wl,-O1 -Wl,--as-needed -Wl,-z -Wl,combreloc
> -Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,--as-needed -o tshark
> tshark-capture-pcap-util-unix.o tshark-capture-pcap-util.o
> tshark-cfile.o tshark-clopts_common.o tshark-disabled_protos.o
> tshark-frame_data_sequence.o tshark-packet-range.o tshark-print.o
> tshark-ps.o tshark-sync_pipe_write.o tshark-timestats.o
> tshark-tap-megaco-common.o tshark-tap-rtp-common.o tshark-version_info.o
> tshark-capture_ifinfo.o tshark-capture_sync.o tshark-capture_ui_utils.o
> tshark-capture_opts.o tshark-tempfile.o tshark-tshark.o .libs/tsharkS.o
> -pthread -Wl,--export-dynamic -Wl,-rpath
> -Wl,/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
> -Wl,--export-dynamic ui/cli/libcliui.a ui/libui.a
> wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so
> -L/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
> -L/usr/lib
> /mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5/wiretap/.libs/libwiretap.so
> /mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5/wsutil/.libs/libwsutil.so
> wsutil/.libs/libwsutil.so
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgthread-2.0.so
> -lpthread
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgmodule-2.0.so
> -ldl
> /mnt/hee/new/buildroot-2012.08/output/build/libglib2-2.30.3/glib/.libs/libglib-2.0.so
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libglib-2.0.so
> -lm -lpcap
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgcrypt.so
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgpg-error.so
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libintl.so
> -lc -lz -pthread -Wl,-rpath
> -Wl,/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5/wiretap/.libs
> -Wl,-rpath
> -Wl,/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5/epan/.libs
> -Wl,-rpath
> -Wl,/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5/wsutil/.libs
> -Wl,-rpath
> -Wl,/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
> -Wl,-rpath
> -Wl,/mnt/hee/new/buildroot-2012.08/output/build/libglib2-2.30.3/glib/.libs
> -Wl,-rpath
> -Wl,/mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib
> /mnt/hee/new/buildroot-2012.08/output/host/usr/lib/gcc/i586-unknown-linux-uclibc/4.7.1/../../../../i586-unknown-linux-uclibc/bin/ld:
> warning: libc.so.6, needed by
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so,
> not found (try using -rpath or -rpath-link)
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `fwrite at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `sprintf at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `stderr at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `ferror at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strchr at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strncat at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `fread at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `vasprintf at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `gmtime at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strstr at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `fseek at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `fileno at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `__ctype_b_loc at GLIBC_2.3'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `fputc at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strdup at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `__errno_location at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `fgets at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `atoi at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `time at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strrchr at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strverscmp at GLIBC_2.1'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strtol at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `feof at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `gmtime_r at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `vsnprintf at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strncasecmp at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `abort at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strcasecmp at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strncmp at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `recv at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strcat at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `fclose at GLIBC_2.1'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `fgetc at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `memmove at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `__xstat64 at GLIBC_2.2'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `calloc at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strcpy at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strncpy at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `fprintf at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `free at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `fopen64 at GLIBC_2.1'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `snprintf at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `__fxstat64 at GLIBC_2.2'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strftime at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `__assert at GLIBC_2.2'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `realloc at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `tmpfile64 at GLIBC_2.1'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `memmem at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strcmp at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `strtoul at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `__ctype_toupper_loc at GLIBC_2.3'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `malloc at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `memcmp at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `send at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `ftell at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `fputs at GLIBC_2.0'
> /mnt/hee/new/buildroot-2012.08/output/host/usr/i586-unknown-linux-uclibc/sysroot/usr/lib/libgnutls.so:
> undefined reference to `fflush at GLIBC_2.0'
> collect2: error: ld returned 1 exit status
> libtool: link: rm -f ".libs/tsharkS.o"
> make[2]: *** [tshark] Virhe 1
> make[2]: Poistutaan hakemistosta
> "/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5"
> make[1]: *** [all-recursive] Virhe 1
> make[1]: Poistutaan hakemistosta
> "/mnt/hee/new/buildroot-2012.08/output/build/wireshark-1.8.5"
> make: *** [all] Virhe 2
>
>
It seems I need to upgrade to latest git version if I want this to work.
That version of gnutls has
--disable-rpath in it's conf.
BTW, Baruch did you manage to compile this version of wireshark against
that gnutls 3 ?
Im asking it because in gentoo there is a patch for wireshark 1.8.5 that
is supposedly to support gnutls 3
Here's the patch
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/files/wireshark-1.8.3-gnutls3.patch?revision=1.1&view=markup
And heres their ebuild file where they are applying that patch against
1.8..5
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/wireshark-1.8.5.ebuild?view=markup
Regards
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCHv5 2/2] wireshark: new package
2013-02-14 15:52 ` Stefan Fröberg
@ 2013-02-15 11:51 ` Baruch Siach
2013-02-15 12:12 ` Stefan Fröberg
0 siblings, 1 reply; 13+ messages in thread
From: Baruch Siach @ 2013-02-15 11:51 UTC (permalink / raw)
To: buildroot
Hi Stefan,
On Thu, Feb 14, 2013 at 05:52:52PM +0200, Stefan Fr?berg wrote:
[...]
> It seems I need to upgrade to latest git version if I want this to work.
> That version of gnutls has
> --disable-rpath in it's conf.
Thanks for testing.
> BTW, Baruch did you manage to compile this version of wireshark against
> that gnutls 3 ?
Nope. I only tried OpenSSL which I already have on my target.
> Im asking it because in gentoo there is a patch for wireshark 1.8.5 that
> is supposedly to support gnutls 3
>
> Here's the patch
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/files/wireshark-1.8.3-gnutls3.patch?revision=1.1&view=markup
>
> And heres their ebuild file where they are applying that patch against
> 1.8..5
>
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/wireshark-1.8.5.ebuild?view=markup
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCHv5 2/2] wireshark: new package
2013-02-15 11:51 ` Baruch Siach
@ 2013-02-15 12:12 ` Stefan Fröberg
2013-02-15 12:20 ` Baruch Siach
0 siblings, 1 reply; 13+ messages in thread
From: Stefan Fröberg @ 2013-02-15 12:12 UTC (permalink / raw)
To: buildroot
Hello Baruch
15.2.2013 13:51, Baruch Siach kirjoitti:
> Hi Stefan,
>
> On Thu, Feb 14, 2013 at 05:52:52PM +0200, Stefan Fr?berg wrote:
> [...]
>> It seems I need to upgrade to latest git version if I want this to work.
>> That version of gnutls has
>> --disable-rpath in it's conf.
> Thanks for testing.
>
>> BTW, Baruch did you manage to compile this version of wireshark against
>> that gnutls 3 ?
> Nope. I only tried OpenSSL which I already have on my target.
Your .mk file needs --with-gnutls=no added to it's configuration in case
both OpenSSL and gnutls are installed.
And maybe later a submenu of choice what SSL (if any) implementation to
use for decrypting.
I will try later this evening how far I get this time with compiling it.
Stefan
>> Im asking it because in gentoo there is a patch for wireshark 1.8.5 that
>> is supposedly to support gnutls 3
>>
>> Here's the patch
>> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/files/wireshark-1.8.3-gnutls3.patch?revision=1.1&view=markup
>>
>> And heres their ebuild file where they are applying that patch against
>> 1.8..5
>>
>> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/wireshark-1.8.5.ebuild?view=markup
> baruch
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCHv5 2/2] wireshark: new package
2013-02-15 12:12 ` Stefan Fröberg
@ 2013-02-15 12:20 ` Baruch Siach
2013-02-15 20:34 ` Stefan Fröberg
0 siblings, 1 reply; 13+ messages in thread
From: Baruch Siach @ 2013-02-15 12:20 UTC (permalink / raw)
To: buildroot
Hi Stefan,
On Fri, Feb 15, 2013 at 02:12:39PM +0200, Stefan Fr?berg wrote:
> 15.2.2013 13:51, Baruch Siach kirjoitti:
> > On Thu, Feb 14, 2013 at 05:52:52PM +0200, Stefan Fr?berg wrote:
> > [...]
> >> It seems I need to upgrade to latest git version if I want this to work.
> >> That version of gnutls has
> >> --disable-rpath in it's conf.
> > Thanks for testing.
> >
> >> BTW, Baruch did you manage to compile this version of wireshark against
> >> that gnutls 3 ?
> > Nope. I only tried OpenSSL which I already have on my target.
>
> Your .mk file needs --with-gnutls=no added to it's configuration in case
> both OpenSSL and gnutls are installed.
> And maybe later a submenu of choice what SSL (if any) implementation to
> use for decrypting.
Ok. I'll fix that in my next patch iteration.
> I will try later this evening how far I get this time with compiling it.
Keep me posted.
Thanks,
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCHv5 2/2] wireshark: new package
2013-02-15 12:20 ` Baruch Siach
@ 2013-02-15 20:34 ` Stefan Fröberg
2013-02-15 20:38 ` Stefan Fröberg
0 siblings, 1 reply; 13+ messages in thread
From: Stefan Fröberg @ 2013-02-15 20:34 UTC (permalink / raw)
To: buildroot
[snip]
>>>> BTW, Baruch did you manage to compile this version of wireshark against
>>>> that gnutls 3 ?
>>> Nope. I only tried OpenSSL which I already have on my target.
>> Your .mk file needs --with-gnutls=no added to it's configuration in case
>> both OpenSSL and gnutls are installed.
>> And maybe later a submenu of choice what SSL (if any) implementation to
>> use for decrypting.
> Ok. I'll fix that in my next patch iteration.
>
>> I will try later this evening how far I get this time with compiling it.
> Keep me posted.
>
> Thanks,
> baruch
After inspecting the following
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/wireshark-1.8.5.ebuild?view=markup
http://www.linuxfromscratch.org/blfs/view/svn/basicnet/wireshark.html
and most importantly,
http://wiki.wireshark.org/SSL
I found out that wireshark uses OpenSSL indirectly only when using
kerberos (which buildroot does not currently have), only if the
said kerberos has ssl support compiled in ("krb5-config --libs" spits'
out -lcrypto) and only if you pass --with-ssl to wireshark config.
For decrypting SSL streams the wireshark will use only, and *only*,
GnuTLS and libgcrypt.
So if you want to include SSL decrypting support by default then you should:
1 ) try that gentoo wireshark patch that adds support for compiling
against gnutls v3
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/files/wireshark-1.8.3-gnutls3.patch?revision=1.1
2) Add --with-gnutls=yes to WIRESHARK_CONF_OPT
3) Add gnutls to wireshark dependencies.
Also, when compiling against uClibc I had to add LIBS="-ldl" to
WIRESHARK_CONF_ENV as a workaround to finish compiling.
Ofcourse the prober fix for this would be a patch to configure.ac that
would check if libdl exists and then add it to LIBS
Regards
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCHv5 2/2] wireshark: new package
2013-02-15 20:34 ` Stefan Fröberg
@ 2013-02-15 20:38 ` Stefan Fröberg
0 siblings, 0 replies; 13+ messages in thread
From: Stefan Fröberg @ 2013-02-15 20:38 UTC (permalink / raw)
To: buildroot
15.2.2013 22:34, Stefan Fr?berg kirjoitti:
> [snip]
>>>>> BTW, Baruch did you manage to compile this version of wireshark against
>>>>> that gnutls 3 ?
>>>> Nope. I only tried OpenSSL which I already have on my target.
>>> Your .mk file needs --with-gnutls=no added to it's configuration in case
>>> both OpenSSL and gnutls are installed.
>>> And maybe later a submenu of choice what SSL (if any) implementation to
>>> use for decrypting.
>> Ok. I'll fix that in my next patch iteration.
>>
>>> I will try later this evening how far I get this time with compiling it.
>> Keep me posted.
>>
>> Thanks,
>> baruch
> After inspecting the following
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/wireshark-1.8.5.ebuild?view=markup
> http://www.linuxfromscratch.org/blfs/view/svn/basicnet/wireshark.html
>
> and most importantly,
>
> http://wiki.wireshark.org/SSL
>
> I found out that wireshark uses OpenSSL indirectly only when using
> kerberos (which buildroot does not currently have), only if the
> said kerberos has ssl support compiled in ("krb5-config --libs" spits'
> out -lcrypto) and only if you pass --with-ssl to wireshark config.
>
> For decrypting SSL streams the wireshark will use only, and *only*,
> GnuTLS and libgcrypt.
>
> So if you want to include SSL decrypting support by default then you should:
>
> 1 ) try that gentoo wireshark patch that adds support for compiling
> against gnutls v3
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/files/wireshark-1.8.3-gnutls3.patch?revision=1.1
>
> 2) Add --with-gnutls=yes to WIRESHARK_CONF_OPT
>
> 3) Add gnutls to wireshark dependencies.
>
> Also, when compiling against uClibc I had to add LIBS="-ldl" to
> WIRESHARK_CONF_ENV as a workaround to finish compiling.
> Ofcourse the prober fix for this would be a patch to configure.ac that
> would check if libdl exists and then add it to LIBS
Sorry, i meant configure.in *not* configure.ac
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-02-15 20:38 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-03 6:04 [Buildroot] [PATCH 1/2] libpcap: fixup pcap-config Baruch Siach
2013-02-03 6:04 ` [Buildroot] [PATCHv5 2/2] wireshark: new package Baruch Siach
2013-02-03 12:11 ` Stefan Fröberg
2013-02-14 4:56 ` Baruch Siach
2013-02-14 15:05 ` Stefan Fröberg
2013-02-14 15:43 ` Stefan Fröberg
2013-02-14 15:52 ` Stefan Fröberg
2013-02-15 11:51 ` Baruch Siach
2013-02-15 12:12 ` Stefan Fröberg
2013-02-15 12:20 ` Baruch Siach
2013-02-15 20:34 ` Stefan Fröberg
2013-02-15 20:38 ` Stefan Fröberg
2013-02-04 22:53 ` [Buildroot] [PATCH 1/2] libpcap: fixup pcap-config Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.