Hello courier-users,

I'm trying to set up Courier under RH7.2
when I compile I get:

In file included from gdbmobj.h:11,
                 from testgdbm.C:1:
/usr/include/gdbm.h:85: non-local function `{anonymous struct} 
*gdbm_open (char *, int, int, int, void (*) ())' uses anonymous type
/usr/include/gdbm.h:86: non-local function `void gdbm_close ({anonymous 
struct} *)' uses anonymous type
/usr/include/gdbm.h:87: non-local function `int gdbm_store ({anonymous 
struct} *, datum, datum, int)' uses anonymous type
/usr/include/gdbm.h:88: non-local function `datum gdbm_fetch 
({anonymous struct} *, datum)' uses anonymous type
/usr/include/gdbm.h:89: non-local function `int gdbm_delete ({anonymous 
struct} *, datum)' uses anonymous type
/usr/include/gdbm.h:90: non-local function `datum gdbm_firstkey 
({anonymous struct} *)' uses anonymous type
/usr/include/gdbm.h:91: non-local function `datum gdbm_nextkey 
({anonymous struct} *, datum)' uses anonymous type
/usr/include/gdbm.h:92: non-local function `int gdbm_reorganize 
({anonymous struct} *)' uses anonymous type
/usr/include/gdbm.h:93: non-local function `void gdbm_sync ({anonymous 
struct} *)' uses anonymous type
/usr/include/gdbm.h:94: non-local function `int gdbm_exists ({anonymous 
struct} *, datum)' uses anonymous type
/usr/include/gdbm.h:95: non-local function `int gdbm_setopt ({anonymous 
struct} *, int, int *, int)' uses anonymous type
/usr/include/gdbm.h:96: non-local function `int gdbm_fdesc ({anonymous 
struct} *)' uses anonymous type
In file included from /usr/i386-glibc21-linux/include/string.h:346,
                 from testgdbm.C:3:
/usr/i386-glibc21-linux/include/bits/string2.h: In function `char *__strcpy_small 
(char *, short 
unsigned int, short unsigned int, unsigned int, unsigned int, unsigned int)':
/usr/i386-glibc21-linux/include/bits/string2.h:408: cannot convert `void *' to 
`__strcpy_small (char *, 
short unsigned int, short unsigned int, unsigned int, unsigned int, unsigned 
int)::{anonymous union} *' 
in initialization
/usr/i386-glibc21-linux/include/bits/string2.h:419: ISO C++ forbids using pointer of 
type `void *' in 
pointer arithmetic
/usr/i386-glibc21-linux/include/bits/string2.h:419: cannot convert `void *' to 
`__strcpy_small (char *, 
short unsigned int, short unsigned int, unsigned int, unsigned int, unsigned 
int)::{anonymous union} *' 
in assignment
/usr/i386-glibc21-linux/include/bits/string2.h:427: ISO C++ forbids using pointer of 
type `void *' in 
pointer arithmetic
/usr/i386-glibc21-linux/include/bits/string2.h:427: cannot convert `void *' to 
`__strcpy_small (char *, 
short unsigned int, short unsigned int, unsigned int, unsigned int, unsigned 
int)::{anonymous union} *' 
in assignment
/usr/i386-glibc21-linux/include/bits/string2.h:432: ISO C++ forbids using pointer of 
type `void *' in 
pointer arithmetic
/usr/i386-glibc21-linux/include/bits/string2.h:432: cannot convert `void *' to 
`__strcpy_small (char *, 
short unsigned int, short unsigned int, unsigned int, unsigned int, unsigned 
int)::{anonymous union} *' 
in assignment
/usr/i386-glibc21-linux/include/bits/string2.h:437: ISO C++ forbids using pointer of 
type `void *' in 
pointer arithmetic
/usr/i386-glibc21-linux/include/bits/string2.h:437: cannot convert `void *' to 
`__strcpy_small (char *, 
short unsigned int, short unsigned int, unsigned int, unsigned int, unsigned 
int)::{anonymous union} *' 
in assignment
/usr/i386-glibc21-linux/include/bits/string2.h:439: ISO C++ forbids using pointer of 
type `void *' in 
pointer arithmetic
/usr/i386-glibc21-linux/include/bits/string2.h:439: cannot convert `void *' to 
`__strcpy_small (char *, 
short unsigned int, short unsigned int, unsigned int, unsigned int, unsigned 
int)::{anonymous union} *' 
in assignment
/usr/i386-glibc21-linux/include/bits/string2.h:444: ISO C++ forbids using pointer of 
type `void *' in 
pointer arithmetic
/usr/i386-glibc21-linux/include/bits/string2.h:444: cannot convert `void *' to 
`__strcpy_small (char *, 
short unsigned int, short unsigned int, unsigned int, unsigned int, unsigned 
int)::{anonymous union} *' 
in assignment
testgdbm.C: In function `int main (int, char **)':
testgdbm.C:32: `GdbmObj' undeclared (first use this function)
testgdbm.C:32: (Each undeclared identifier is reported only once for 
each function it appears in.)
testgdbm.C:32: parse error before `;'
testgdbm.C:38: `dbw' undeclared (first use this function)
testgdbm.C:106: parse error before `;'
testgdbm.C:121: parse error before `;'
testgdbm.C:145: parse error before `;'
make[1]: *** [testgdbm.o] Error 1
make: *** [all-recursive] Error 1


P.S: I tried with version 1.4.6 and 1.5.0 - results are the same.

Thanks for help in advance.

-- 
Best regards,
 alienoid                          mailto:[EMAIL PROTECTED]



-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to