[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 01047) Re: netcat6 0.2pre1
On Tue, 20 Nov 2001 20:18:49 +0100 (CET)
Mauro Tortonesi <mauro@xxxxxxxxxxxxxxxx> wrote:
> i have uploaded the latest release of netcat6:
>
> ftp://ftp.ferrara.linux.it/pub/project6/sources/nc6-0.2pre1.tar.gz
>
> could you please take a look at it and report your impressions to me?
It seems that it works very well with any option :-)
My systems are...
*linux-2.4.16-pre1 + usagi-cvs + glibc-2.2.4
*linux-2.4.12 + usagi-snapshot + glibc-2.2.4
*linux-2.2.19 + usagi-snapshot + glibc-2.2.4
But I think that I cannot build it on glibc-2.1.3. If you need it, please
apply following adhoc patch.
diff -Nur nc6-0.2pre1/configure nc6-0.2pre1/configure
--- nc6-0.2pre1/configure Sun Nov 18 02:09:37 2001
+++ nc6-0.2pre1/configure Tue Nov 27 17:54:29 2001
@@ -987,7 +987,7 @@
CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
- CFLAGS="-g -O2"
+ CFLAGS="-g -O2 -D__ss_family=ss_family"
else
CFLAGS="-g"
fi
diff -Nur nc6-0.2pre1/src/filter.c nc6-0.2pre1/src/filter.c
--- nc6-0.2pre1/src/filter.c Sat Nov 17 04:45:45 2001
+++ nc6-0.2pre1/src/filter.c Tue Nov 27 18:00:48 2001
@@ -1,6 +1,7 @@
#include <assert.h>
#include <netdb.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include "filter.h"
#include "misc.h"
Best regards,
-----------------------------------------
KUNITAKE Koichi