<div dir="ltr">Para simplificar todo te mando el contenido del archivo zeos.ini que yo modifique segun la pagina de lazarus para solucionar errores y me funciono. Copia este contenido, haz una copia de zeos.inc por si a caso, abre zeos.inc con un bloc de notas, borra todo y pega todo lo que aqui te deje desde el conchete con el arroba lo guardas, por si acaso quita el componente zeos de la lista de instalacion de componentes y vuelves a cargar el .lpk y compilas a ver que pasa.<br>
<br>{@********************************************************}<br>{ Copyright (c) 1999-2006 Zeos Development Group }<br>{ }<br>{ License Agreement: }<br>
{ }<br>{ This library is distributed in the hope that it will be }<br>{ useful, but WITHOUT ANY WARRANTY; without even the }<br>{ implied warranty of MERCHANTABILITY or FITNESS FOR }<br>
{ A PARTICULAR PURPOSE. See the GNU Lesser General }<br>{ Public License for more details. }<br>{ }<br>{ The source code of the ZEOS Libraries and packages are }<br>
{ distributed under the Library GNU General Public }<br>{ License (see the file COPYING / COPYING.ZEOS) }<br>{ with the following modification: }<br>{ As a special exception, the copyright holders of this }<br>
{ library give you permission to link this library with }<br>{ independent modules to produce an executable, }<br>{ regardless of the license terms of these independent }<br>{ modules, and to copy and distribute the resulting }<br>
{ executable under terms of your choice, provided that }<br>{ you also meet, for each linked independent module, }<br>{ the terms and conditions of the license of that module. }<br>{ An independent module is a module which is not derived }<br>
{ from or based on this library. If you modify this }<br>{ library, you may extend this exception to your version }<br>{ of the library, but you are not obligated to do so. }<br>{ If you do not wish to do so, delete this exception }<br>
{ statement from your version. }<br>{ }<br>{ }<br>{ The project web site is located on: }<br>
{ <a href="http://zeos.firmos.at">http://zeos.firmos.at</a> (FORUM) }<br>{ <a href="http://zeosbugs.firmos.at">http://zeosbugs.firmos.at</a> (BUGTRACKER) }<br>{ svn://<a href="http://zeos.firmos.at/zeos/trunk">zeos.firmos.at/zeos/trunk</a> (SVN Repository) }<br>
{ }<br>{ <a href="http://www.sourceforge.net/projects/zeoslib">http://www.sourceforge.net/projects/zeoslib</a>. }<br>{ <a href="http://www.zeoslib.sourceforge.net">http://www.zeoslib.sourceforge.net</a> }<br>
{ }<br>{ }<br>{ }<br>{ Zeos Development Group. }<br>
{********************************************************@}<br><br>// Compilation directives for Lazarus<br>{$IFDEF FPC}<br> {$MODE DELPHI}<br> {$INTERFACES COM}<br> {$DEFINE VER130BELOW}<br> {$DEFINE VER140BELOW}<br>
// We assume 2 levels is sufficient.<br> // The higher the third number in a version, the better... (we hope)<br> {$DEFINE FPC2_5UP}<br> {$DEFINE FPC2_4UP}<br> {$DEFINE FPC2_3UP}<br> {$DEFINE FPC2_2UP}<br> {$DEFINE FPC2_1UP}<br>
{$DEFINE FPC2_UP}<br><br> {$IFDEF VER2_5}<br> {$DEFINE FPC2_5UP}<br> {$DEFINE FPC2_4UP}<br> {$DEFINE FPC2_3UP}<br> {$DEFINE FPC2_2UP}<br> {$DEFINE FPC2_1UP}<br> {$ENDIF}<br> {$IFDEF VER2_4}<br> {$DEFINE FPC2_4UP}<br>
{$DEFINE FPC2_3UP}<br> {$DEFINE FPC2_2UP}<br> {$DEFINE FPC2_1UP}<br> {$ENDIF}<br> {$IFDEF VER2_3}<br> {$DEFINE FPC2_3UP}<br> {$DEFINE FPC2_2UP}<br> {$DEFINE FPC2_1UP}<br> {$ENDIF}<br><br> {$IFDEF VER2_2}<br>
{$DEFINE FPC2_2UP}<br> {$DEFINE FPC2_1UP}<br> {$ENDIF}<br><br> {$IFDEF VER2_1}<br> {$DEFINE FPC2_1UP}<br> {$ENDIF}<br><br> {$IFDEF VER2}<br> {$DEFINE FPC2_UP}<br> {$ENDIF}<br>{$ENDIF}<br><br><br>// Compilation directives for Delphi4<br>
{$IFDEF VER120}<br>{$DEFINE VER125BELOW}<br>{$DEFINE VER130BELOW}<br>{$DEFINE VER130KBELOW}<br>{$DEFINE VER140BELOW}<br>{$ENDIF}<br><br>// Compilation directives for Delphi 5<br>{$IFDEF VER130}<br>{$DEFINE VER130BELOW}<br>
{$DEFINE VER140BELOW}<br>{$ENDIF}<br><br>// Compilation directives for Delphi 6<br>{$IFDEF VER140}<br>{$DEFINE VER140BELOW}<br>{$ENDIF}<br><br>// Compilation directives for Delphi 7<br>{$IFDEF VER150}<br> {$DEFINE VER150BELOW}<br>
{$ENDIF}<br><br>// Compilation directives for Delphi 8<br>{$IFDEF VER160}<br> {$DEFINE VER160BELOW}<br>{$ENDIF}<br><br>// Compilation directives for Delphi 9 (DELPHI 2005)<br>{$IFDEF VER170}<br> {$DEFINE VER170BELOW}<br>
{$DEFINE BDS}<br> {$DEFINE BDS3}<br> {$DEFINE BDS3_UP}<br> {$DEFINE COMPILER9}<br> {$DEFINE COMPILER9_UP}<br> {$DEFINE DELPHI9}<br> {$DEFINE DELPHI9_UP}<br>{$ENDIF}<br><br>// Compilation directives for BDS 2006 (Delphi 2006, BCB 2006)<br>
{$IFDEF VER180}<br> {$DEFINE VER180BELOW}<br> {$DEFINE BDS}<br> {$DEFINE BDS4}<br> {$DEFINE BDS4_UP}<br> {$DEFINE COMPILER10}<br> {$DEFINE COMPILER10_UP}<br> {$IFDEF BCB}<br> {$DEFINE BCB10}<br> {$DEFINE BCB10_UP}<br>
{$ELSE}<br> {$DEFINE DELPHI10}<br> {$DEFINE DELPHI10_UP}<br> {$ENDIF}<br>{$ENDIF}<br><br>{$IFDEF FREEBSD}<br> {$DEFINE UNIX}<br>{$ENDIF}<br><br>{$IFDEF LINUX}<br> {$DEFINE UNIX}<br>{$ENDIF}<br><br>// Debug/release compiler options<br>
{$D+}<br><br>{$IFOPT D-}<br>{$DEFINE BINARY_RELEASE}<br>{$ENDIF}<br><br>{$IFDEF BINARY_RELEASE}<br>// Settings for Release mode<br>{$C-}<br>{$I-}<br>{$R-}<br>{$L-}<br>{$Q-}<br>{$IFNDEF FPC}<br>{$O+}<br>{$W-}<br>{$ENDIF}<br>
<br>{$ELSE}<br><br>// Settings for Debug mode<br>{.$C+}<br>{.$I+}<br>{.$R+}<br>{.$L+}<br>{.$Q+}<br>{.$IFNDEF FPC}<br>{.$O-}<br>{.$W+}<br>{.$ENDIF}<br><br>{$ENDIF}<br><br>// Disables checking code.<br>// Use Range checking option to turn on/off optimization<br>
{$IFOPT R-}<br>{$DEFINE DISABLE_CHECKING}<br>{$ENDIF}<br><br><br>// Enables MySQL support in TZConnection/TZDataset<br>{$IFNDEF ZEOS_DISABLE_MYSQL}<br>{$DEFINE ENABLE_MYSQL}<br>// Enables Mysql 3.x and 4.0 support<br>// These versions are deprecated and will not be supported in future versions of zeoslib.<br>
{.$DEFINE ENABLE_MYSQL_DEPRECATED}<br>{$ENDIF}<br><br>// Enables PostgreSQL support in TZConnection/TZDataset<br>{$IFNDEF ZEOS_DISABLE_POSTGRESQL}<br>{$DEFINE ENABLE_POSTGRESQL}<br>{$ENDIF}<br><br>// Enables Sybase/MSSQL support in TZConnection/TZDataset<br>
{$IFNDEF ZEOS_DISABLE_DBLIB}<br>{$DEFINE ENABLE_DBLIB}<br>{$ENDIF}<br><br>// Enables ADO support in TZConnection/TZDataset<br>{$IFNDEF ZEOS_DISABLE_ADO}<br>{$IFNDEF FPC}<br> {$IFNDEF UNIX}<br> {$DEFINE ENABLE_ADO}<br> {$ENDIF}<br>
{$ENDIF}<br>{$ENDIF}<br><br>// Enables Interbase/Firebird support in TZConnection/TZDataset<br>{$IFNDEF ZEOS_DISABLE_INTERBASE}<br>{$DEFINE ENABLE_INTERBASE}<br>{$ENDIF}<br><br>// Enables SQLite support in TZConnection/TZDataset<br>
{$IFNDEF ZEOS_DISABLE_SQLITE}<br>{$DEFINE ENABLE_SQLITE}<br>{$ENDIF}<br><br>// Enables Oracle support in TZConnection/TZDataset<br>{$IFNDEF ZEOS_DISABLE_ORACLE}<br>{$DEFINE ENABLE_ORACLE}<br>{$ENDIF}<br><br>// Enables ASA support in TZConnection/TZDataset<br>
{$IFNDEF ZEOS_DISABLE_ASA}<br>{$DEFINE ENABLE_ASA}<br>{$ENDIF}<br><br>// Supported language. Now available languages:<br>// ENGLISH, GERMAN, PORTUGUESE, DUTCH, SPANISH, ROMANA, INDONESIAN, RUSSIAN, CZECH, POLISH<br>{$DEFINE ENGLISH}<br>
<br>// Prevents loading default libmysql.dll<br>{.$DEFINE MYSQL_STRICT_DLL_LOADING}<br><br>// Prevents loading default firebird.dll<br>{.$DEFINE FIREBIRD_STRICT_DLL_LOADING}<br><br>// Prevents loading default libpq.dll<br>
{.$DEFINE POSTGRESQL_STRICT_DLL_LOADING}<br><br>//Allows to see SQL exceptions as strings<br>{$DEFINE INTERBASE_EXTENDED_MESSAGES}<br><br>// Loads libcrypt.so before Firebird client library.<br>// It fixes error "Undefined symbol: crypt".<br>
{$DEFINE INTERBASE_CRYPT}<br><br>// Excludes old ZeosDBO from the performance tests<br>{$DEFINE EXCLUDE_OLD_ZEOS_TEST}<br><br>// Excludes DBExpress from the performance tests<br>{$DEFINE EXCLUDE_DBX_TEST}<br><br>// Excludes IBX from the performance tests<br>
{$DEFINE EXCLUDE_IBX_TEST}<br><br>// Excludes BDE from the performance tests<br>{$DEFINE EXCLUDE_BDE_TEST}<br><br>// Registers property editors for the components.<br>{$DEFINE WITH_PROPERTY_EDITOR}<br><br>// Turn on IProviderSupport interface<br>
{$IFNDEF FPC}<br>{$IFNDEF VER125BELOW}<br>{$DEFINE WITH_IPROVIDER}<br>{$ENDIF}<br>{$ENDIF}<br><br>// Turn on multithreading<br>{$DEFINE MULTI_THREADED}<br><br>// In Version 6.1.5 there are several bugs with the TZSQLMetadata-Component<br>
// For Version 6.5.0 you should uncomment the following line<br>{$DEFINE USE_METADATA}<br><br>// A large database may have many tables, colums and/or procedures!!!<br>// Therefore there is the ability to show a warning<br>
// before retrieving a list of these database objects<br>// {$DEFINE SHOW_WARNING}<br><br>// Use libfbclient.so under linux<br>// and not libfbembed.so when Firebird 1.5.2 is used under linux<br>{$DEFINE USELIBFBCLIENTSO}<br>
<br>// Use SynEdit for the SQL Editors.<br>// Uncomment it when you will use SynEdit instead of a MemoEdit.<br>// The SynEdit component must be installed on your system.<br>// You can get SynEdit at <a href="http://synedit.sourceforge.net/">http://synedit.sourceforge.net/</a><br>
//{$DEFINE USE_SYNEDIT}<br><br>// Compile test applications with a graphical user interface (GUI)<br>// Comment this definition if you want to compile console test applications<br>{.$DEFINE TESTGUI}<br><br>//PATCH TO DO NO METADATALOADING / UNTESTED HIGH RISK<br>
{.$DEFINE FOSNOMETA}<br><br><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">El 9 de mayo de 2013 10:17, Ismael L. Donis Garcia <span dir="ltr"><<a href="mailto:ismael@citricos.co.cu" target="_blank">ismael@citricos.co.cu</a>></span> escribió:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff">
<div><font face="Arial">Si, si lo puse. Pero lo que me esá diciendo es que
le faltan 2 arreglos en esa declaración.</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">Al archivo Zeos.inc le puse lo que
sigue:</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">// Compilation directives for Lazarus<br>{$IFDEF
FPC}<br> {$MODE DELPHI}<br> {$INTERFACES COM}<br> {$DEFINE
VER130BELOW}<br> {$DEFINE VER140BELOW}<br> // We assume 2 levels is
sufficient.<br> // The higher the third number in a version, the better...
(we hope)<br> {$IFDEF VER2_5}<div class="im"><br> {$DEFINE
FPC2_5UP}<br> {$DEFINE FPC2_4UP}<br> {$DEFINE
FPC2_3UP}<br> {$DEFINE FPC2_2UP}<br> {$DEFINE
FPC2_1UP}<br> {$DEFINE FPC2_UP}<br></div> {$ENDIF}<br> {$IFDEF
VER2_4}<div class="im"><br> {$DEFINE FPC2_4UP}<br> {$DEFINE
FPC2_3UP}<br> {$DEFINE FPC2_2UP}<br>
{$DEFINE FPC2_1UP}<br> {$DEFINE FPC2_UP}<br></div> {$ENDIF}<br>
{$IFDEF VER2_3}<div class="im"><br> {$DEFINE FPC2_3UP}<br>
{$DEFINE FPC2_2UP}<br> {$DEFINE
FPC2_1UP}<br> {$DEFINE FPC2_UP}<br></div> {$ENDIF}</font></div>
<div> </div>
<div><font face="Arial"> {$IFDEF VER2_2}<div class="im"><br>
{$DEFINE FPC2_2UP}<br> {$DEFINE
FPC2_1UP}<br> {$DEFINE FPC2_UP}<br></div> {$ENDIF}</font></div>
<div> </div>
<div><font face="Arial"> {$IFDEF VER2_1}<br>
{$DEFINE FPC2_1UP}<br> {$DEFINE FPC2_UP}<br>
{$ENDIF}</font></div>
<div> </div>
<div><font face="Arial"> {$IFDEF VER2}<br> {$DEFINE
FPC2_UP}<br> {$ENDIF}<br>{$ENDIF}</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">Saludos Reiterados</font></div><div class="im">
<div>=========<br>|| ISMAEL ||<br>=========<br>Website: <a href="http://www.sisconge.byethost15.com" target="_blank">www.sisconge.byethost15.com</a><br></div>
</div><blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px"><div class="im">
<div style="FONT:10pt arial">----- Original Message ----- </div>
<div style="FONT:10pt arial;BACKGROUND:#e4e4e4"><b>From:</b>
<a title="metalbox9000@gmail.com" href="mailto:metalbox9000@gmail.com" target="_blank">Jose
Daboin</a> </div>
<div style="FONT:10pt arial"><b>To:</b> <a title="lazarus-es@lists.lazarus.freepascal.org" href="mailto:lazarus-es@lists.lazarus.freepascal.org" target="_blank">Spanish version of
Lazarus List</a> </div>
</div><div class="im"><div style="FONT:10pt arial"><b>Sent:</b> Thursday, May 09, 2013 10:11
AM</div>
<div style="FONT:10pt arial"><b>Subject:</b> Re: [Lazarus-es] Fwd: Error al
compilar ZEOSDBO-6.6.6-stable</div>
<div><br></div>
</div><div><div class="h5"><div dir="ltr">Pegaste esto antes de compilar en el archivo
zeos.inc<br><br>{$DEFINE FPC2_5UP}<br>{$DEFINE FPC2_4UP}<br>{$DEFINE
FPC2_3UP}<br>{$DEFINE FPC2_2UP}<br>{$DEFINE FPC2_1UP}<br>{$DEFINE
FPC2_UP}<br></div>
</div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote"><div><div class="h5">El 9 de mayo de 2013 08:40, Ismael L. Donis Garcia
<span dir="ltr"><<a href="mailto:ismael@citricos.co.cu" target="_blank">ismael@citricos.co.cu</a>></span> escribió:<br>
</div></div><blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
<div bgcolor="#ffffff"><div><div class="h5">
<div><font face="Arial">Ante todo Perdon por no haber contestado antes, debido
a que no fue hasta ahora que me siento delante de la PC. Por cuestiones de
trabajo me encontraba ausente.</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">Ya con la solución que me has dado pasó esa parte de
la compilación sin problema alguno. Ahora me está dando problemas en el
archivo:</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">C:\lazarus\components\ZEOSDBO-6.6.6-stable\src\component\ZAbstractRODataset.pas(3116,48)
Error: Expected another 2 array elements<br></font></div>
<div><font face="Arial">Específicamente en la función:</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">procedure
TZAbstractRODataset.CheckFieldCompatibility(Field: TField;FieldDef:
TFieldDef);</font></div>
<div> </div>
<div><font face="Arial">{$IFDEF FPC}<br>const<br> BaseFieldTypes:
array[TFieldType] of TFieldType = (<br> ftUnknown,
ftString, ftInteger, ftInteger, ftInteger, ftBoolean,
ftFloat,<br> ftFloat, ftBCD, ftDateTime, ftDateTime,
ftDateTime, ftBytes, ftVarBytes,<br> ftInteger, ftBlob,
ftBlob, ftBlob, ftBlob, ftBlob, ftBlob, ftBlob,
ftUnknown,<br> ftString, ftString, ftLargeInt, ftADT,
ftArray, ftReference, ftDataSet,<br> ftBlob, ftBlob,
ftVariant, ftInterface, ftInterface, ftString, ftTimeStamp,
ftFMTBcd<br> {$IFDEF FPC2_1UP}, ftString,
ftBlob{$ENDIF}); </font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">Me dice que faltan 2 elementos. Si miro la otra que
sigue más abajo si tiene los 2 elementos:</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">{$ELSE}<br> {$IFDEF
VER180}<br> const<br> BaseFieldTypes: array[TFieldType] of
TFieldType = (<br> ftUnknown, ftString, ftInteger,
ftInteger, ftInteger, ftBoolean, ftFloat,<br> ftFloat,
ftBCD, ftDateTime, ftDateTime, ftDateTime, ftBytes,
ftVarBytes,<br> ftInteger, ftBlob, ftBlob, ftBlob, ftBlob,
ftBlob, ftBlob, ftBlob, ftUnknown,<br> ftString, ftString,
ftLargeInt, ftADT, ftArray, ftReference, ftDataSet,<br>
ftBlob, ftBlob, ftVariant, ftInterface, ftInterface, ftString, ftTimeStamp,
ftFMTBcd,<br>
ftFixedWideChar,ftWideMemo,ftOraTimeStamp,ftOraInterval);<br> {$ELSE}
</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">Que me les debo poner para solucionar este
problema?</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">Desde Ya Gracias a todos los que de una forma u otra
han intentado ayudar.</font></div>
<div>
<div>=========<br>|| ISMAEL ||<br>=========<br>Website: <a href="http://www.sisconge.byethost15.com" target="_blank">www.sisconge.byethost15.com</a><br></div></div>
</div></div><blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
<div>
<div><font face="Arial"></font><br><span class="HOEnZb"><font color="#888888">-- <br><span style><font size="+0"><span style="COLOR:rgb(0,0,153)"><i><b>Saludos.<br><br>Jose
Daboin</b></i></span></font></span><br></font></span></div></div></blockquote></div></blockquote></div></div>
<p><font face="Arial"></font></p></blockquote></div>
<br>_______________________________________________<br>
Lazarus-es mailing list<br>
<a href="mailto:Lazarus-es@lists.lazarus.freepascal.org">Lazarus-es@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><span style="background-color:rgb(255,255,255)"><font><span style="color:rgb(0,0,153)"><i><b>Saludos.<br><br>Jose Daboin</b></i></span></font></span><br>
</div>