DB3 problem
Dan Nelson
dnelson at allantgroup.com
Mon Apr 7 15:14:03 PDT 2003
In the last episode (Apr 07), Stephan M?ck said:
> I have just installed DB3 and I want to compile an example programm from the
> examples_c directory. The compilation stops with errors.
>
> gcc -o dbtest ex_access.c
>
> /var/tmp//ccdld6iZ.o: In function `ex_access':
> /var/tmp//ccdld6iZ.o(.text+0x5b): undefined reference to `db_create'
> /var/tmp//ccdld6iZ.o(.text+0x72): undefined reference to `db_strerror'
> /var/tmp//ccdld6iZ.o(.text+0x444): undefined reference to `db_strerror'
Add -L/usr/local/lib -ldb3 to your link line.
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-current
mailing list