Re: compilation errors in c++ wrapper

2005-01-13 Thread Andy Ford
Whoops - every c/c++ program must have a main function. That's what the cryptic message was... Andy On Wed, 2005-01-12 at 17:35 +, Andy Ford wrote: > Hi everyone. > I have been putting together a c++ wrapper for the mysql c libraries and > have stumbled across the following error... > > >g++

compilation errors in c++ wrapper

2005-01-12 Thread Andy Ford
Hi everyone. I have been putting together a c++ wrapper for the mysql c libraries and have stumbled across the following error... >g++ -L/usr/local/mysql/lib -I/usr/local/mysql/include -o connection connection.cpp -lmysqlclient -lnsl -lsocket -lz -lm Undefined first referenc