Hi!

> It always stuck with :
> undefined reference to_sqlite_open
> undefined reference to_sqlite_exec
> undefined reference to_sqlite_close
Those errors don't come from the compiler but from the linker.
Probably you are compiling a simple test program that opens
a database, does a query and closes the database.
The error messages above tell you that the three functions are
not defined in your test program.
And that is probably true since they are defined in the sqlite
library.
So you need to link your program with sqlite to use it...

I don't have the lcc at hand nor do I know it. But it surely
has an option to add a library on the command line.
(maybe a call like
lcc -o mytest mytest.c sqlite.lib
is enough if mytest.c is the source of your test program and
sqlite.lib is in an appropriate directory?!?)

  - Danny

--
Danny Reinhold 
Reinhold Software & Services



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to