[Lazarus] Lazarus rev. 27936 does not compile with CPU_TARGET=i386

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Oct 29 09:57:58 CEST 2010


On Fri, 29 Oct 2010 09:43:06 +0200
Torsten Bonde Christiansen <tc at epidata.dk> wrote:

> On 2010-10-29 09:36, Mattias Gaertner wrote:
> >
> >> make -C interfaces all
> >> make[2]: Entering directory
> >> `/home/torsten/FreePascal/lazarus/lcl/interfaces'
> >> make -C gtk2 all
> >> make[3]: Entering directory
> >> `/home/torsten/FreePascal/lazarus/lcl/interfaces/gtk2'
> >> /bin/rm -f ../../units/i386-linux/gtk2/interfaces.ppu \
> >>           ../../units/i386-linux/gtk2/interfaces.o
> >> /usr/bin/fpc -Pi386 -XPi386-linux- -Xr -gl -dgtk2
> >> -Fu../../units/i386-linux -Fu.
> >> -Fu/usr/lib/fpc/2.4.0/units/i386-linux/rtl -Fi. -FE.
> >> -FU../../units/i386-linux/gtk2 -di386  interfaces.pas
> >> gtk2extrah.inc(43,56) Fatal: Syntax error, "IMPLEMENTATION" expected but
> >> "identifier CDECL" found
> >> Fatal: Compilation aborted
> >> Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not
> >> specify a source file to be compiled)
> >>
> >>
> >> My system:
> >> FPC - 2.4.0
> >> Lazarus - 0.9.29 (rev. 27936)
> >> Ubuntu 10.04 (x86_64)
> >
> > Probably it was already fixed in snv. Try with 27940.
> >
> Sorry, but that was a no-go. Still the same error, beside the update 
> from 936->940 only updated the following files:
> 
> U    lcl/lmessages.pp
> U    lcl/include/wincontrol.inc
> U    lcl/include/mainmenu.inc
> U    lcl/include/menu.inc
> U    lcl/include/toolbutton.inc
> U    lcl/menus.pp
> Updated to revision 27940.

Maybe you have local modifications?

The line gtk2extrah.inc(43,56):

function gdk_window_xwindow(win : PGdkDrawable): TXID; cdecl; external gdklib name 'gdk_x11_drawable_get_xid';

I will later test on a 32bit system...

Mattias




More information about the Lazarus mailing list