LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-20-2004, 11:43 AM   #1
greklas
LQ Newbie
 
Registered: Aug 2004
Posts: 25

Rep: Reputation: 15
Problem installing iproute2


Hi,
I'm using Slackware 9, kernel 2.4.20 and I'm trying to install iproute iproute2-currnet.tar.gz and when I use "make" command I receive an some ERRORS:

In file included from <command line>:1:
../include-glibc/glib-bugs.h:16: parse error before "in_port_t"
../include-glibc/glib-bugs.h:16: warning:type defaults to 'int' in declaration of 'in_port_t'
../include-glibc/glib-bugs.h:16: warning:data definition has no type or storage class
../include-glibc/glib-bugs.h:17: parse error before "in_addr_t"
../include-glibc/glib-bugs.h:17: warning:type defaults to 'int' in declaration of 'in_addr_t'
../include-glibc/glib-bugs.h:17: warning:data definition has no type or storage class

In file included from ll_map.c:22:
../include/libnetlink.h:11:field 'local' has incoplete type
../include/libnetlink.h:12:field 'peer' has incoplete type
../include/libnetlink.h:15: confused by earlier erroes, bailing out
make[1];***[ll_map.c] Error 1


I shall inform you that:
1) Line 22 in iproute2/lib/ll_map.c is:
#include "libnetlink.h"
2) Line 16 in iproute2/include-glibc/glib-bugs.h is
typedef __u16 in_port_t;
3) Line 17 in iproute2/include-glibc/glib-bugs.h is
typedef __u32 in_addr_t;

Could anyone advise me please?
Thank you
 
Old 10-21-2004, 01:15 AM   #2
BillJennings
Member
 
Registered: Oct 2004
Location: Big River, California, USA
Distribution: Debian
Posts: 48

Rep: Reputation: 15
This looks to me like a GCC compatiblilty problem. What version of GCC are you using? Also, what version of glibc?

Sincerely
Bill Jennings
 
Old 10-21-2004, 07:39 AM   #3
greklas
LQ Newbie
 
Registered: Aug 2004
Posts: 25

Original Poster
Rep: Reputation: 15
gcc -v --> 3.2.2
glib-config --version --> 1.2.10
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in iproute2 alvi2 Linux - Networking 1 06-13-2005 06:13 PM
Help with iproute2 warwolf Linux - Networking 1 05-13-2005 09:25 AM
iproute2 rounting sqn Linux - Networking 1 06-14-2004 02:26 PM
installing iproute2 lwinkenb Linux From Scratch 2 04-12-2004 02:05 PM
iproute2 , kernel 2.4.24 , slackware 9.0 instalation problem varzosu Slackware 1 02-07-2004 08:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration