[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with ldconfig when compiling gdbm-1.8.0
From: |
mail |
Subject: |
Problems with ldconfig when compiling gdbm-1.8.0 |
Date: |
Sun, 9 Sep 2001 00:44:12 +0200 (CEST) |
Hello!
Hoping not being too offtopic but I encounter problems when compiling
gdbm-1.8.0. I'm using gcc-2.95.3, glibc-2.2.4, GNU ld version 2.11.2 (with
BFD 2.11.2). When doing
./configure --prefix=/usr
make
make progs
I get following errors where I don't know whether ld, ldconfig or gdbm
produces them:
[...]
gcc -o .libs/testndbm testndbm.o -Wl,--rpath -Wl,/usr/local/lib \
.libs/libgdbm.sotestndbm.o: In function `main':
testndbm.o(.text+0x108): the `gets' function is dangerous and should not \
be used.
creating testndbm
cp ./testndbm.c ./tndbm.c
gcc -c -I. -I. -O ./tndbm.c
rm -f ./tndbm.c
gcc -o tndbm tndbm.o -lc
tndbm.o: In function `main':
tndbm.o(.text+0x108): the `gets' function is dangerous and should not be \
used.
tndbm.o(.text+0x56): undefined reference to `dbm_open'
tndbm.o(.text+0x147): undefined reference to `dbm_fetch'
tndbm.o(.text+0x217): undefined reference to `dbm_store'
tndbm.o(.text+0x293): undefined reference to `dbm_delete'
tndbm.o(.text+0x2d2): undefined reference to `dbm_firstkey'
tndbm.o(.text+0x312): undefined reference to `dbm_fetch'
tndbm.o(.text+0x366): undefined reference to `dbm_nextkey'
tndbm.o(.text+0x3a6): undefined reference to `dbm_fetch'
tndbm.o(.text+0x404): undefined reference to `dbm_firstkey'
tndbm.o(.text+0x42d): undefined reference to `dbm_nextkey'
tndbm.o(.text+0x4d5): undefined reference to `dbm_close'
collect2: ld returned 1 exit status
make: *** [tndbm] Error 1
Can anybody give a hint how to solve this problem or where I can find further
information.
Thank in advance for every answer.. and excuse me for the case of being
offtopic.
Sincerely
Jörg
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problems with ldconfig when compiling gdbm-1.8.0,
mail <=