All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] iproute2 compilation problem
@ 2005-02-02 12:25 Remus
  2005-02-02 14:58 ` gypsy
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Remus @ 2005-02-02 12:25 UTC (permalink / raw)
  To: lartc

Hi folks,

I just tried to compile the latest (current) iproute2 and got these errors:

arpd.c:19:20: db_185.h: No such file or directory
arpd.c:42: error: parse error before '*' token
arpd.c:42: warning: type defaults to `int' in declaration of `dbase'
arpd.c:42: warning: data definition has no type or storage class
arpd.c: In function `do_one_request':
arpd.c:305: error: `DBT' undeclared (first use in this function)
arpd.c:305: error: (Each undeclared identifier is reported only once
arpd.c:305: error: for each function it appears in.)
arpd.c:305: error: parse error before "dbkey"
arpd.c:309: 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
union
arpd.c:392: error: request for member `put' in something not a structure or
union
arpd.c:410: error: request for member `put' in something not a structure or
union
arpd.c:422: error: request for member `put' in something not a structure or
union
arpd.c: In function `get_arp_pkt':
arpd.c:486: error: `DBT' undeclared (first use in this function)
arpd.c:486: error: parse error before "dbkey"
arpd.c:517: error: `dbkey' undeclared (first use in this function)
arpd.c:520: error: request for member `get' in something not a structure or
union
arpd.c:520: error: `dbdat' undeclared (first use in this function)
arpd.c:530: error: request for member `put' in something not a structure or
union
arpd.c: In function `main':
arpd.c:670: warning: implicit declaration of function `dbopen'
arpd.c:670: error: `DB_HASH' undeclared (first use in this function)
arpd.c:670: warning: assignment makes pointer from integer without a cast
arpd.c:680: error: `DBT' undeclared (first use in this function)
arpd.c:680: error: parse error before "dbkey"
arpd.c:682: error: `dbkey' undeclared (first use in this function)
arpd.c:711: error: `dbdat' undeclared (first use in this function)
arpd.c:716: error: request for member `put' in something not a structure or
union
arpd.c:721: error: request for member `sync' in something not a structure or
union
arpd.c:727: error: parse error before "dbkey"
arpd.c:729: error: request for member `seq' in something not a structure or
union
arpd.c:729: error: `R_NEXT' undeclared (first use in this function)
arpd.c:821: error: request for member `sync' in something not a structure or
union
arpd.c:840: error: request for member `close' in something not a structure
or union
arpd.c:844: error: request for member `close' in something not a structure
or union
make[1]: *** [arpd] Error 1
make[1]: Leaving directory
`/home/iproute2/new/Source/Orig/iproute2-050124/misc'
make: *** [all] Error 2

My kernel 2.6.10 on Slackware 10 (current)

Any ideas?

Regards

Remus



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] iproute2 compilation problem
  2005-02-02 12:25 [LARTC] iproute2 compilation problem Remus
@ 2005-02-02 14:58 ` gypsy
  2005-02-02 15:11 ` Remus
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: gypsy @ 2005-02-02 14:58 UTC (permalink / raw)
  To: lartc

Remus wrote:
> 
> Hi folks,
> 
> I just tried to compile the latest (current) iproute2 and got these errors:
> 
> arpd.c:19:20: db_185.h: No such file or directory
=SNIP=
> make[1]: *** [arpd] Error 1
> make[1]: Leaving directory
> `/home/iproute2/new/Source/Orig/iproute2-050124/misc'
> make: *** [all] Error 2
> 
> My kernel 2.6.10 on Slackware 10 (current)
> 
> Any ideas?
> 
> Regards
> 
> Remus

Install from slackware/l the db3-3.11-i486-4 db31-3-1-17-i486-1 and
db4-4.2.52-i486-2 libraries.

gypsy
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] iproute2 compilation problem
  2005-02-02 12:25 [LARTC] iproute2 compilation problem Remus
  2005-02-02 14:58 ` gypsy
@ 2005-02-02 15:11 ` Remus
  2005-02-02 15:34 ` go0ogl3
  2005-02-02 15:57 ` Remus
  3 siblings, 0 replies; 5+ messages in thread
