This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Question


I've downloaded and installed cygwin & gdbm-1.8.0.

When tried to compile programs that uses dbm functions such as:

gcc -o /home/jeff/getzip.cgi getzip.c utils.c -lndbm

I got /usr/bin/ld: cannot find -lndbm

gcc -o /home/jeff/getzip.cgi getzip.c utils.c -lgdbm
I got errors on dbm_open, dbm_fetch etc as undefined reference

Please see attached error file.

This is weird.  Some dbm calls got renamed to "_imp__dbm_open" during
compile.

Thanks
-Jeff

error

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]