I cannot figure out how to get a diald version (from 0.98 thru 0.99.1) to
compile cleanly.
If you have compiled diald 0.99 or 0.99.1, and are running it under a 2.2
kernel, please answer four brief questions. (Regretfully, these are probably
the wrong questions. If you see what I'm overlooking, pray tell!)
1. Did you use gcc version <= 2.7.2.3?
2. Did you use the default Makefile, or did you make changes?
3. Did you receive these warnings in timer.c:
timer.c: In function `validate_function'
timer.c:87: warning: comparison of distinct pointer types lacks a cast
timer.c:88 warning: comparison of distinct pointer types lacks a cast
4. I receive the error:
In file included from proxy_tap.c:19:
/usr/include/linux/netlink.h:19: parse error before `__u32'
Do the first 21 lines of /usr/include/linux/netlink.h look like this:
#ifndef __LINUX_NETLINK_H /*(line1)*/
#define __LINUX_NETLINK_H
#define NETLINK_ROUTE 0 /* Routing/device hook */
#define NETLINK_SKIP 1 /* Reserved for ENskip */
#define NETLINK_USERSOCK 2 /* Reserved for user mode socket protocols */
#define NETLINK_FIREWALL 3 /* Firewalling hook */
#define NETLINK_ARPD 8
#define NETLINK_ROUTE6 11 /* af_inet6 route comm channel */
#define NETLINK_IP6_FW 13
#define NETLINK_TAPBASE 16 /* 16 to 31 are ethertap */
#define MAX_LINKS 32
struct sockaddr_nl
{
sa_family_t nl_family; /* AF_NETLINK */
unsigned short nl_pad; /* zero */
__u32 nl_pid; /* process pid */ /*(line19)*/
__u32 nl_groups; /* multicast groups mask */
};
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]