From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114671 invoked by alias); 5 Mar 2019 02:05:46 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 114450 invoked by uid 89); 5 Mar 2019 02:05:46 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:15.20.1643.21, Hx-spam-relays-external:15.20.1643.21, H*RU:15.20.1643.21, Hx-languages-length:3421 X-HELO: EUR01-HE1-obe.outbound.protection.outlook.com Received: from mail-oln040092065052.outbound.protection.outlook.com (HELO EUR01-HE1-obe.outbound.protection.outlook.com) (40.92.65.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 05 Mar 2019 02:05:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qPaAHQwbOSpPhCG7PSa+5evNGZpHa1bE1m6xbmbQunw=; b=r72D1AMAGqoW4hjrI2i7Zqqv7D0/n1yMx1wRrAI5mOxanTTSzw07ZU31AJalsXAxjdXnVxxeop77ij//nyduBg4/iloDD5PDE+FIWXmfKauMqQ2CGeg7SfxpLspGQLuOVn7YGJlE5JvROKlYSrJTjLYlSYZzeS9h5klcX0QePo7newjwiCLJSexTqGixyU+C7iTSmiBpRsJmX6Qpy9U+WByRza7hP8zaEMXVKrqG1y/mvaa75uPnXBu1/QTbcR9kiHLIltUeCFr3qfuwqz3s5rtvV7kHQtXwP9qGDnnU4vl2ZpHlvFYUEOu5ymmGsPEDjbVvfWRvTDw7EPRCNOVW8A== Received: from HE1EUR01FT050.eop-EUR01.prod.protection.outlook.com (10.152.0.57) by HE1EUR01HT004.eop-EUR01.prod.protection.outlook.com (10.152.1.246) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.21; Tue, 5 Mar 2019 02:05:41 +0000 Received: from AM4PR0101MB2258.eurprd01.prod.exchangelabs.com (10.152.0.54) by HE1EUR01FT050.mail.protection.outlook.com (10.152.1.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.21 via Frontend Transport; Tue, 5 Mar 2019 02:05:41 +0000 Received: from AM4PR0101MB2258.eurprd01.prod.exchangelabs.com ([fe80::ec83:68fa:fa98:afe2]) by AM4PR0101MB2258.eurprd01.prod.exchangelabs.com ([fe80::ec83:68fa:fa98:afe2%2]) with mapi id 15.20.1665.020; Tue, 5 Mar 2019 02:05:41 +0000 From: Hashim Aziz To: "cygwin@cygwin.com" Subject: Fatal errors when compiling x264 from source while Avisynth is enabled Date: Tue, 05 Mar 2019 02:05:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-03/txt/msg00054.txt.bz2 I'm trying to follow the FFmpeg wiki's guide here to build FFmpeg from sour= ce with the most superior codecs it can make use of, like libfdk-aac and li= bopus: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu I've sorted many of the dependencies to get it to work on Cygwin, and thank= fully I didn't need to build most of the packages in that guide from source= because they were included in the Cygwin repository, but there are 2 or 3 = that are not, including x264 and x265. So I'm now trying to build x624 from source with the following command: cd /ffmpeg_sources && git -C x264 pull 2> /dev/null || git clone --depth 1 = https://git.videolan.org/git/x264 && cd x264 && PATH=3D"/usr/local/bin:$PAT= H" PKG_CONFIG_PATH=3D"/ffmpeg_build/lib/pkgconfig" ./configure --prefix=3D"= /ffmpeg_build" --bindir=3D"/usr/local/bin" --enable-static --enable-pic && = PATH=3D"usr/local/bin:$PATH" make -j4 && make install But at the configure stage of this command, I get a few errors and lots of = warnings, but the final error is this one: [Makefile:272: input/avs.o] Error 1 I believe this is a Cygwin error based on the fact that the error immediate= ly before the one above is the HMODULE error here: https://stackoverflow.com/questions/45181102/ffmpeg-on-cygwin-failed-to-com= pile-libx264-error-unknown-type-name-hmodule And in that question the OP and another answer are trying to follow the ver= y same guide while using Cygwin on the same 64-bit Windows 7. What's the problem here and how can I solve it? The errors go away and the = compilation works when I include --disable-avs, but I don't want the versio= n of FFmpeg that I build to come without AVS/Avisynth support. Thank you in advance. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple