Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Problems during installation of MPLS on Linux

Posted on 2003-11-11
3
Medium Priority
?
297 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 200 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

926 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