I got the errors below while trying to build the current htdig-3-2-x
source tree. It seems the new htdb utilities require functions in the
db/clib directory, which aren't being built. I think they're all in
err.c. Is this expected to be a standard part of every C library?
It's not in libc5 on my Red Hat 4.2 Linux system.
Making all in htdb
make[1]: Entering directory `/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb'
c++ -DHAVE_CONFIG_H -I. -I. -I../include
-DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../include -I../htlib
-I../htnet -I../htcommon -I../htword
-I../db/dist -I../db/dist -I../db/include -I../db/include
-I/usr/include -g -O2 -Wall -c htload.cc
c++ -DHAVE_CONFIG_H -I. -I. -I../include
-DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../include -I../htlib
-I../htnet -I../htcommon -I../htword
-I../db/dist -I../db/dist -I../db/include -I../db/include
-I/usr/include -g -O2 -Wall -c getlong.cc
/bin/sh ../libtool --mode=link c++ -g -O2 -Wall -L/usr/lib -o htload htload.o
getlong.o ../htnet/libhtnet.la ../htcommon/libcommon.la
../htword/libhtword.la ../htlib/libht.la
../htcommon/libcommon.la ../htword/libhtword.la
../db/dist/libdb.a -lz
mkdir .libs
c++ -g -O2 -Wall -L/usr/lib -o .libs/htload htload.o getlong.o
../htnet/.libs/libhtnet.so -lz ../htcommon/.libs/libcommon.so -lz
../htword/.libs/libhtword.so -lz ../htlib/.libs/libht.so -lz
../htcommon/.libs/libcommon.so -lz ../htword/.libs/libhtword.so -lz ../db/dist/libdb.a
-lz
htload.o: In function `main':
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:75: undefined reference to
`err'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:89: undefined reference to
`err'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:153: undefined reference to
`errx'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:159: undefined reference to
`errx'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:172: undefined reference to
`err'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:177: undefined reference to
`err'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:187: undefined reference to
`warn'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:211: undefined reference to
`warnx'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:223: undefined reference to
`warnx'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:228: undefined reference to
`warn'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:238: undefined reference to
`warn'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:243: undefined reference to
`warn'
htload.o: In function `db_init(char *, int, int)':
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:267: undefined reference to
`err'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:292: undefined reference to
`err'
htload.o: In function `configure(__db_info *, char **)':
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:341: undefined reference to
`errx'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:356: undefined reference to
`errx'
htload.o: In function `rheader(DBTYPE *, int *, __db_info *)':
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:376: undefined reference to
`errx'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:391: undefined reference to
`errx'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:406: undefined reference to
`errx'
htload.o:/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:420: more undefined
references to `errx' follow
htload.o: In function `dbt_rprint(__db_dbt *)':
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:440: undefined reference to
`err'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:446: undefined reference to
`err'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:460: undefined reference to
`err'
htload.o: In function `dbt_rdump(__db_dbt *)':
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:486: undefined reference to
`err'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:489: undefined reference to
`err'
htload.o:/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/htload.cc:495: more undefined
references to `err' follow
getlong.o: In function `get_long':
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/getlong.cc:42: undefined reference to
`errx'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/getlong.cc:44: undefined reference to
`errx'
/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb/getlong.cc:46: undefined reference to
`errx'
make[1]: *** [htload] Error 1
make[1]: Leaving directory `/home/.storage/rpms/BUILD/htdig-3.2.0dev/htdb'
make: *** [all-recursive] Error 1
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.