Hi,

I am trying to compile the pppd-2.2.0f with radiusclient patch. I am
getting the following error. I am trying to do this on Redhat 7.0

In file included from /usr/include/linux/if.h:23,
                 from /usr/include/linux/if_ppp.h:39,
                 from lcp.c:53:
/usr/include/linux/socket.h:9: redefinition of `struct sockaddr'
/usr/include/linux/socket.h:14: redefinition of `struct linger'
/usr/include/linux/socket.h:26: redefinition of `struct msghdr'
In file included from /usr/include/linux/if_ppp.h:39,
                 from lcp.c:53:
/usr/include/linux/if.h:58: redefinition of `struct ifaddr'
/usr/include/linux/if.h:82: redefinition of `struct ifmap'
/usr/include/linux/if.h:100: redefinition of `struct ifreq'
/usr/include/linux/if.h:144: redefinition of `struct ifconf'
make: *** [lcp.o] Error 1

How to overcome this. I believe some one who is having the expertise in C
will respond...

Thanks,
Kiran




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to