[prev in list] [next in list] [prev in thread] [next in thread]
List: postfix-users
Subject: Re: Compile errors
From: Lutz Jaenicke <Lutz.Jaenicke () aet ! TU-Cottbus ! DE>
Date: 2000-06-06 13:50:30
[Download RAW message or body]
On Tue, Jun 06, 2000 at 02:44:13PM +0100, Chris Horry wrote:
> I'm a little embarrased cause I know it's me missing the bleeding
> obvious! pl08 won't compile on my happy little computer. Now, I'm
> running pl06 so I know that compiled OK but I'm getting the same error for
> both. Conclusion: I'm doing something wrong.
>
> Here's the error after typing "make":
>
> gcc -Wmissing-prototypes -g -O -I. -DLINUX2 -c dict_db.c
> dict_db.c: In function `dict_db_lookup':
> dict_db.c:110: warning: passing arg 2 from incompatible pointer type
> dict_db.c:110: too few arguments to function
> dict_db.c:125: warning: passing arg 2 from incompatible pointer type
> dict_db.c:125: too few arguments to function
> dict_db.c: In function `dict_db_update':
> dict_db.c:193: `R_NOOVERWRITE' undeclared (first use in this function)
> dict_db.c:193: (Each undeclared identifier is reported only once
> dict_db.c:193: for each function it appears in.)
> dict_db.c:193: warning: passing arg 2 from incompatible pointer type
> dict_db.c:193: too few arguments to function
> dict_db.c: In function `dict_db_delete':
[... more errors...]
There are several versions of berkeley DB around, with incompatible
programming interface. Postfix uses the db-1.85 style interface. If your
version is 2.x or 3.x, you must use
-DHAS_DB -DPATH_DB_H='<db_185.h>'
to make sure the correct header is used.
Best regards,
Lutz
--
Lutz Jaenicke Lutz.Jaenicke@aet.TU-Cottbus.DE
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic