Bug 4831 - gdbm test programs don't link
Summary: gdbm test programs don't link
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gdbm
Version: 6.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Cristian Gafton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-09-01 17:07 UTC by David Lawrence
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-10-06 17:05:53 UTC


Attachments (Terms of Use)

Description Derek Tattersall 1999-09-01 17:07:54 UTC
Linking testdbm with /usr/lib/libndbm.so causes undefined
references to
testdbm.o(.text+0x1c0): undefined reference to `fetch'
testdbm.o(.text+0x2a1): undefined reference to `store'
testdbm.o(.text+0x328): undefined reference to `delete'
testdbm.o(.text+0x35d): undefined reference to `firstkey'
testdbm.o(.text+0x384): undefined reference to `fetch'
testdbm.o(.text+0x3e9): undefined reference to `nextkey'
testdbm.o(.text+0x413): undefined reference to `fetch'
testdbm.o(.text+0x469): undefined reference to `firstkey'
testdbm.o(.text+0x49d): undefined reference to `nextkey'
collect2: ld returned 1 exit status

In fact the referenced entry points are not in the library.

Comment 1 Cristian Gafton 1999-10-06 17:05:59 UTC
ndbm is not gdbm, do not confuse the two.


Note You need to log in before you can comment on or make changes to this bug.