Bug 4831

Summary: gdbm test programs don't link
Product: [Retired] Red Hat Linux Reporter: David Lawrence <dkl>
Component: gdbmAssignee: Cristian Gafton <gafton>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-10-06 17:05:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.