* Re: [LARTC] iproute2-2.6.9-041019 compiling error
@ 2004-10-20 23:40 Stephen Hemminger
2004-10-20 23:40 ` Lopsch
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Stephen Hemminger @ 2004-10-20 23:40 UTC (permalink / raw)
To: lartc
This should fix it.
diff -Nru a/ip/xfrm.h b/ip/xfrm.h
--- a/ip/xfrm.h 2004-10-20 16:40:09 -07:00
+++ b/ip/xfrm.h 2004-10-20 16:40:09 -07:00
@@ -28,7 +28,10 @@
#include <stdio.h>
#include <sys/socket.h>
#include <linux/xfrm.h>
-#include "utils.h"
+
+#ifndef IPPROTO_SCTP
+# define IPPROTO_SCTP 132
+#endif
#define XFRM_MAX_DEPTH 6
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread* [LARTC] iproute2-2.6.9-041019 compiling error 2004-10-20 23:40 [LARTC] iproute2-2.6.9-041019 compiling error Stephen Hemminger @ 2004-10-20 23:40 ` Lopsch 2004-10-20 23:58 ` Lopsch 2004-10-21 0:10 ` Lopsch 2 siblings, 0 replies; 4+ messages in thread From: Lopsch @ 2004-10-20 23:40 UTC (permalink / raw) To: lartc While compiling the new release i´ll get this error: gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -c -o ipxfrm.o ipxfrm.c ipxfrm.c: In function `xfrm_selector_print': ipxfrm.c:395: error: `IPPROTO_SCTP' undeclared (first use in this function) ipxfrm.c:395: error: (Each undeclared identifier is reported only once ipxfrm.c:395: error: for each function it appears in.) ipxfrm.c: In function `xfrm_selector_upspec_parse': ipxfrm.c:790: error: `IPPROTO_SCTP' undeclared (first use in this function) Any solutions? _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] iproute2-2.6.9-041019 compiling error 2004-10-20 23:40 [LARTC] iproute2-2.6.9-041019 compiling error Stephen Hemminger 2004-10-20 23:40 ` Lopsch @ 2004-10-20 23:58 ` Lopsch 2004-10-21 0:10 ` Lopsch 2 siblings, 0 replies; 4+ messages in thread From: Lopsch @ 2004-10-20 23:58 UTC (permalink / raw) To: lartc > This should fix it. > > diff -Nru a/ip/xfrm.h b/ip/xfrm.h > --- a/ip/xfrm.h 2004-10-20 16:40:09 -07:00 > +++ b/ip/xfrm.h 2004-10-20 16:40:09 -07:00 > @@ -28,7 +28,10 @@ > #include <stdio.h> > #include <sys/socket.h> > #include <linux/xfrm.h> > -#include "utils.h" > + > +#ifndef IPPROTO_SCTP > +# define IPPROTO_SCTP 132 > +#endif > > #define XFRM_MAX_DEPTH 6 > Thank´s but I´m not good at programming so I don´t really know what to do :(. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] iproute2-2.6.9-041019 compiling error 2004-10-20 23:40 [LARTC] iproute2-2.6.9-041019 compiling error Stephen Hemminger 2004-10-20 23:40 ` Lopsch 2004-10-20 23:58 ` Lopsch @ 2004-10-21 0:10 ` Lopsch 2 siblings, 0 replies; 4+ messages in thread From: Lopsch @ 2004-10-21 0:10 UTC (permalink / raw) To: lartc > This should fix it. > > diff -Nru a/ip/xfrm.h b/ip/xfrm.h > --- a/ip/xfrm.h 2004-10-20 16:40:09 -07:00 > +++ b/ip/xfrm.h 2004-10-20 16:40:09 -07:00 > @@ -28,7 +28,10 @@ > #include <stdio.h> > #include <sys/socket.h> > #include <linux/xfrm.h> > -#include "utils.h" > + > +#ifndef IPPROTO_SCTP > +# define IPPROTO_SCTP 132 > +#endif > > #define XFRM_MAX_DEPTH 6 > OK excuse me for being dumb ;), worked fine. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-21 0:10 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2004-10-20 23:40 [LARTC] iproute2-2.6.9-041019 compiling error Stephen Hemminger 2004-10-20 23:40 ` Lopsch 2004-10-20 23:58 ` Lopsch 2004-10-21 0:10 ` Lopsch
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.