[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#39077: libc6-dev: db.h errors when compiling



Package: libc6-dev
Version: 2.0.7.19981211-6

When attempting to compile mars_nws 0.99pl17 (netware 3.x fileserving daemon),
the following errors occured:

--
cc -c -pipe -Wall -DLINUX -DQTAINSYS -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=17 ../nwdbm.c
In file included from /usr/include/ndbm.h:42,
                 from ../nwdbm.c:33:
/usr/include/db.h:121: parse error before `u_int'
/usr/include/db.h:122: parse error before `u_int'
/usr/include/db.h:123: parse error before `u_int'
/usr/include/db.h:124: parse error before `u_int'
/usr/include/db.h:125: parse error before `u_int'
/usr/include/db.h:136: parse error before `u_long'
/usr/include/db.h:136: warning: no semicolon at end of struct or union
/usr/include/db.h:137: warning: data definition has no type or storage class
/usr/include/db.h:140: parse error before `psize'
/usr/include/db.h:140: warning: data definition has no type or storage class
/usr/include/db.h:146: parse error before `}'
/usr/include/db.h:146: warning: data definition has no type or storage class
/usr/include/db.h:153: parse error before `u_int'
/usr/include/db.h:153: warning: no semicolon at end of struct or union
/usr/include/db.h:154: warning: data definition has no type or storage class
/usr/include/db.h:155: parse error before `nelem'
/usr/include/db.h:155: warning: data definition has no type or storage class
/usr/include/db.h:156: parse error before `cachesize'
/usr/include/db.h:156: warning: data definition has no type or storage class
/usr/include/db.h:160: parse error before `}'
/usr/include/db.h:160: warning: data definition has no type or storage class
/usr/include/db.h:167: parse error before `u_long'
/usr/include/db.h:167: warning: no semicolon at end of struct or union
/usr/include/db.h:168: warning: data definition has no type or storage class
/usr/include/db.h:169: parse error before `psize'
/usr/include/db.h:169: warning: data definition has no type or storage class
/usr/include/db.h:172: parse error before `bval'
/usr/include/db.h:172: warning: data definition has no type or storage class
/usr/include/db.h:174: parse error before `}'
/usr/include/db.h:174: warning: data definition has no type or storage class
../nwdbm.c: In function `correct_user_dirs':
../nwdbm.c:2011: warning: implicit declaration of function `lstat'
../nwdbm.c:2032: warning: implicit declaration of function `symlink'
make[2]: *** [nwdbm.o] Error 1
make[2]: Leaving directory `/usr/local/src/mars_nwe/obj'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/mars_nwe/obj'
--
This appears to be a problem with /usr/include/db.h in the glibc 2.0.7 headers.

Program compiles (with warnings) on a potato system with libc6-dev-2.2.1-10.

Any chance of getting this fixed quickly, or should I just upgrade the system in
question to potato?



-- System Information
Debian Release: 2.1
Kernel Version: Linux Phalanx 2.0.36 #1 Sun Jun 6 21:25:19 PDT 1999 i486 unknown

Versions of the packages libc6-dev depends on:
ii  libc6           2.0.7.19981211 GNU C Library: shared libraries


Reply to: