From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8291 invoked by alias); 28 Oct 2018 21:54:09 -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 8282 invoked by uid 89); 28 Oct 2018 21:54:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=4.1 required=5.0 tests=BAYES_50,FORGED_MUA_MOZILLA,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=winfsp, fuse, UD:www.secfs.net, UD:secfs.net X-HELO: blaine.gmane.org Received: from Unknown (HELO blaine.gmane.org) (195.159.176.226) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 28 Oct 2018 21:54:07 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gGsyO-0001zt-85 for cygwin@cygwin.com; Sun, 28 Oct 2018 22:51:52 +0100 To: cygwin@cygwin.com From: =?UTF-8?Q?Ren=c3=a9_Berber?= Subject: Re: cygwin: how to mount linux FS from cygwin Date: Sun, 28 Oct 2018 21:54:00 -0000 Message-ID: References: <4FEDAE50.7090509@gmail.com> <4FFD8C61.7050605@gmail.com> <20120711143028.GA14112@ednor.casa.cgf.cx> <1540553280760-0.post@n5.nabble.com> <181249ee-f584-5e85-83fb-0c8a9e6a4672@gmail.com> <1540569794858-0.post@n5.nabble.com> <7e2bad7d-0882-900e-2074-90996eaf38b1@gmail.com> <1540594543547-0.post@n5.nabble.com> <1540598043835-0.post@n5.nabble.com> <0a215d39-7f53-17ce-5c79-f03bed884cbe@SystematicSw.ab.ca> <1540690355151-0.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 Openpgp: preference=signencrypt In-Reply-To: <1540690355151-0.post@n5.nabble.com> X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00237.txt.bz2 On 10/27/2018 8:32 PM, hauck.adrian451 wrote: > - Created the file fuse.pc indicated the location the dll: > > user@cliente~/winfsp-master/opt/cygfuse/fuse > $ more fuse.pc > arch=x64 > prefix=${pcfiledir}/.. > incdir=C:\Program Files (x86)\WinFsp > implib=C:\Program Files (x86)\WinFsp\winfsp-${arch}.dll > > Name: fuse > Description: WinFsp FUSE compatible API > Version: 2.8 > URL: http://www.secfs.net/winfsp/ > Libs: "${implib}" > Cflags: -I"${incdir}" This is wrong, in several ways. 1st: fuse.pc, and pkg-config, are only used for building purposes (i.e. compiling, creating the Makefile, usually as part of the configure script, or in Qt projects, could be part of the qmake step). 2nd: The path used (C:\Program Files (x86)\) is written wrong, in Windows mode, and its the location of 32-bit installations, which contradicts the "arch=x64". For Cygwin's version of pkg-config it is just wrong (I would suggest to take a look at 'man pkg-config'). I don't know, or use winfsp, but... do they really put headers in there? That's what that .pc file says in Cflags. Same goes for libraries, but that could be the case, weird, but not entirely invalid. 3rd: The location of fuse.pc is not a standard location. So unless you also specify PKG_CONFIG_LIBDIR, its not going to be used. -- R. Berber -- 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