>>>>> "N" == NICL <Smith> writes:
N> I've been trying to replace my Win95 'server' (it offers shares over my
N> home network + a proxy to my ISP) with RedHat Linux 5.2 server.The
N> shares are ok (using Samba) and I've (finally) got isdn4linux compiling
N> (used 2.0.36-3 instead of -0.7) and it seemed like a VERY good idea to
N> use diald. BUT I cannot get it to compile. I've downloaded
N> diald-0.99.1.tar.gz and performed the make.This fails with
N> cc -O2 -Wall -pipe -DTCP_WRAPPERS -c proxy_tap.c -o proxy_tap.o
N> proxy_tap.c:19: linux/netlink.h: No such file or directory proxy_tap.c:
This problem arises when using older Linux kernel with glibc2. Apply this
patch, it'll help:
diff -ur diald-0.99-old/diald.h diald-0.99/diald.h
--- diald-0.99-old/diald.h Thu Apr 1 22:42:13 1999
+++ diald-0.99/diald.h Sat Jun 12 15:47:05 1999
@@ -62,6 +62,7 @@
# include <net/ethernet.h>
# if __GLIBC_MINOR__ >= 1
# include <netpacket/packet.h>
+# undef AF_NETLINK
# endif
# include <net/if_packet.h>
#endif
diff -ur diald-0.99-old/proxy_dev.c diald-0.99/proxy_dev.c
--- diald-0.99-old/proxy_dev.c Sun Apr 4 13:22:38 1999
+++ diald-0.99/proxy_dev.c Sat Jun 12 15:32:16 1999
@@ -33,9 +33,9 @@
{
struct sockaddr *to;
struct sockaddr_pkt sp;
+ size_t to_len;
#ifdef HAVE_AF_PACKET
struct sockaddr_ll sl;
- size_t to_len;
if (af_packet) {
memset(&sl, 0, sizeof(sl));
--
����� ���� ������� ���� �������� // ������ ��� �� ��������
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]