[uClibc]tcpdump

Martin Volf volf at dragon.cz
Mon Aug 26 07:25:43 UTC 2002


Hello,

without the following two patches it was impossible for me to build
tcpdump 3.7.1. It works now.


==patch 1==
--- configure.orig	Thu Jan 17 06:01:39 2002
+++ configure	Mon Aug 26 08:40:49 2002
@@ -4306,7 +4306,7 @@
 echo "configure:4307: checking for SSLeay" >&5
 ac_cv_ssleay_path=no
 incdir=no
-for dir in /usr /usr/local /usr/local/ssl /usr/pkg; do
+for dir in /opt/uclibc/usr; do
 	if test -d $dir/lib -a -f $dir/lib/libcrypto.a; then
 		ac_cv_ssleay_path=$dir
 	fi
==patch 1==

replace /opt/uclibc/usr with the location of the uclibc-built openssl


==patch 2==
--- print-smb.c.orig	Thu Jan 17 05:38:29 2002
+++ print-smb.c	Mon Aug 26 09:00:53 2002
@@ -18,6 +18,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>
+#include <netinet/in.h>

 #include "interface.h"
 #include "extract.h"
==patch 2==


Maybe ./configure --without-crypto --disable-smb will also do, but I
wanted "full" tcpdump ;-)

Martin





More information about the uClibc mailing list