DBlibrary problem

Andrea 'Fyre Wyzard' Bocci fwyzard@inwind.it
Fri Nov 30 17:16:00 GMT 2001


At 17.18 30/11/01 (GMT +0000), kabir.patel@uk.andersen.com wrote:

>I have (somehow) successfully installed gcc, and it works!!
>
>I have also installed SYBASE Open Client 12.5.
>
>Whenever, I try running gcc test.c -o test.out, where test makes use of the
>dblibrary,
>I get errors like "cannot find sybfront.h", even though sybfront.h exists 
>in the
>include folder
>that it should exist in.
>
>Any ideas why?

Maybe that dir is not in the include searc path.
You can add it calling gcc like

gcc test.c -o test.o -I"directory where the .h file is"

If the header file is #included with something like
#include "subdir/sybfront.h"
you should use
gcc test.c -o test.o -I"directory where subdir is"

HTH
fwyzard




More information about the Gcc-help mailing list