[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling cdb 0.75 on gentoo linux
'make' fails with the following error:
-------------------------------------------------------
./compile uint32_pack.c
./compile scan_ulong.c
./makelib byte.a byte_copy.o byte_cr.o str_len.o \
fmt_ulong.o uint32_unpack.o byte_diff.o uint32_pack.o \
scan_ulong.o
./load cdbget cdb.a buffer.a unix.a byte.a
cdb.a(cdb.o)(.text+0x10e): In function `cdb_read':
: undefined reference to `errno'
cdb.a(cdb.o)(.text+0x18b): In function `cdb_read':
: undefined reference to `errno'
buffer.a(strerr_sys.o)(.text+0x9): In function `strerr_sysinit':
: undefined reference to `errno'
buffer.a(buffer_put.o)(.text+0x47): In function `allwrite':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [cdbget] Error 1
-------------------------------------------------------
The libraries compile fine; upon linking the binaries, the above
"undefined reference to `errno'" errors appear.
Researching.
ari