p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Linux Programming, 4th Edition ISBN 978-0-470-14762-7 (http://p2p.wrox.com/forumdisplay.php?f=375)
-   -   problem in coding with ndbm library (http://p2p.wrox.com/showthread.php?t=69339)

shayanppp July 12th, 2008 02:37 AM

problem in coding with ndbm library
 
hi all
has any one managed to run the codes of the book which include the library ndbm in Debian?
I have compiled it in ubuntu but in Debian 4.0 there is no package named ndbm-dev and of course after compiling I get an error message
ndbm-gdbm.h : no such file or directory




grunthus August 8th, 2008 11:32 AM

Try compiling with -lgdbm_compat -lgdbm
That is what I had to do on gentoo system



All times are GMT -4. The time now is 03:33 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.