Date: Sun, 21 Apr 1996 23:19:30 -0700 (PDT) From: Michael Dillon <michael@memra.com> To: freebsd-ports@freebsd.org Subject: Berkeley DB 1.8.5 Message-ID: <Pine.BSI.3.93.960421231140.10172H-100000@sidhe.memra.com>
next in thread | raw e-mail | index | archive | help
Has anyone ported this to 2.1R? I unpack the source code from ftp.cs.berkeley.edu, go into the PORT/bsd.4.4 and type "make". It dies quickly with a bunch of errors like... cc -c -D__DBINTERFACE_PRIVATE -O -I. -Iinclude -I../../hash ../../hash/hash.c In file included from ../../hash/hash.c:48: /usr/include/stdlib.h:80: parse error before `__dead2' /usr/include/stdlib.h:80: warning: data definition has no type or storage class /usr/include/stdlib.h:82: parse error before `__pure2' /usr/include/stdlib.h:82: warning: data definition has no type or storage class /usr/include/stdlib.h:91: parse error before `__pure2' /usr/include/stdlib.h:91: warning: data definition has no type or storage class /usr/include/stdlib.h:93: parse error before `__dead2' /usr/include/stdlib.h:93: warning: data definition has no type or storage class /usr/include/stdlib.h:97: parse error before `__pure2' /usr/include/stdlib.h:97: warning: data definition has no type or storage class /usr/include/stdlib.h:99: parse error before `__pure2' /usr/include/stdlib.h:99: warning: data definition has no type or storage class In file included from ../../hash/hash.c:50: /usr/include/unistd.h:53: parse error before `__dead2' /usr/include/unistd.h:53: warning: data definition has no type or storage class *** Error code 1 I can't figure out what is happening. I realize that this is integrated into the libc for -current but I don't want to upgrade my whole system just to get this one library. If it needs some different treatment than BSD 4.4, why doesn't somebody send them patches so they can add a freebsd option in their PORT directory? Actually, the linux PORT seems to compile better. I get the following errors but I think I can deal with them.... cc -c -D__DBINTERFACE_PRIVATE -O -I. -Iinclude -I../../hash ../../hash/hash.c In file included from ../../hash/hash.c:55: include/db.h:54: redefinition of `int8_t' /usr/include/machine/types.h:57: `int8_t' previously declared here include/db.h:55: redefinition of `u_int8_t' /usr/include/machine/types.h:58: `u_int8_t' previously declared here include/db.h:56: redefinition of `int16_t' /usr/include/machine/types.h:59: `int16_t' previously declared here include/db.h:57: redefinition of `u_int16_t' /usr/include/machine/types.h:60: `u_int16_t' previously declared here include/db.h:58: redefinition of `int32_t' /usr/include/machine/types.h:61: `int32_t' previously declared here include/db.h:59: redefinition of `u_int32_t' /usr/include/machine/types.h:62: `u_int32_t' previously declared here *** Error code 1 I'm not on the list so you'll need to Cc: me if you want to ask anything. Michael Dillon Voice: +1-604-546-8022 Memra Software Inc. Fax: +1-604-546-3049 http://www.memra.com E-mail: michael@memra.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.93.960421231140.10172H-100000>