[PATCH 3/3] xfsqa: build dbtest on debian platforms

Dave Chinner david at fromorbit.com
Thu Apr 29 20:26:30 CDT 2010


On Thu, Apr 29, 2010 at 06:46:11AM -0400, Christoph Hellwig wrote:
> Spoken too soon.  While this second patch at least compiles on my Debian
> testing  system it doesn't link:
> 
> /tmp/ccWcHXtY.o: In function `CleanupDbmLookup': /root/xfstests-dev/src/dbtest.c:304: undefined reference to `dbm_close'
> /tmp/ccWcHXtY.o: In function `DoDbmLookup':
> /root/xfstests-dev/src/dbtest.c:220: undefined reference to `dbm_fetch'
> /root/xfstests-dev/src/dbtest.c:264: undefined reference to `dbm_fetch' /tmp/ccWcHXtY.o: In function `InitDbmLookup':
> /root/xfstests-dev/src/dbtest.c:144: undefined reference to `dbm_open'
> /root/xfstests-dev/src/dbtest.c:178: undefined reference to `dbm_store'
> /root/xfstests-dev/src/dbtest.c:191: undefined reference to `dbm_close'
> /root/xfstests-dev/src/dbtest.c:196: undefined reference to `dbm_open'
> collect2: ld returned 1 exit status
> make[2]: *** [dbtest] Error 1
> make[1]: *** [src] Error 2
> make: *** [default] Error 2

Where is libgdbm-compat on your system?

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list