Hi All, Sorry to bother you but I am sure many of you are implementing the IPsec. I am very new to this technology. Today I was writing a simple program of key management using PF_KEY sockets.Basically I downloaded unixnetworkprograming books example from internet. while compiling I am getting the following error...
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gcc -I../lib -g -O2 -D_REENTRANT -Wall -c -o get_rtaddrs.o get_rtaddrs.c In file included from get_rtaddrs.c:1: unproute.h:3:45: error: net/if_dl.h: No such file or directory get_rtaddrs.c: In function âget_rtaddrsâ: get_rtaddrs.c:21: error: âRTAX_MAXâ undeclared (first use in this function) get_rtaddrs.c:21: error: (Each undeclared identifier is reported only once get_rtaddrs.c:21: error: for each function it appears in.) get_rtaddrs.c:24: error: âstruct sockaddrâ has no member named âsa_lenâ get_rtaddrs.c:24: error: âstruct sockaddrâ has no member named âsa_lenâ get_rtaddrs.c:24: error: âstruct sockaddrâ has no member named âsa_lenâ get_rtaddrs.c:24: error: âstruct sockaddrâ has no member named âsa_lenâ make: *** [get_rtaddrs.o] Error 1 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Could anybody please help me to build my my first program... Thanks, _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