From: Remus @ 2005-02-02 15:11 UTC (permalink / raw)
  To: lartc

Gypsy,

I was missing only db31-3-1-17-i486-1, but after it install I still
get the same errors.

Regards

Remus


> Remus wrote:
>>
>> Hi folks,
>>
>> I just tried to compile the latest (current) iproute2 and got these 
>> errors:
>>
>> arpd.c:19:20: db_185.h: No such file or directory
> =SNIP=
>> make[1]: *** [arpd] Error 1
>> make[1]: Leaving directory
>> `/home/iproute2/new/Source/Orig/iproute2-050124/misc'
>> make: *** [all] Error 2
>>
>> My kernel 2.6.10 on Slackware 10 (current)
>>
>> Any ideas?
>>
>> Regards
>>
>> Remus
>
> Install from slackware/l the db3-3.11-i486-4 db31-3-1-17-i486-1 and
> db4-4.2.52-i486-2 libraries.
>
> gypsy
>
> 


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] iproute2 compilation problem
  2005-02-02 12:25 [LARTC] iproute2 compilation problem Remus
  2005-02-02 14:58 ` gypsy
  2005-02-02 15:11 ` Remus
@ 2005-02-02 15:34 ` go0ogl3
  2005-02-02 15:57 ` Remus
  3 siblings, 0 replies; 5+ messages in thread
From: go0ogl3 @ 2005-02-02 15:34 UTC (permalink / raw)
  To: lartc

On Wed, 2 Feb 2005 15:11:34 -0000, Remus <rmocius@auste.elnet.lt> wrote:
> Gypsy,
> 
> I was missing only db31-3-1-17-i486-1, but after it install I still
> get the same errors.
> 
> Regards
> 
> Remus
> 
> 
> > Remus wrote:
> >>
> >> Hi folks,
> >>
> >> I just tried to compile the latest (current) iproute2 and got these
> >> errors:
> >>
> >> arpd.c:19:20: db_185.h: No such file or directory
> > =SNIP=
> >> make[1]: *** [arpd] Error 1
> >> make[1]: Leaving directory
> >> `/home/iproute2/new/Source/Orig/iproute2-050124/misc'
> >> make: *** [all] Error 2
> >>
> >> My kernel 2.6.10 on Slackware 10 (current)
> >>
> >> Any ideas?
> >>
> >> Regards
> >>
> >> Remus
> >
> > Install from slackware/l the db3-3.11-i486-4 db31-3-1-17-i486-1 and
> > db4-4.2.52-i486-2 libraries.
> >
> > gypsy
> >
> >
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 

Just edit your Makefile where you find a line like this:

--- cut here ---
# Path to db_185.h include
DBM_INCLUDE:=/usr/include
--- and here ---

with:

#Path to db_185.h include
DBM_INCLUDE:=/usr/include/db4/db_185.h

Compile and you'll be fine :)
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] iproute2 compilation problem
  2005-02-02 12:25 [LARTC] iproute2 compilation problem Remus
                   ` (2 preceding siblings ...)
  2005-02-02 15:34 ` go0ogl3
@ 2005-02-02 15:57 ` Remus
  3 siblings, 0 replies; 5+ messages in thread
From: Remus @ 2005-02-02 15:57 UTC (permalink / raw)
  To: lartc

That have worked for me.

Thanks

Remus

> Just edit your Makefile where you find a line like this:
> 
> --- cut here ---
> # Path to db_185.h include
> DBM_INCLUDE:=/usr/include
> --- and here ---
> 
> with:
> 
> #Path to db_185.h include
> DBM_INCLUDE:=/usr/include/db4/db_185.h
> 
> Compile and you'll be fine :)
 


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-02-02 15:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-02 12:25 [LARTC] iproute2 compilation problem Remus
2005-02-02 14:58 ` gypsy
2005-02-02 15:11 ` Remus
2005-02-02 15:34 ` go0ogl3
2005-02-02 15:57 ` Remus

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.