iLya2IK / wchttpserver

HTTP/2+HTTP/1.1+WebSocket server written with Lazarus (Free Pascal)
GNU Lesser General Public License v2.1
57 stars 18 forks source link

Cannot find ECommonObjs unit #2

Closed zamronypj closed 3 years ago

zamronypj commented 3 years ago

Hi, thanks for sharing your project

Lazarus 2.0.10 on Ubuntu 18.04 fails to compile wchttpserver.lpr. It can not find ECommonObjs unit. I browse wchttpserver repository and can not find it.

Step to reproduce

Log

Compile package SQLDBLaz 1.0.2: Success, Hints: 4
Hint: Start of reading config file /home/zamroni/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.cfg
Hint: End of reading config file /home/zamroni/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.cfg
Verbose: Free Pascal Compiler version 3.2.0-r45643 [2021/01/29] for x86_64
Verbose: Copyright (c) 1993-2020 by Florian Klaempfl and others
Verbose: Target OS: Linux for x86-64
Verbose: Compiling sqldblaz.pas
Verbose: Compiling registersqldb.pas
Verbose: Compiling pqteventmonitor.pas
pqteventmonitor.pas(19,23) Verbose: Parameter "Sender" not used
Verbose: Compiling sqlstringspropertyeditordlg.pas
sqlstringspropertyeditordlg.pas(58,35) Verbose: Parameter "Sender" not used
sqlstringspropertyeditordlg.pas(167,77) Note: Call to subroutine "operator =(const op1:Variant;const op2:Variant):Boolean;" marked as inline is not inlined
sqlstringspropertyeditordlg.pas(53,24) Verbose: Parameter "Sender" not used
sqlstringspropertyeditordlg.pas(54,30) Verbose: Parameter "Sender" not used
sqlstringspropertyeditordlg.pas(55,37) Verbose: Parameter "Sender" not used
sqlstringspropertyeditordlg.pas(57,28) Verbose: Parameter "Sender" not used
sqlstringspropertyeditordlg.pas(281,77) Note: Call to subroutine "operator =(const op1:Variant;const op2:Variant):Boolean;" marked as inline is not inlined
sqlstringspropertyeditordlg.pas(59,35) Verbose: Parameter "Sender" not used
sqlstringspropertyeditordlg.pas(60,34) Verbose: Parameter "Sender" not used
sqlstringspropertyeditordlg.pas(62,28) Verbose: Parameter "Sender" not used
sqlstringspropertyeditordlg.pas(63,28) Verbose: Parameter "Sender" not used
Verbose: Writing Resource String Table file: sqlstringspropertyeditordlg.rsj
registersqldb.pas(194,33) Verbose: Parameter "Sender" not used
registersqldb.pas(200,26) Verbose: Parameter "Sender" not used
Verbose: Writing Resource String Table file: registersqldb.rsj
Verbose: 1127 lines compiled, 6.7 sec
Verbose: 19 hint(s) issued
Verbose: 2 note(s) issued
Compile package weblaz 1.0: Success, Warnings: 1, Hints: 34
Hint: Start of reading config file /home/zamroni/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.cfg
Hint: End of reading config file /home/zamroni/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.cfg
Verbose: Free Pascal Compiler version 3.2.0-r45643 [2021/01/29] for x86_64
Verbose: Copyright (c) 1993-2020 by Florian Klaempfl and others
Verbose: Target OS: Linux for x86-64
Verbose: Compiling weblaz.pas
Verbose: Compiling fpideexteditorinsertfilenameunit.pas
Verbose: Compiling fpwebstrconsts.pas
Verbose: Writing Resource String Table file: fpwebstrconsts.rsj
fpideexteditorinsertfilenameunit.pas(50,26) Verbose: Parameter "Sender" not used
fpideexteditorinsertfilenameunit.pas(51,31) Verbose: Parameter "Sender" not used
fpideexteditorinsertfilenameunit.pas(62,6) Hint: Unit "fpWebStrConsts" not used in fpIDEExtEditorInsertFileNameUnit
fpideexteditorinsertfilenameunit.pas(62,22) Hint: Unit "SrcEditorIntf" not used in fpIDEExtEditorInsertFileNameUnit
Verbose: Compiling fpwebfieldsettagunit.pas
Verbose: Compiling fpwebhrefeditunit.pas
fpwebhrefeditunit.pas(97,33) Verbose: Parameter "Sender" not used
fpwebhrefeditunit.pas(96,26) Verbose: Parameter "Sender" not used
fpwebhrefeditunit.pas(108,6) Hint: Unit "fpWebStrConsts" not used in fpWebHREFEditUnit
fpwebhrefeditunit.pas(108,22) Hint: Unit "SrcEditorIntf" not used in fpWebHREFEditUnit
Verbose: Compiling fpwebhtmltaglegendunit.pas
Verbose: Compiling fpwebnewhtmlfileunit.pas
fpwebnewhtmlfileunit.pas(64,26) Verbose: Parameter "Sender" not used
fpwebnewhtmlfileunit.pas(63,25) Verbose: Parameter "Sender" not used
fpwebnewhtmlfileunit.pas(63,46) Hint: Parameter "CloseAction" not used
fpwebnewhtmlfileunit.pas(82,22) Hint: Unit "SrcEditorIntf" not used in fpWebNewHTMLFileUnit
Verbose: Compiling fpwebnewhtmlformunit.pas
fpwebnewhtmlformunit.pas(71,26) Verbose: Parameter "Sender" not used
Verbose: Compiling fpwebnewhtmlimgunit.pas
fpwebnewhtmlimgunit.pas(60,26) Verbose: Parameter "Sender" not used
fpwebnewhtmlimgunit.pas(59,41) Verbose: Parameter "Sender" not used
Verbose: Compiling fpwebnewhtmlinputunit.pas
fpwebnewhtmlinputunit.pas(79,26) Verbose: Parameter "Sender" not used
Verbose: Compiling fpwebnewhtmllistunit.pas
Verbose: Compiling fpwebnewhtmltableunit.pas
fpwebnewhtmltableunit.pas(65,26) Verbose: Parameter "Sender" not used
fpwebnewhtmltableunit.pas(63,31) Verbose: Parameter "Sender" not used
fpwebnewhtmltableunit.pas(64,33) Verbose: Parameter "Sender" not used
Verbose: Compiling fpwebnewhtmltagpreunit.pas
Verbose: Compiling fpwebnewhtmltagtdunit.pas
fpwebnewhtmltagtdunit.pas(71,26) Verbose: Parameter "Sender" not used
Verbose: Compiling fpwebnewhtmltagtrunit.pas
fpwebnewhtmltagtrunit.pas(60,26) Verbose: Parameter "Sender" not used
Verbose: Compiling fpwebselectoptionsunit.pas
Verbose: Compiling fpwebselecttagunit.pas
fpwebselecttagunit.pas(69,26) Verbose: Parameter "Sender" not used
fpwebselecttagunit.pas(70,29) Verbose: Parameter "Sender" not used
Verbose: Compiling fpwebtoolsunit.pas
fpwebtoolsunit.pas(385,10) Warning: Function result does not seem to be set
fpwebtoolsunit.pas(72,28) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(73,29) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(85,31) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(86,31) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(87,31) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(88,31) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(89,31) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(54,28) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(55,30) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(56,33) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(57,22) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(58,22) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(59,24) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(63,33) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(64,34) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(65,35) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(66,36) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(60,27) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(79,28) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(80,28) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(81,23) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(82,23) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(83,25) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(84,25) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(69,25) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(70,27) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(75,30) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(76,31) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(92,24) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(62,28) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(93,26) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(94,33) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(95,35) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(96,31) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(97,31) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(98,26) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(99,28) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(100,34) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(101,33) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(102,32) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(103,30) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(61,24) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(106,35) Verbose: Parameter "Sender" not used
fpwebtoolsunit.pas(743,3) Note: Local variable "i" not used
fpwebtoolsunit.pas(108,39) Hint: Parameter "S" not used
fpwebtoolsunit.pas(19,39) Hint: Parameter "ResourceName" not used
fpwebtoolsunit.pas(20,34) Hint: Parameter "Filename" not used
fpwebtoolsunit.pas(20,44) Hint: Parameter "SourceName" not used
fpwebtoolsunit.pas(21,28) Hint: Parameter "ResourceName" not used
fpwebtoolsunit.pas(22,55) Hint: Parameter "DefPasExt" not used
fpwebtoolsunit.pas(32,39) Hint: Parameter "ResourceName" not used
fpwebtoolsunit.pas(33,34) Hint: Parameter "Filename" not used
fpwebtoolsunit.pas(33,44) Hint: Parameter "SourceName" not used
fpwebtoolsunit.pas(34,28) Hint: Parameter "ResourceName" not used
fpwebtoolsunit.pas(35,55) Hint: Parameter "DefPasExt" not used
fpwebtoolsunit.pas(45,39) Hint: Parameter "ResourceName" not used
fpwebtoolsunit.pas(46,34) Hint: Parameter "Filename" not used
fpwebtoolsunit.pas(46,44) Hint: Parameter "SourceName" not used
fpwebtoolsunit.pas(47,28) Hint: Parameter "ResourceName" not used
fpwebtoolsunit.pas(48,55) Hint: Parameter "DefPasExt" not used
Verbose: Compiling frmnewhttpapp.pp
frmnewhttpapp.pp(26,26) Verbose: Parameter "Sender" not used
frmnewhttpapp.pp(25,37) Verbose: Parameter "Sender" not used
Verbose: Compiling lazweb.pp
Verbose: Compiling weblazideintf.pp
Verbose: Compiling frmrpcmoduleoptions.pp
frmrpcmoduleoptions.pp(23,40) Verbose: Parameter "Sender" not used
frmrpcmoduleoptions.pp(24,38) Verbose: Parameter "Sender" not used
frmrpcmoduleoptions.pp(25,26) Verbose: Parameter "Sender" not used
Verbose: Writing Resource String Table file: frmrpcmoduleoptions.rsj
weblazideintf.pp(49,31) Hint: Parameter "AProject" not used
weblazideintf.pp(69,31) Hint: Parameter "AProject" not used
weblazideintf.pp(59,31) Hint: Parameter "AProject" not used
weblazideintf.pp(79,31) Hint: Parameter "AProject" not used
weblazideintf.pp(90,31) Hint: Parameter "AProject" not used
weblazideintf.pp(187,31) Hint: Parameter "AProject" not used
weblazideintf.pp(169,26) Verbose: Parameter "Sender" not used
weblazideintf.pp(27,3) Hint: Unit "fpextjs" not used in WebLazIDEIntf
weblazideintf.pp(34,3) Hint: Unit "fphttpwebclient" not used in WebLazIDEIntf
weblazideintf.pp(250,56) Hint: Unit "SQLStringsPropertyEditorDlg" not used in WebLazIDEIntf
Verbose: Writing Resource String Table file: weblazideintf.rsj
weblaz.pas(11,31) Verbose: Unit "fpdatasetform" not used in weblaz
weblaz.pas(11,46) Verbose: Unit "fpextdirect" not used in weblaz
weblaz.pas(11,59) Verbose: Unit "fpextjs" not used in weblaz
weblaz.pas(12,11) Verbose: Unit "fpIDEExtEditorInsertFileNameUnit" not used in weblaz
weblaz.pas(12,56) Verbose: Unit "fpTemplate" not used in weblaz
weblaz.pas(12,68) Verbose: Unit "fpWeb" not used in weblaz
weblaz.pas(13,14) Verbose: Unit "fpWebFieldSetTagUnit" not used in weblaz
weblaz.pas(13,36) Verbose: Unit "fpWebHREFEditUnit" not used in weblaz
weblaz.pas(13,55) Verbose: Unit "fpWebHtmlTagLegendUnit" not used in weblaz
weblaz.pas(14,25) Verbose: Unit "fpwebNewHTMLFormUnit" not used in weblaz
weblaz.pas(14,47) Verbose: Unit "fpwebNewHTMLImgUnit" not used in weblaz
weblaz.pas(15,3) Verbose: Unit "fpwebNewHTMLInputUnit" not used in weblaz
weblaz.pas(15,26) Verbose: Unit "fpwebNewHTMLListUnit" not used in weblaz
weblaz.pas(15,48) Verbose: Unit "fpWebNewHtmlTableUnit" not used in weblaz
weblaz.pas(16,3) Verbose: Unit "fpWebNewHtmlTagPreUnit" not used in weblaz
weblaz.pas(16,27) Verbose: Unit "fpwebNewHtmlTagTDUnit" not used in weblaz
weblaz.pas(16,50) Verbose: Unit "fpwebNewHtmlTagTRUnit" not used in weblaz
weblaz.pas(17,3) Verbose: Unit "fpWebSelectOptionsUnit" not used in weblaz
weblaz.pas(17,27) Verbose: Unit "fpWebSelectTagUnit" not used in weblaz
weblaz.pas(17,47) Verbose: Unit "fpWebStrConsts" not used in weblaz
weblaz.pas(18,3) Verbose: Unit "frmnewhttpapp" not used in weblaz
weblaz.pas(18,28) Verbose: Unit "htmlelements" not used in weblaz
weblaz.pas(18,42) Verbose: Unit "htmlwriter" not used in weblaz
weblaz.pas(19,3) Verbose: Unit "SQLDBWebData" not used in weblaz
weblaz.pas(19,17) Verbose: Unit "webjsonrpc" not used in weblaz
weblaz.pas(19,44) Verbose: Unit "webutil" not used in weblaz
weblaz.pas(19,53) Verbose: Unit "frmrpcmoduleoptions" not used in weblaz
Verbose: 5472 lines compiled, 2.0 sec
Verbose: 1 warning(s) issued
Verbose: 126 hint(s) issued
Verbose: 1 note(s) issued
Compile Project, Mode: Debug, Target: wchttpserver: Exit code 1, Errors: 1, Warnings: 2, Hints: 3
Hint: Start of reading config file /home/zamroni/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.cfg
Debug Version Progress: Compiling Debug Version
Hint: End of reading config file /home/zamroni/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.cfg
Verbose: Free Pascal Compiler version 3.2.0-r45643 [2021/01/29] for x86_64
Verbose: Copyright (c) 1993-2020 by Florian Klaempfl and others
Verbose: Target OS: Linux for x86-64
Verbose: Compiling wchttpserver.lpr
Verbose: Compiling ./openssl/extopensslsockets.pp
Verbose: Compiling ./openssl/openssl.pas
Verbose: Writing Resource String Table file: openssl.rsj
Verbose: Compiling ./openssl/extopenssl.pp
extopenssl.pp(163,19) Warning: function result variable of a managed type does not seem to be initialized
extopenssl.pp(281,19) Warning: function result variable of a managed type does not seem to be initialized
extopenssl.pp(479,16) Hint: Local variable "Buf" of a managed type does not seem to be initialized
Verbose: Writing Resource String Table file: extopenssl.rsj
Verbose: Writing Resource String Table file: extopensslsockets.rsj
Verbose: Compiling wcmaintest.pas
Verbose: Compiling wcapplication.pas
wcapplication.pas(24,3) Fatal: Cannot find ECommonObjs used by wcapplication of the Project Inspector.
Verbose: Compilation aborted
Verbose: /home/zamroni/fpcupdeluxe/fpc/bin/x86_64-linux/ppcx64 returned an error exitcode
iLya2IK commented 3 years ago

You can can find this file and other additional units here https://github.com/iLya2IK/commonutils I'll add this information in README.md