Проект, собранный в Lazarus-0.9.30+FPC-2.4.2 не компилируется в Lazarus-0.9.28.2+FPC-2.2.4
Пишет вот что:
- Код: Выделить всё
windres [option(s)] [input-file] [output-file]
windres: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
Hint: Start of reading config file C:\lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg
Hint: End of reading config file C:\lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.2.4 [2009/10/25] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Win32 for i386
Compiling project1.lpr
Compiling unit1.pas
unit1.pas(22,28) Hint: Parameter "Sender" not used
unit1.pas(23,28) Hint: Parameter "Sender" not used
Compiling resource D:\Common\Database 1\unit1.lfm
Usage: c:\lazarus\fpc\2.2.4\bin\i386-win32\windres.exe [option(s)] [input-file] [output-file]
The options are:
-i --input=<file> Name input file
-o --output=<file> Name output file
-J --input-format=<format> Specify input format
-O --output-format=<format> Specify output format
-F --target=<target> Specify COFF target
--preprocessor=<program> Program to use to preprocess rc file
-I --include-dir=<dir> Include directory when preprocessing rc file
-D --define <sym>[=<val>] Define SYM when preprocessing rc file
-U --undefine <sym> Undefine SYM when preprocessing rc file
-v --verbose Verbose - tells you what it's doing
-l --language=<val> Set language when reading rc file
--use-temp-file Use a temporary file instead of popen to read
the preprocessor output
--no-use-temp-file Use popen (default)
-r Ignored for compatibility with rc
-h --help Print this help message
-V --version Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified. A single file name is an input file.
No input-file is stdin, default rc. No output-file is stdout, default rc.
c:\lazarus\fpc\2.2.4\bin\i386-win32\windres.exe: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
unit1.pas(47,1) Error: Error while linking
unit1.pas(47,1) Fatal: There were 1 errors compiling module, stopping
Что можно предпринять?
Советы типа "Ну, так используй более новую версию..." не предлагать. Мне так надо!
Попутно, второй вопрос:
ibx спокойно устанавливается на Lazarus-0.9.30, но почему-то не встает на Lazarus-0.9.28.2. Пишет "пакет ibexpress 0.9.3" не откомпилировался.Удалить его из списка на установку? И как бы не отвечал (вариантов всего два -Да/Нет) установка прекращается. В сообщениях выводится следующее:
- Код: Выделить всё
C:\lazarus\components\ibx\runtime\IBExternals.pas(49,26) Hint: Type "UInt" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(50,26) Hint: Type "Long" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(51,26) Hint: Type "ULong" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(52,26) Hint: Type "Short" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(53,26) Hint: Type "UShort" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(55,26) Hint: Type "UChar" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(69,26) Hint: Type "PInt" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(70,26) Hint: Type "PShort" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(71,26) Hint: Type "PUShort" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(72,26) Hint: Type "PLong" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(73,26) Hint: Type "PULong" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(75,26) Hint: Type "PUChar" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(76,26) Hint: Type "PVoid" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(120,11) Hint: Type "TBlob" redefinition
C:\lazarus\components\ibx\runtime\IBExternals.pas(128,11) Hint: Type "PBlob" redefinition
C:\lazarus\components\ibx\runtime\IBUtils.pas(42,10) Hint: Unit "windows" not used in IBUtils
C:\lazarus\components\ibx\runtime\IBHeader.pas(602,1) Hint: C arrays are passed by reference
C:\lazarus\components\ibx\runtime\IBHeader.pas(602,1) Warning: cdecl'ared functions have no high parameter
C:\lazarus\components\ibx\runtime\IBIntf.pas(217,35) Hint: Local variable "dllPathName" does not seem to be initialized
C:\lazarus\components\ibx\runtime\IBIntf.pas(111,38) Hint: Parameter "status_vector" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(112,15) Hint: Parameter "tran_handle" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(114,34) Hint: Parameter "status_vector" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(115,34) Hint: Parameter "isc_arg2" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(116,34) Hint: Parameter "isc_arg3" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(117,34) Hint: Parameter "service_handle" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(118,34) Hint: Parameter "isc_arg5" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(119,34) Hint: Parameter "isc_arg6" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(121,34) Hint: Parameter "status_vector" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(122,34) Hint: Parameter "service_handle" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(124,33) Hint: Parameter "status_vector" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(125,33) Hint: Parameter "service_handle" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(126,33) Hint: Parameter "recv_handle" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(127,33) Hint: Parameter "isc_arg4" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(128,33) Hint: Parameter "isc_arg5" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(129,33) Hint: Parameter "isc_arg6" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(130,33) Hint: Parameter "isc_arg7" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(131,33) Hint: Parameter "isc_arg8" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(132,33) Hint: Parameter "isc_arg9" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(134,33) Hint: Parameter "status_vector" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(135,33) Hint: Parameter "service_handle" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(136,33) Hint: Parameter "recv_handle" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(137,33) Hint: Parameter "isc_arg4" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(138,33) Hint: Parameter "isc_arg5" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(141,36) Hint: Parameter "tm_date" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(142,18) Hint: Parameter "ib_date" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(145,36) Hint: Parameter "tm_date" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(146,20) Hint: Parameter "ib_time" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(149,37) Hint: Parameter "tm_date" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(150,19) Hint: Parameter "ib_timestamp" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(153,36) Hint: Parameter "ib_date" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(154,36) Hint: Parameter "tm_date" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(157,36) Hint: Parameter "ib_time" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(158,36) Hint: Parameter "tm_date" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(161,37) Hint: Parameter "ib_timestamp" not used
C:\lazarus\components\ibx\runtime\IBIntf.pas(162,37) Hint: Parameter "tm_date" not used
C:\lazarus\components\ibx\runtime\IBHeader.pas(2901,16) Hint: Unit "IB" not used in IBHeader
windres: can't open file `TIBXLoginDlg': No such file or directory
Hint: Start of reading config file C:\lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg
Hint: End of reading config file C:\lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.2.4 [2009/10/25] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Win32 for i386
Compiling ibexpress.pas
Compiling .\runtime\IB.pas
Compiling .\runtime\IBExternals.pas
IBExternals.pas(49,26) Hint: Type "UInt" redefinition
IBExternals.pas(50,26) Hint: Type "Long" redefinition
IBExternals.pas(51,26) Hint: Type "ULong" redefinition
IBExternals.pas(52,26) Hint: Type "Short" redefinition
IBExternals.pas(53,26) Hint: Type "UShort" redefinition
IBExternals.pas(55,26) Hint: Type "UChar" redefinition
IBExternals.pas(69,26) Hint: Type "PInt" redefinition
IBExternals.pas(70,26) Hint: Type "PShort" redefinition
IBExternals.pas(71,26) Hint: Type "PUShort" redefinition
IBExternals.pas(72,26) Hint: Type "PLong" redefinition
IBExternals.pas(73,26) Hint: Type "PULong" redefinition
IBExternals.pas(75,26) Hint: Type "PUChar" redefinition
IBExternals.pas(76,26) Hint: Type "PVoid" redefinition
IBExternals.pas(120,11) Hint: Type "TBlob" redefinition
IBExternals.pas(128,11) Hint: Type "PBlob" redefinition
Compiling .\runtime\IBUtils.pas
IBUtils.pas(42,10) Hint: Unit "windows" not used in IBUtils
Compiling .\runtime\IBXConst.pas
Writing Resource String Table file: IBXConst.rst
Compiling .\runtime\IBIntf.pas
Compiling .\runtime\IBHeader.pas
IBHeader.pas(602,1) Hint: C arrays are passed by reference
IBHeader.pas(602,1) Warning: cdecl'ared functions have no high parameter
Compiling .\runtime\IBIntf.pas
IBIntf.pas(217,35) Hint: Local variable "dllPathName" does not seem to be initialized
IBIntf.pas(111,38) Hint: Parameter "status_vector" not used
IBIntf.pas(112,15) Hint: Parameter "tran_handle" not used
IBIntf.pas(114,34) Hint: Parameter "status_vector" not used
IBIntf.pas(115,34) Hint: Parameter "isc_arg2" not used
IBIntf.pas(116,34) Hint: Parameter "isc_arg3" not used
IBIntf.pas(117,34) Hint: Parameter "service_handle" not used
IBIntf.pas(118,34) Hint: Parameter "isc_arg5" not used
IBIntf.pas(119,34) Hint: Parameter "isc_arg6" not used
IBIntf.pas(121,34) Hint: Parameter "status_vector" not used
IBIntf.pas(122,34) Hint: Parameter "service_handle" not used
IBIntf.pas(124,33) Hint: Parameter "status_vector" not used
IBIntf.pas(125,33) Hint: Parameter "service_handle" not used
IBIntf.pas(126,33) Hint: Parameter "recv_handle" not used
IBIntf.pas(127,33) Hint: Parameter "isc_arg4" not used
IBIntf.pas(128,33) Hint: Parameter "isc_arg5" not used
IBIntf.pas(129,33) Hint: Parameter "isc_arg6" not used
IBIntf.pas(130,33) Hint: Parameter "isc_arg7" not used
IBIntf.pas(131,33) Hint: Parameter "isc_arg8" not used
IBIntf.pas(132,33) Hint: Parameter "isc_arg9" not used
IBIntf.pas(134,33) Hint: Parameter "status_vector" not used
IBIntf.pas(135,33) Hint: Parameter "service_handle" not used
IBIntf.pas(136,33) Hint: Parameter "recv_handle" not used
IBIntf.pas(137,33) Hint: Parameter "isc_arg4" not used
IBIntf.pas(138,33) Hint: Parameter "isc_arg5" not used
IBIntf.pas(141,36) Hint: Parameter "tm_date" not used
IBIntf.pas(142,18) Hint: Parameter "ib_date" not used
IBIntf.pas(145,36) Hint: Parameter "tm_date" not used
IBIntf.pas(146,20) Hint: Parameter "ib_time" not used
IBIntf.pas(149,37) Hint: Parameter "tm_date" not used
IBIntf.pas(150,19) Hint: Parameter "ib_timestamp" not used
IBIntf.pas(153,36) Hint: Parameter "ib_date" not used
IBIntf.pas(154,36) Hint: Parameter "tm_date" not used
IBIntf.pas(157,36) Hint: Parameter "ib_time" not used
IBIntf.pas(158,36) Hint: Parameter "tm_date" not used
IBIntf.pas(161,37) Hint: Parameter "ib_timestamp" not used
IBIntf.pas(162,37) Hint: Parameter "tm_date" not used
IBHeader.pas(2901,16) Hint: Unit "IB" not used in IBHeader
Compiling .\runtime\IBBatchMove.pas
Compiling .\runtime\IBCustomDataSet.pas
Compiling .\runtime\IBDatabase.pas
Compiling .\runtime\dblogindlg.pas
Compiling resource C:\lazarus\components\ibx\runtime\dblogindlg.lfm
c:\lazarus\fpc\2.2.4\bin\i386-win32\windres.exe: can't open file `TIBXLoginDlg': No such file or directory
C:\lazarus\components\ibx\runtime\dblogindlg.pas(87,1) Error: Error while linking
C:\lazarus\components\ibx\runtime\dblogindlg.pas(87,1) Fatal: There were 1 errors compiling module, stopping
Что посоветуете, уважаемые знатоки?