17 messages in com.mysql.lists.plusplusRe: the patch file problems| From | Sent On | Attachments |
|---|---|---|
| Rubén Meré | 19 Aug 2004 09:43 | |
| cell...@littletonps.org | 19 Aug 2004 10:02 | |
| Warren Young | 19 Aug 2004 13:24 | |
| Rubén Meré | 24 Aug 2004 04:48 | |
| Warren Young | 25 Aug 2004 11:30 | |
| Rubén Meré | 26 Aug 2004 04:00 | |
| Liu, Yigong | 30 Aug 2004 08:32 | |
| Warren Young | 30 Aug 2004 17:54 | |
| Warren Young | 30 Aug 2004 17:55 | |
| Rubén Meré | 01 Sep 2004 06:24 | |
| Warren Young | 01 Sep 2004 15:44 | |
| Rubén Meré | 03 Sep 2004 13:05 | |
| Warren Young | 07 Sep 2004 05:38 | |
| Warren Young | 07 Sep 2004 07:33 | |
| Earl Miles | 07 Sep 2004 09:47 | |
| Warren Young | 07 Sep 2004 13:24 | |
| Earl Miles | 07 Sep 2004 17:35 |
| Subject: | Re: the patch file problems![]() |
|---|---|
| From: | Rubén Meré (bone...@wanadoo.es) |
| Date: | 09/03/2004 01:05:16 PM |
| List: | com.mysql.lists.plusplus |
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.




