Displaying 5 results from an estimated 5 matches for "inet_make_mask".
2004 Sep 23
3
iproute2 tool compiling problems.
...libc -i
nclude ../include-glibc/glibc-bugs.h
-I/usr/src/linux/include -I../include -DRES
OLVE_HOSTNAMES -c -o utils.o utils.c
cc1: warnings being treated as errors
In file included from ../include/utils.h:6,
from utils.c:30:
/usr/src/linux/include/linux/inetdevice.h: In function
`inet_make_mask'':
/usr/src/linux/include/linux/inetdevice.h:173:
warning: implicit declaration of
function `htonl''
/usr/src/linux/include/linux/inetdevice.h: In function
`inet_mask_len'':
/usr/src/linux/include/linux/inetdevice.h:179:
warning: implicit declaration of
function `ntohl'&...
2003 Feb 24
0
Iproute2 ''Makefile options'' in 2.5.59
...et_aton''
/usr/include/arpa/inet.h:74: warning: data definition has no type or
storage class
/usr/include/arpa/inet.h:78: parse error before `__net''
In file included from ../include/utils.h:6,
From utils.c:30
/usr/src/linux-25.59/include/linux/inetdevice.h: In function
''inet_make_mask''
/usr/src/linux-25.59/include/linux/inetdevice.h:159: warning: implicit
declaration of function ''htonl''
/usr/src/linux-2.5.59/include/linux/inetdevice.h: In function
''inet_mask_len'': /usr/src/linux-2.5.59/include/linux/inetdevice.h:165
warning: implicit...
2004 Jun 22
8
Don''t know how to compile tc
I am trying to build iproute2-2.4.7-20010824 from source on a 2.4.24
kernel. I have played a bit with ADDLIB and LDLIBS variables but I
always get errors so I suppose it''s best if instead of playing I try to
understand what does the following mean (from the README file):
ADDLIB should contain inet_* functions, if your libc contains
obsolete resolver library (<4.9.4) and you have no
2018 Jun 07
0
[PATCH v2 1/2] compiler-gcc.h: add gnu_inline to all inline declarations
...@@ -194 +194 @@ static __inline__ bool inet_ifa_match(__be32 addr, struct in_ifaddr *ifa)
-static __inline__ bool bad_mask(__be32 mask, __be32 addr)
+static inline bool bad_mask(__be32 mask, __be32 addr)
@@ -256 +256 @@ static inline void in_dev_put(struct in_device *idev)
-static __inline__ __be32 inet_make_mask(int logmask)
+static inline __be32 inet_make_mask(int logmask)
@@ -263 +263 @@ static __inline__ __be32 inet_make_mask(int logmask)
-static __inline__ int inet_mask_len(__be32 mask)
+static inline int inet_mask_len(__be32 mask)
diff --git a/include/linux/parport.h b/include/linux/parport.h
index 39...
2004 May 26
1
error compilling TC
...nclude
../include-glibc/glibc-bugs.h -I/usr/src/linux/include -I../include -DRES
OLVE_HOSTNAMES -c -o utils.o utils.c
cc1: los avisos son tratados como errores
En el fichero incluído de ../include/utils.h:6,
de utils.c:30:
/usr/src/linux/include/linux/inetdevice.h: En la función `inet_make_mask'':
/usr/src/linux/include/linux/inetdevice.h:173: aviso: declaración implícita
de l
a función `htonl''
/usr/src/linux/include/linux/inetdevice.h: En la función `inet_mask_len'':
/usr/src/linux/include/linux/inetdevice.h:179: aviso: declaración implícita
de l
a función `ntohl...