List:MySQL++« Previous MessageNext Message »
From:Rubén Meré Date:September 3 2004 8:05pm
Subject:Re: the patch file problems
View as plain text  
Hi!!! first i would like to thank to Warren Young and others for your
help.

Warren Young wrote:

> Are you just saying 'make' in the examples directory?

i try:

[root@localhost examples]# make custom1

and the results are: 

source='custom1.cc' object='custom1.o' libtool=no \
depfile='.deps/custom1.Po' tmpdepfile='.deps/custom1.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../sqlplusint -I../sqlplusint 
-I/usr/include/mysql  -g -O2 -c -o custom1.o `test -f 'custom1.cc' ||
echo './'`custom1.cc
En el fichero incluído de /usr/include/c++/3.3.3/backward/strstream:51,
                 de ../sqlplusint/datetime1.hh:5,
                 de ../sqlplusint/manip1.hh:4,
                 de ../sqlplusint/vallist1.hh:6,
                 de ../sqlplusint/row1.hh:11,
                 de ../sqlplusint/compare1.hh:6,
                 de ../sqlplusint/mysql++.hh:7,
                 de custom1.cc:4:
/usr/include/c++/3.3.3/backward/backward_warning.h:32:2: aviso: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
custom1.cc:17:31: la macro "sql_create_5" recibió 14 argumentos, pero
solamente tomó 13
custom1.cc:28: error: error sintáctico before `int'
custom1.cc:31: error: `argc' was not declared in this scope
custom1.cc:31: error: `argv' was not declared in this scope
custom1.cc:31: error: `con' was not declared in this scope
custom1.cc:31: error: ISO C++ prohíbe la declaración de
`connect_sample_db'
   sin tipo
custom1.cc:31: error: `int connect_sample_db' redeclared as different
kind of
   symbol
util.hh:8: error: previous declaration of `void connect_sample_db(int,
char**,
   MysqlConnection&, const char*)'
custom1.cc:31: error: se trata la lista de inicializadores como una
expresión
   compuesta
custom1.cc:33: error: `con' was not declared in this scope
custom1.cc:34: error: error sintáctico before `<<' token
custom1.cc:36: error: `stock' was not declared in this scope
custom1.cc:36: error: template argument 1 is invalid
custom1.cc:36: error: template argument 2 is invalid
custom1.cc:36: error: ISO C++ prohíbe la declaración de `res' sin tipo
custom1.cc:37: error: error sintáctico before `.' token
custom1.cc:41: error: error sintáctico before `.' token
custom1.cc:42: error: error sintáctico before `<<' token
custom1.cc:56: error: error sintáctico before `.' token
custom1.cc:57: error: `stock' was not declared in this scope
custom1.cc:57: error: template argument 1 is invalid
custom1.cc:57: error: template argument 2 is invalid
custom1.cc:57: error: error sintáctico before `;' token
custom1.cc:58: error: error sintáctico before `!=' token
custom1.cc:58: error: error sintáctico before `++' token
make: *** [custom1.o] Error 1


i reinstall all mysql's rpm and i don't get the results that i want. i
only want that one code source can be compiled. 

Thanks you at all.



El mié, 01-09-2004 a las 23:44, Warren Young escribió:
> Rubén Meré wrote:
> > I try compile a example from the example directory from tar.gz.
> 
> Are you just saying 'make' in the examples directory?  If, instead, 
> you're trying to compile one of these programs separately, let make 
> build it and see what options it uses.
> 
> > /usr/include/mysql++/mysql.h:57:23: mysql_com.h: No existe el fichero o el
> directorio
> 
> Why is mysql.h in your mysql++ include directory?  It sounds like you 
> haven't installed the MySQL development libraries correctly.



Thread
the patch file problemsRubén Meré19 Aug
  • Re: the patch file problemscelliott19 Aug
  • Re: the patch file problemsWarren Young19 Aug
  • Re: the patch file problemsRubén Meré25 Aug
    • Re: the patch file problemsWarren Young25 Aug
  • Re: the patch file problemsRubén Meré30 Aug
    • Re: the patch file problemsWarren Young31 Aug
RE: the patch file problemsYigong Liu30 Aug
  • Re: the patch file problemsWarren Young31 Aug
RE: the patch file problemsRubén Meré1 Sep
  • Re: the patch file problemsWarren Young2 Sep
Re: the patch file problemsRubén Meré3 Sep
  • Re: the patch file problemsWarren Young7 Sep
Re: the patch file problemsWarren Young7 Sep
  • Re: the patch file problemsEarl Miles7 Sep
    • Re: the patch file problemsWarren Young7 Sep
      • Re: the patch file problemsEarl Miles8 Sep