Re: np-distd.C and MysqlTable.C
Michael Baer <[email protected]> Tue, 29 Jul 2003 09:29:50 -0700
| Newsgroups | gmane.network.net-policy.user |
|---|---|
| Organization | OpenSNMP/Net-SNMP |
| Message-ID | <[email protected]> |
>>>>> "Ramon" == Ramon Tarruella <[email protected]> writes: Ramon> Michael, when I received this error message the make file Ramon> doesn't generate well, I will add you here the whole Ramon> message error, it's in spanish considering my red hat linux Ramon> 9 is installed in spanish, anyway it says something like Ramon> "the literals of chain in multiple lines are deprecated" Ramon> after that I run make install anyway and I received an Ramon> error message that have something to ado with the problem Ramon> in the previous make process, it says something like, Ramon> /usr/bin/install: "stat" cannot be execute over np-distd': Ramon> file or catalog not found, here's output anyway, please let Ramon> me know how can I fix this: The CVS version should have most of the fixes now. It is not tested well, but the changes are minor and should not cause problems. The Ramon> /usr/include/c++/3.2.2/backward/backward_warning.h:32:2: Ramon> aviso: #warning This file includes at least one deprecated Ramon> or antiquated header. Please consider using one of the 32 Ramon> headers found in section 17.4.1.2 of the C++ standard. Ramon> Examples include substituting the <X> header for the <X.h> Ramon> header for C++ includes, or <sstream> instead of the Ramon> deprecated header <strstream.h>. To disable this warning Ramon> use -Wno-deprecated. warnings are in mysql++, so you will still get them, but you can ignore them. The Ramon> np-distd.C:127:16: aviso: lasliterales de cadena en Ramon> multiples lineas estan deprecadas avisos should be gone. And the errors in MysqlTable.[C,H] (gcc 2->3 changes) are fixed and it should compile. Ramon> MysqlTable.C:10: MysqlTable.H:13: se usa 'string' como un Ramon> tipo, pero no esta definido como un Ramon> tipo. Ramon> MysqlTable.H:14: se usa 'string' como un tipo, pero no esta Ramon> definido como un Ramon> tipo. Ramon> MysqlTable.H:15: se usa 'string' como un tipo, pero no esta Ramon> definido como un Ramon> tipo. Ramon> MysqlTable.H:17: ISO C++ prohibe la declaracion de `string' Ramon> sin tipo MysqlTable.H:17: `string' fue declarado como un Ramon> field `virtual' MysqlTable.H:17: error de decodificacion Ramon> antes del elemento `::' MysqlTable.H:20: error de Ramon> decodificacion antes de `name' MysqlTable.H:25: ISO C++ Ramon> prohibe la declaracion de `string' sin tipo Ramon> MysqlTable.H:25: `string' fue declarado como un field Ramon> `virtual' MysqlTable.H:25: la declaracion de `int Ramon> MysqlTable::string' MysqlTable.H:17: causa conflictos con Ramon> la declaracion previa `int Ramon> MysqlTable::string' Ramon> MysqlTable.H:25: error de decodificacion antes del elemento Ramon> `(' MysqlTable.H:25: miembro duplicado `MysqlTable::string' Ramon> MysqlTable.H:28: error sintactico antes del elemento `(' Ramon> MysqlTable.H:29: error sintactico antes del elemento `(' Ramon> MysqlTable.H:30: error sintactico antes del elemento `(' Ramon> MysqlTable.H:32: declaracion de virtual fuera de class Ramon> MysqlTable.H:34: declaracion de virtual fuera de class Ramon> MysqlTable.H:36: error de decodificacion antes del elemento Ramon> `}' MysqlTable.C:16: error de decodificacion antes de Ramon> `name' MysqlTable.C:29: error sintactico antes del elemento Ramon> `::' MysqlTable.C:33: ISO C++ prohibe la declaracion de Ramon> `sbeg' sin tipo MysqlTable.C:33: tipos en conflicto para Ramon> `int sbeg' MysqlTable.C:31: declaracion previa como Ramon> `unsigned int sbeg' MysqlTable.C:33: `tDef' no fue Ramon> declarado en este ambito MysqlTable.C:34: error de Ramon> decodificacion antes de `if' MysqlTable.C:39: error Ramon> sintactico antes del elemento `.' MysqlTable.C:43: ISO C++ Ramon> prohibe la declaracion de `send' sin tipo MysqlTable.C:43: Ramon> tipos en conflicto para `int send' MysqlTable.C:31: Ramon> declaracion previa como `unsigned int send' Ramon> MysqlTable.C:43: `tDef' no fue declarado en este ambito Ramon> MysqlTable.C:44: error sintactico antes del elemento `.' Ramon> MysqlTable.C:47: error sintactico antes del elemento `.' Ramon> MysqlTable.C:56: no hay una funcion miembro `bool Ramon> MysqlTable::reset(MysqlQuery)' declarada en la clase Ramon> `MysqlTable' Ramon> MysqlTable.C: En member function `bool Ramon> MysqlTable::reset(MysqlQuery)': MysqlTable.C:59: `class Ramon> MysqlTable' no tiene un miembro llamado `dbName' Ramon> MysqlTable.C:70: `class MysqlTable' no tiene un miembro Ramon> llamado `dbName' MysqlTable.C:74: `class MysqlTable' no Ramon> tiene un miembro llamado `dbName' MysqlTable.C:74: `class Ramon> MysqlTable' no tiene un miembro llamado ` Ramon> tableDefinition' Ramon> MysqlTable.C:85: `class MysqlTable' no tiene un miembro Ramon> llamado `dbName' make[1]: *** [np-distd] Error 1 make[1]: Ramon> Saliendo directorio `/usr/local/net-policy/np-distd' make: Ramon> *** [all] Error 2 -- [email protected] OpenSNMP/NetSNMP ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01