[Lazarus] Cross compile: Linux -> win32 (r17408)

Vincent Snijders vincent.snijders at gmail.com
Mon Nov 17 19:35:51 CET 2008


2008/11/17, Osvaldo Filho <arquivostcf at gmail.com>:
> What is wrong?
>
> Environment:
> Ubuntu 8.04.1
> FPC: 2.2.3
> Lazarus: r17408
>
> in /usr/share/lazarus/
> command: make all OS_TARGET=win32
> (same with "clean")
> Output:
> =====================================
>  make -C lcl all
> make[1]: Entrando no diretório `/usr/share/lazarus/lcl'
> /bin/rm -f units/i386-win32/alllclunits.ppu
> /usr/bin/ppc386 -Twin32 -XPi386-win32- -Xr -gl -Fu. -Fuforms -Fuwidgetset
> -Fu/usr/lib/fpc/2.2.3/units/i386-win32/rtl -Fiinclude -FE.
> -FUunits/i386-win32 -di386  alllclunits.pp
>  Free Pascal Compiler version 2.2.3 [2008/11/16] for i386
> Copyright (c) 1993-2008 by Florian Klaempfl
> Target OS: Win32 for i386
> Compiling alllclunits.pp
> 76 lines compiled, 1.2 sec
> 1 note(s) issued
> make -C interfaces all
>  make[2]: Entrando no diretório
> `/usr/share/lazarus/lcl/interfaces'
> make -C win32 all
> make[3]: Entrando no diretório
> `/usr/share/lazarus/lcl/interfaces/win32'
> /bin/rm -f ../../units/i386-win32/win32/interfaces.ppu \
>          ../../units/i386-win32/win32/interfaces.o
> /usr/bin/ppc386 -Twin32 -XPi386-win32- -Xr -gl -Fu../../units/i386-win32
> -Fu. -Fu/usr/lib/fpc/2.2.3/units/i386-win32/rtl -FE.
> -FU../../units/i386-win32/win32 -di386  interfaces.pp
>  Free Pascal Compiler version 2.2.3 [2008/11/16] for i386
> Copyright (c) 1993-2008 by Florian Klaempfl
> Target OS: Win32 for i386
> Compiling interfaces.pp
> Compiling win32int.pp
> win32int.pp(27,26) Warning: User defined: Fix implicit pointer conversions
>  Compiling win32wsextdlgs.pp
> win32wsextdlgs.pp(239,1) Error: resource compiler not found, switching to
> external mode
> win32wsextdlgs.pp(239,1) Fatal: There were 1 errors compiling module,
> stopping
> Fatal: Compilation aborted
>  make[3]: ** [interfaces.ppu] Erro 1
> make[3]: Saindo do diretório
> `/usr/share/lazarus/lcl/interfaces/win32'
> make[2]: ** [win32_all] Erro 2
> make[2]: Saindo do diretório
> `/usr/share/lazarus/lcl/interfaces'
>  make[1]: ** [interfaces] Erro 2
> make[1]: Saindo do diretório `/usr/share/lazarus/lcl'
> make: ** [lcl] Erro 2

Compile with OPT='-va' (redirect output to file) to find out where the
compiler is looking for the resource compiler.

Vincent




More information about the Lazarus mailing list