From users-return-268711-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Fri Nov 8 06:51:58 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C664A180638 for ; Fri, 8 Nov 2019 07:51:57 +0100 (CET) Received: (qmail 93365 invoked by uid 500); 8 Nov 2019 06:51:54 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 93354 invoked by uid 99); 8 Nov 2019 06:51:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2019 06:51:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 64D721A4456 for ; Fri, 8 Nov 2019 06:51:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.272 X-Spam-Level: * X-Spam-Status: No, score=1.272 tagged_above=-999 required=6.31 tests=[FORGED_SPF_HELO=1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id RWDvNiwOqrcF for ; Fri, 8 Nov 2019 06:51:51 +0000 (UTC) Received-SPF: Softfail (mailfrom) identity=mailfrom; client-ip=213.120.69.107; helo=re-prd-fep-049.btinternet.com; envelope-from=markt@apache.org; receiver= Received: from re-prd-fep-049.btinternet.com (mailomta14-re.btinternet.com [213.120.69.107]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 10584BC55E for ; Fri, 8 Nov 2019 06:51:50 +0000 (UTC) Received: from re-prd-rgout-003.btmx-prd.synchronoss.net ([10.2.54.6]) by re-prd-fep-049.btinternet.com with ESMTP id <20191108065143.DMGA30084.re-prd-fep-049.btinternet.com@re-prd-rgout-003.btmx-prd.synchronoss.net> for ; Fri, 8 Nov 2019 06:51:43 +0000 Authentication-Results: btinternet.com; auth=pass (LOGIN) smtp.auth=medthomas@btinternet.com X-Originating-IP: [213.121.9.136] X-OWM-Source-IP: 213.121.9.136 (GB) X-OWM-Env-Sender: medthomas@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedufedruddvtddguddtvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepffgjfhggtgfguffvhffksehtqhhmtddttdejnecuhfhrohhmpeforghrkhcuvfhhohhmrghsuceomhgrrhhkthesrghprggthhgvrdhorhhgqeenucffohhmrghinheprghprggthhgvrdhorhhgnecukfhppedvudefrdduvddurdelrddufeeinecurfgrrhgrmhephhgvlhhopehmrghilhdrhhhomhgvihhnsghogidrnhgvthdpihhnvghtpedvudefrdduvddurdelrddufeeipdhmrghilhhfrhhomhepoehmrghrkhhtsegrphgrtghhvgdrohhrgheqpdhrtghpthhtohepoehushgvrhhssehtohhmtggrthdrrghprggthhgvrdhorhhgqecuqfftvefrvfeprhhftgekvddvnehushgvrhhssehtohhmtggrthdrrghprggthhgvrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from mail.homeinbox.net (213.121.9.136) by re-prd-rgout-003.btmx-prd.synchronoss.net (5.8.337) (authenticated as medthomas@btinternet.com) id 5DB305E20273CC01 for users@tomcat.apache.org; Fri, 8 Nov 2019 06:51:43 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.homeinbox.net (Postfix) with ESMTP id 7E727F001F5 for ; Fri, 8 Nov 2019 06:51:42 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from mail.homeinbox.net ([127.0.0.1]) by localhost (server03.homeinbox.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bu9ZremvVB5O for ; Fri, 8 Nov 2019 06:51:42 +0000 (GMT) Received: from marksphone.homeinbox.net (marksphone.homeinbox.net [192.168.23.203]) by mail.homeinbox.net (Postfix) with ESMTPSA id 95ADEF00195 for ; Fri, 8 Nov 2019 06:51:41 +0000 (GMT) Date: Fri, 08 Nov 2019 06:51:39 +0000 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: building tcnative To: Tomcat Users List From: Mark Thomas Message-ID: On November 8, 2019 12:46:03 AM UTC, George Stanchev wrote: >I am trying to build tcnative on Windows 7 using VS 2017 and it has >been nothing but pain so far around the apr and tcnative itself=2E Any >help is appreciated=2E I did get around the apr issues (which were very >similar to what I am about to ask) by compiling via the =2Esln file=2E Bu= t >the nmake route would simply not go with an error similar to the one >below=2E One solution found on the internet [1] was to search replace >#define _WIN32_WINNT with 0x0600 in /arp/include/arp=2Ehw which I did but >that still didn't fix the issue so I went the =2Esln file route (which >still had to be adjusted to the correct target win SDK to find >winsock2=2Eh)=2E Now I am stuck with the error below=2E I've googled that >stuff to death and haven't been able to find a solution=2E What is the >Tomcat team using to build tcnative on Windows? VS 2015? > >Any pointers to get around this issue? https://cwiki=2Eapache=2Eorg/confluence/display/TOMCAT/Building+the+Tomcat= +Native+Connector+binaries+for+Windows Mark > > >cl -c -nologo -DWIN32 -D_WIN32 -D_WINDOWS -DWINNT -D_WINNT >-D_WIN32_WINNT=3D0x0700 -DWINVER=3D0x0700 -D_WIN32_IE=3D0x0800 >-DPSAPI_VERSION=3D1 -W3 -EHsc -D_MBCS -DMBCS -D_AMD64_=3D1 -DWIN64 -D_WIN= 64 >-O2 -Ob2 -Zi -DNDEBUG -D_MT -MD -DAPR_DECLARE_STATIC -DZLIB_WINA >PI -DNO_IDEA -DNO_RC5 -DNO_MDC2 -DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 >-DOPENSSL_NO_MDC2 -DHAVE_OPENSSL -DHAVE_SSL_SET_STATE=3D1 -I=2E\include -= I >"C:\Java\jdk8u232zulu\include" -I "C:\Java\jdk8u232zulu\include\win32" >-Id:\builds\deps\apr\include -Id:\builds\deps\apr\ >include\arch\win32 -Id:\builds\deps\openssl\include >-FoWIN7_X64_DLL_RELEASE\ -FdWIN7_X64_DLL_RELEASE\tcnative-1-src >=2E\os\win32\registry=2Ec >registry=2Ec >d:\builds\deps\apr\include\arch\win32\apr_arch_misc=2Eh(503): error >C2143: syntax error: missing ')' before '*' >d:\builds\deps\apr\include\arch\win32\apr_arch_misc=2Eh(503): error >C2143: syntax error: missing '{' before '*' >d:\builds\deps\apr\include\arch\win32\apr_arch_misc=2Eh(503): error >C2059: syntax error: ')' >d:\builds\deps\apr\include\arch\win32\apr_arch_misc=2Eh(503): error >C2061: syntax error: identifier 'apr_winapi_pfn_if_indextoname' >d:\builds\deps\apr\include\arch\win32\apr_arch_misc=2Eh(503): error >C2059: syntax error: ';' >d:\builds\deps\apr\include\arch\win32\apr_arch_misc=2Eh(503): error >C2513: ' ': no variable declared before '=3D' >d:\builds\deps\apr\include\arch\win32\apr_arch_misc=2Eh(503): error >C2065: 'apr_winapi_pfn_if_indextoname': undeclared identifier >d:\builds\deps\apr\include\arch\win32\apr_arch_misc=2Eh(503): warning >C4047: '=3D': 'int' differs in levels of indirection from 'int *(__cdecl >*)(NET_IFINDEX,PCHAR)' >d:\builds\deps\apr\include\arch\win32\apr_arch_misc=2Eh(503): error >C2146: syntax error: missing ';' before identifier 'apr_load_dll_func' >d:\builds\deps\apr\include\arch\win32\apr_arch_misc=2Eh(503): error >C2100: illegal indirection >d:\builds\deps\apr\include\arch\win32\apr_arch_misc=2Eh(503): error >C2064: term does not evaluate to a function taking 19 arguments >d:\builds\deps\apr\include\arch\win32\apr_arch_misc=2Eh(503): warning >C4033: 'apr_winapi_if_indextoname' must return a value >NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual >Studio\2017\Professional\VC\Tools\MSVC\14=2E16=2E27023\bin\HostX64\x64\cl= =2EEXE"' >: return code '0x2' >Stop=2E --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org