hello,

I hav compiled and installed  mysql++ without "automake" or "autoconf" just by 
typing

./configure
make
make install

(Typing "auto..." bevore compiling makes everithing worse and "make" does not 
work - I don't know if that is the reason for following issues...)

I want to build a program with KDevelop connecting to a mysql-server. Wehen I 
now "#include <sqlplus.hh>" ond try to build, I get several messages that 
"mysql.h", included in some other headers is not found. I 'solved' this 
problem by changing alle the headers's lines from "#include <mysql.h>" to 
"#include <mysql/mysql.h>".
Now all Files seem to be found but I get many other serious errormessages *g*

-------------------- gmake-START ----------------

gmake all-recursive 
gmake[1]: Entering directory `/home/holger/devel/log_nw_status' 
Making all in log_nw_status 
gmake[2]: Entering directory `/home/holger/devel/log_nw_status/log_nw_status' 
Making all in docs 
gmake[3]: Entering directory 
`/home/holger/devel/log_nw_status/log_nw_status/docs' 
Making all in en 
gmake[4]: Entering directory 
`/home/holger/devel/log_nw_status/log_nw_status/docs/en' 
gmake[4]: Nothing to be done for `all'. 
gmake[4]: Leaving directory 
`/home/holger/devel/log_nw_status/log_nw_status/docs/en' 
gmake[4]: Entering directory 
`/home/holger/devel/log_nw_status/log_nw_status/docs' 
gmake[4]: Nothing to be done for `all-am'. 
gmake[4]: Leaving directory 
`/home/holger/devel/log_nw_status/log_nw_status/docs' 
gmake[3]: Leaving directory 
`/home/holger/devel/log_nw_status/log_nw_status/docs' 
gmake[3]: Entering directory `/home/holger/devel/log_nw_status/log_nw_status' 
source='main.cpp' object='main.o' libtool=no \ 
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ 
depmode=gcc /bin/sh ../admin/depcomp \ 
g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -O0 -g3 -Wall -fno-exceptions 
-fno-check-new -c -o main.o `test -f main.cpp || echo './'`main.cpp 
In file included from /usr/local/include/coldata1.hh:9, 
from /usr/local/include/sqlplus.hh:12, 
from main.cpp:26: 
/usr/local/include/const_string1.hh: In method `const char & 
const_string::at(unsigned int) const': 
/usr/local/include/const_string1.hh:50: exception handling disabled, use 
-fexceptions to enable 
/usr/local/include/const_string1.hh:52: warning: control reaches end of 
non-void function `const_string::at(unsigned int) const' 
In file included from /usr/local/include/sqlplus.hh:50, 
from main.cpp:26: 
/usr/local/include/sql_query2.hh: In method `class SQLString & 
SQLQueryParms::operator [](const char *)': 
/usr/local/include/sql_query2.hh:9: warning: control reaches end of non-void 
function `SQLQueryParms::operator [](const char *)' 
/usr/local/include/sql_query2.hh: In method `const class SQLString & 
SQLQueryParms::operator [](const char *) const': 
/usr/local/include/sql_query2.hh:13: warning: control reaches end of non-void 
function `SQLQueryParms::operator [](const char *) const' 
gmake[3]: *** [main.o] Error 1 
gmake[3]: Leaving directory `/home/holger/devel/log_nw_status/log_nw_status' 
gmake[2]: Leaving directory `/home/holger/devel/log_nw_status/log_nw_status' 
gmake[1]: Leaving directory `/home/holger/devel/log_nw_status' 
gmake[2]: *** [all-recursive] Error 1 
gmake[1]: *** [all-recursive] Error 1 
gmake: *** [all] Error 2 
*** failed *** 

-------------------- gmake-END ----------------

----------------------compiler-info--------------
linux:/ # gmake -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <[EMAIL PROTECTED]>.

linux:/ # gcc -dumpversion
2.95.3
linux:/ # g++ -dumpversion
2.95.3
linux:/ # cpp -dumpversion
2.95.3

----------------------compiler-info-END--------------

I Would be happy if someone could help ;-(

cu,

H.S.



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to