LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-03-2004, 10:53 AM   #1
lwinkenb
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
installing iproute2


I've been trying for the past couple days to install iproute2 on my LFS system.

First I had to make some changes to in.h and socket.h of my kernel include files to get it to start compiling, but now I've run into a new error that I cant seem to get around.

gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc -I/usr/include/db3 -include ../include-glibc/glibc-bugs.h -I/usr/src/linux-2.4.22/include -I../include -DRESOLVE_HOSTNAMES -c -o arpd.o arpd.c
In file included from arpd.c:19:
../include-glibc/db.h:10:20: db_185.h: No such file or directory
arpd.c:41: error: parse error before '*' token
arpd.c:41: warning: type defaults to `int' in declaration of `dbase'
arpd.c:41: warning: data definition has no type or storage class
arpd.c: In function `do_one_request':
arpd.c:304: error: `DBT' undeclared (first use in this function)
arpd.c:304: error: (Each undeclared identifier is reported only once
arpd.c:304: error: for each function it appears in.)
arpd.c:304: error: parse error before "dbkey"
arpd.c:308: error: request for member `sync' in something not a structure or union
arpd.c:339: error: `dbkey' undeclared (first use in this function)
arpd.c:342: error: request for member `get' in something not a structure or union
arpd.c:342: error: `dbdat' undeclared (first use in this function)
arpd.c:366: error: request for member `del' in something not a structure or unio

I've searched my computer, and I don't have the file db_185.h. I thought maybe it's because I dont have the berkeley DB installed, so I then installed db-4.1.25, but I'm still getting the error. Does anyone have any ideas here?
 
Old 03-03-2004, 08:09 PM   #2
lwinkenb
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Got it figured out. I had to install v3 of the database instead of v4
 
Old 04-12-2004, 02:05 PM   #3
neverhappywhen
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Rep: Reputation: 0
Unhappy how did you do that?

i've installed db3 and i hope arpd.c will not complain.

I'm trying to compile this but its giving me errors about TCP_INFO, how do you solve them?

surely its to do with socket.h header files
 
  


Reply



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 package Ipolit Slackware 1 12-12-2004 08:40 AM
Problem installing iproute2 greklas Linux - Networking 2 10-21-2004 07:39 AM
iproute2 rounting sqn Linux - Networking 1 06-14-2004 02:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:24 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