From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VWwiF-0003Qg-Is for mharc-grub-devel@gnu.org; Thu, 17 Oct 2013 19:10:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWwi6-0003H7-5z for grub-devel@gnu.org; Thu, 17 Oct 2013 19:10:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWwhx-0006QK-P7 for grub-devel@gnu.org; Thu, 17 Oct 2013 19:10:30 -0400 Received: from mail-ee0-x230.google.com ([2a00:1450:4013:c00::230]:54288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWwhx-0006QA-Id for grub-devel@gnu.org; Thu, 17 Oct 2013 19:10:21 -0400 Received: by mail-ee0-f48.google.com with SMTP id e50so491907eek.21 for ; Thu, 17 Oct 2013 16:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=3Wzcjd30MMslHh74Ktv42H85zYIAR1SywtvGVkiHn4g=; b=AUewJAwBvtX7rO2PtzvYTU8KbPxTmiAxN1EHHBkrlp2x5WnLAaxkN9j5WEXJ0eTbFQ 408N5yXW7AxPmZ8ucPtiv9zOsf3qZQYX5gNAuZYuqKylIQZSFepKgNfzuMPr7mnUR660 ql/JRTtx2jTMehCztLX2+zO7ZMM6GeGgOOjq4fkpPzdT6qrX40ww/r2qGArZ8S8OA1iy vRIK8zaivtQnAIqcBmQt0ZAxPAlLzzZLJZQPl2Cx9HeCqFtlOuloiOBySYd0a5QotLsj yBKFKa9gD2M3v/zwg9CdqLJnO58oj00BHhuyopHdaQns0zDt0F6zq0ZMgm8RlkQWeJlk /BSQ== X-Received: by 10.14.119.196 with SMTP id n44mr23522eeh.116.1382051420849; Thu, 17 Oct 2013 16:10:20 -0700 (PDT) Received: from [192.168.1.16] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id j7sm198982701eeo.15.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Oct 2013 16:10:20 -0700 (PDT) Message-ID: <52606E5B.2090309@gmail.com> Date: Fri, 18 Oct 2013 01:10:19 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: grub-devel@gnu.org, cyrille.lefevre-lists@laposte.net Subject: Re: grub2-rc1-emu under cygwin References: <510AEE21.20104@laposte.net> In-Reply-To: <510AEE21.20104@laposte.net> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2NLFATTHJPFTLECWFUMKJ" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::230 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2013 23:10:38 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2NLFATTHJPFTLECWFUMKJ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Additional response to this older thread, now that few things changed. > CC=3Dgcc-4 ./configure --with-platform=3Demu --enable-grub-emu-usb > --enable-grub-emu-sdl >=20 --enable-grub-emu-usb doesn't work. It's not important enough to fix it given large amount of work it needs and not so useless as to remove it alltogether. > and the make command : >=20 > make -j 1 -k >=20 > -j 1 is to avoid fork failures. >=20 > what's wrong is : >=20 > cat syminfo.lst | sort | awk -f ./genmoddep.awk > moddep.lst || (rm -f > moddep.lst; exit 1) > __imp__CloseHandle@4 in emunet is not defined > __imp__CreateEventA@16 in emunet is not defined > __imp__CreateFileA@28 in emunet is not defined > __imp__DeviceIoControl@32 in emunet is not defined > __imp__GetLastError@0 in emunet is not defined > __imp__GetOverlappedResult@16 in emunet is not defined > __imp__ReadFile@20 in emunet is not defined > __imp__RegCloseKey@4 in emunet is not defined > __imp__RegEnumKeyExA@32 in emunet is not defined > __imp__RegOpenKeyExA@20 in emunet is not defined > __imp__RegQueryValueExA@24 in emunet is not defined > __imp__ResetEvent@4 in emunet is not defined > __imp__WaitForSingleObject@8 in emunet is not defined > __imp__WriteFile@20 in emunet is not defined > _cygwin_attach_handle_to_fd in emunet is not defined > _get_osfhandle in emunet is not defined > Makefile:81312: recipe for target `moddep.lst' failed >=20 I moved now this part to grub-devel/osdep/*/emunet.c. There is no problem to access host functions anymore. Now it should be as easy implementing grub-devel/osdep/windows/emunet.c and registering it in grub-devel/osdep/emunet.c. However some of the code you copied isn't license-compatible (namely it states GPLv2-only), other files lack copyright headers altogether. Copying files from external projects for secondary objectives isn't well accepted in GNU projects under best of times. In case of copyright problem like here it's a no-go in any project. You can try clear-up the copyright situation by e.g. asking authors to relicense tap-win32.h or rewriting it. However it still doesn't feel important enough to grant an exception to guideline regarding regarding external code. How difficult is it to use the kernel driver without copying any code? ------enig2NLFATTHJPFTLECWFUMKJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlJgblsACgkQNak7dOguQgnXlwEAllG/0uQVZW5P8O05NViW+wVP 5Kx6BFH/bT/FE0exhsEBAIlQ89HxLpTvC/b/d6TSBrNuy/qhEnsuYHqxyAmRyYzX =Oc4b -----END PGP SIGNATURE----- ------enig2NLFATTHJPFTLECWFUMKJ--