7 Dec 2005 04:35
0.9.6 compilation error on Darwin
Jeremy Malcolm <Jeremy <at> Malcolm.id.au>
2005-12-07 03:35:57 GMT
2005-12-07 03:35:57 GMT
Has anyone else seen this? if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"refdb\" -DVERSION=\"0.9.6\" -D_GNU_SOURCE=1 -DREADLINE42=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_STRFTIME=1 -DHAVE_MKFIFO=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1 -DHAVE_STRSTR=1 -DHAVE_STRTOLL=1 -DHAVE_ATOLL=1 -I. -I. -DSYSCONFDIR=\"/usr/local/etc/refdb\" -DULLSPEC=\"%llu\" -I/sw/include -MT refdbdref.o -MD -MP -MF ".deps/refdbdref.Tpo" -c -o refdbdref.o refdbdref.c; \ then mv -f ".deps/refdbdref.Tpo" ".deps/refdbdref.Po"; else rm -f ".deps/refdbdref.Tpo"; exit 1; fi refdbdref.c: In function `is_journal': refdbdref.c:2363: error: `DBI_ROW_ERROR' undeclared (first use in this function) refdbdref.c:2363: error: (Each undeclared identifier is reported only once refdbdref.c:2363: error: for each function it appears in.) make[2]: *** [refdbdref.o] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 TIA -- --(Continue reading)
In
fact, the first (unreleased) version of the DTD used the attribute
name "key" but I later dropped it in favour of "citekey", hence the
leftover reference to "key" in noteshandler.c. Your fix seems
absolutely correct to me. I'll apply it and check it in.
regards,
Markus
RSS Feed