El 23/11/13 16:50, Osvaldo Filho ha escrit: > Environment: > Ubuntu 13.10 64bits > FPC 2.6.3 - Rev 26119 > Lazarus 1.2RC - Rev 43472 > > When i try compile for i386, i get this: > > Free Pascal Compiler version 2.6.3 [2013/11/23] for i386 > Copyright (c) 1993-2012 by Florian Klaempfl and others > Target OS: Linux for i386 > Compiling lazcontrols.pas > Compiling dividerbevel.pas > dividerbevel.pas(52,31) Hint: Parameter "WithThemeSpace" not used > Compiling extendednotebook.pas > Compiling listfilteredit.pas > *Compiling treefilteredit.pas > treefilteredit.pas(60,60) Error: Illegal expression > treefilteredit.pas(60,60) Error: Error in type definition > treefilteredit.pas(60,60) Fatal: Syntax error, ">" expected but "" found > Fatal: Compilation aborted* > Error: /home/deskx/Aplicativos/fpclaz/bin/ppc386 returned an error > exitcode (normal if you did not specify a source file to be compiled) > make[1]: ** [lazcontrols.ppu] Erro 1 > make[1]: Saindo do diretório > `/home/deskx/Documentos/Desenvolvimento/pascal/svn/ex/laz1.2rc32/components/lazcontrols' > make: ** [lazbuild] Erro 2
I have the same error, but with fpc 2.6.4, Lazarus 1.2.2. I didn't see a solution in this (old) thread. I installed fpc from the rpm and buili the cross compiler x86_64->i386 following the instructions here: http://wiki.lazarus.freepascal.org/Cross_compiling#From_Linux_x64_to_Linux_i386 The source line where it gives the (same) error is: type TEvents = specialize TFPGList<TEvent>; If I try lazbuild (to see the command line used), I get this: $ ~/lazarus_1_2/lazbuild --pcp=/home/luca/lazarus_1_2/config climaserver.lpiSetPrimaryConfigPath NewValue="/home/luca/lazarus_1_2/config" -> "/home/luca/lazarus_1_2/config" primary config path: /home/luca/lazarus_1_2/config/ TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Compile was incomplete for openldv 0.0 State file="/home/luca/Datos/0000_estandares_varios/lonworks/openldv/lib/i386-linux/openldv.compiled" [TExternalToolList.Run] CmdLine="/usr/bin/fpc -MObjFPC -Scghi -O1 -Pi386 -g -gl -vewnhi -Fu/home/luca/lazarus_1_2/packager/units/i386-linux -Fu/home/luca/lazarus_1_2/components/lazutils/lib/i386-linux -Fu/home/luca/lazarus_1_2/lcl/units/i386-linux -Fu/home/luca/Datos/0000_estandares_varios/lonworks/openldv/ -FU/home/luca/Datos/0000_estandares_varios/lonworks/openldv/lib/i386-linux/ -l openldv.pas" WorkDir="/home/luca/Datos/0000_estandares_varios/lonworks/openldv/" Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.6.4 [2014/04/01] for i386 Copyright (c) 1993-2014 by Florian Klaempfl and others Target OS: Linux for i386 Compiling openldv.pas Compiling openldvapi.pas openldvapi.pas(11,39) Error: Illegal expression openldvapi.pas(11,39) Error: Error in type definition openldvapi.pas(11,39) Fatal: Syntax error, ">" expected but "" found TExternalToolList.Run Exception: /home/luca/Datos/0000_estandares_varios/lonworks/openldv/openldvapi.pas(11,39) Fatal: Syntax error, ">" expected but "" found ERROR: tool reported error Bye -- Luca _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal