Solved

Problems during installation of MPLS on Linux

Posted on 2003-11-11
3
244 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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
LDAP setup? 9 82
php54-php-imap for redhat enterprise linux 7.2 1 61
Linux SSH Error 9 67
Linux on a Dell PowerEdge 720 3 98
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now