bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdbm compiler fails


From: Bing Zhu
Subject: gdbm compiler fails
Date: Wed, 26 Feb 2003 14:59:44 -0800


Hi there,
I am trying to compile the gdbm comvert program:
 make progs

I got the following errors, can you tell me what causes
this?

Thanks,
Bing


address@hidden gdbm-1.8.3]# make progs
gcc  -o tndbm tndbm.o -lc
tndbm.o: In function `main':
/home/admin/gdbm-1.8.3/tndbm.c:148: the `gets' function is dangerous and should not be used.
/home/admin/gdbm-1.8.3/tndbm.c:100: undefined reference to `dbm_open'
/home/admin/gdbm-1.8.3/tndbm.c:213: undefined reference to `dbm_close'
/home/admin/gdbm-1.8.3/tndbm.c:157: undefined reference to `dbm_firstkey'
/home/admin/gdbm-1.8.3/tndbm.c:160: undefined reference to `dbm_fetch'
/home/admin/gdbm-1.8.3/tndbm.c:170: undefined reference to `dbm_nextkey'
/home/admin/gdbm-1.8.3/tndbm.c:173: undefined reference to `dbm_fetch'
/home/admin/gdbm-1.8.3/tndbm.c:185: undefined reference to `dbm_firstkey'
/home/admin/gdbm-1.8.3/tndbm.c:189: undefined reference to `dbm_nextkey'
/home/admin/gdbm-1.8.3/tndbm.c:151: undefined reference to `dbm_delete'
/home/admin/gdbm-1.8.3/tndbm.c:126: undefined reference to `dbm_fetch'
/home/admin/gdbm-1.8.3/tndbm.c:141: undefined reference to `dbm_store'
collect2: ld returned 1 exit status
make: *** [tndbm] Error 1





_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus





reply via email to

[Prev in Thread] Current Thread [Next in Thread]