Solved

Problems during installation of MPLS on Linux

Posted on 2003-11-11
3
274 Views
Last Modified: 2010-03-18

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
-----------------------------------------------------------------------------------------------
0
Comment
Question by:mplsvpn
3 Comments
 
LVL 2

Accepted Solution

by:
asbharadwaj earned 50 total points
ID: 9728813
Hi
All the definitions listed in the error messages are typedef'd but the
compiler is unable to find the type definition. That is what is causing this error.
May be some headers are missing or they are under some flag which you
need to define at compile time.
Or inet.h requires someother header to be included before it.
Try to find the definitions
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question