Solved

Problems during installation of MPLS on Linux

Posted on 2003-11-11
3
283 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Mailserver setup & redundancy 2 124
Linux : when to add the entries in /etc/hosts file 22 105
centos7 firewalld udp ports 33 106
Iptables and mirroring ports 4 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…
Suggested Courses

752 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