Link to home
Start Free TrialLog in
Avatar of mplsvpn
mplsvpn

asked on

Problems during installation of MPLS on Linux


Hi !!
I have install iproute2 in Linux .. During the compliation I am
facing  these errors. I am not able to get rid of these error. I have
mention below the error that I am getting.

Waiting for your response.
Regards,

Priya.
-----------------------------------------

make[1]: Entering directory `/home/project/Linux/iproute2/lib'
 gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc
 -include ../include-glibc/glibc-bugs.h -I/usr/src/linux-2.4.2/include
 -I../include    -c -o utils.o utils.c
 In file included from utils.c:26:
 /usr/include/arpa/inet.h:35: parse error before `inet_addr'
 /usr/include/arpa/inet.h:35: warning: data definition has no type or
storage class
 /usr/include/arpa/inet.h:38: parse error before `inet_lnaof'
 /usr/include/arpa/inet.h:38: warning: data definition has no type or
storage class
 /usr/include/arpa/inet.h:42: parse error before `__net'
 /usr/include/arpa/inet.h:46: parse error before `inet_netof'
 /usr/include/arpa/inet.h:46: warning: data definition has no type or
storage class
 /usr/include/arpa/inet.h:50: parse error before `inet_network'
 /usr/include/arpa/inet.h:50: warning: data definition has no type or
storage class
 /usr/include/arpa/inet.h:74: parse error before `inet_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'
 make[1]: *** [utils.o] Error 1
 make[1]: Leaving directory `/home/project/Linux/iproute2/lib'
 make: *** [all] Error 2
-----------------------------------------------------------------------------------------------
ASKER CERTIFIED SOLUTION
Avatar of asbharadwaj
asbharadwaj

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial