Re: MySQL v3.23 and C API

2003-11-27 Thread Jean-Baptiste Quenot
* Steve Blair: > The errors I get are as follows. I get these if using cc or gcc to > compile the program. > > host# cc -o locserv locserv.c > /tmp/ccJdDxg3.o: In function `main': > /tmp/ccJdDxg3.o(.text+0x6ca): undefined reference to `mysql_init' > /tmp/ccJdDxg3.o(.text+0x7bc): undefined ref

MySQL v3.23 and C API

2003-11-27 Thread Steve Blair
Hello: I'm working on a server running FreeBSD 4.7-RELEASE. I've developed a C server program that works fine. I want to add code to read from and update fields in a MySQL database to the original program. When I do I get compilation errors that I cannot seem to resolve. I have a number of pack