From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mambo Levis Newsgroups: gmane.emacs.help,gmane.emacs.bugs Subject: Re: emacs-module is not GPL compatible (Windows) Date: Sat, 1 Oct 2016 12:31:26 +0000 (UTC) Message-ID: <1337000014.3620747.1475325086234@mail.yahoo.com> References: <1261593588.2422705.1475266631400.ref@mail.yahoo.com> <1261593588.2422705.1475266631400@mail.yahoo.com> <86oa3433p1.fsf@realize.ch> Reply-To: Mambo Levis NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1475325153 19726 195.159.176.226 (1 Oct 2016 12:32:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Oct 2016 12:32:33 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" , "bug-gnu-emacs@gnu.org" To: Alain Schneble Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 01 14:32:29 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqJSn-0003dL-Tw for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Oct 2016 14:32:22 +0200 Original-Received: from localhost ([::1]:55696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqJSm-0000wU-Ft for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Oct 2016 08:32:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqJS1-0000tx-Sa for help-gnu-emacs@gnu.org; Sat, 01 Oct 2016 08:31:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqJRx-00041e-L2 for help-gnu-emacs@gnu.org; Sat, 01 Oct 2016 08:31:33 -0400 Original-Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]:35930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqJRx-00041J-EE; Sat, 01 Oct 2016 08:31:29 -0400 Original-Received: by mail-io0-x232.google.com with SMTP id m79so81599837ioo.3; Sat, 01 Oct 2016 05:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:reply-to:to:cc:message-id:in-reply-to:references:subject :mime-version:content-length; bh=tpP9+eM5Q0DsYop69RAOPT6f9OXkwEAjaaRvq6iHF5M=; b=PjTTwS4M0xKqWlHORUx8wOAQMATRAv0JoyCVtGrQgDvqjqCQlbNsoPnEmPkkg5jRya qWkLCt+D5OgnwPRgC79iZB3eKh2kI7AIk0SHBwjtaZw7rgDwNqr0BtqJy7C2Q8m6WPC9 Ncftz2OcRGlXec87Bnqx8r1rNpKWfpL2ZDIeZ7ngNGDwoC9RDKmCmDBvNpS0+8ybEm7c unziglZhJEA4nLvUqDKat3r66s9A3OGyTGvUeVu6cxZHY2kH5rLkaXZ9+v2Zb7OIt5MZ 9cetBV0AbpH/HsKs5exTBqc6/oNLXMYAEs11SIm04OM2oK9RPQSCsCsM3zyQMh7Xe72b mJxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:reply-to:to:cc:message-id:in-reply-to :references:subject:mime-version:content-length; bh=tpP9+eM5Q0DsYop69RAOPT6f9OXkwEAjaaRvq6iHF5M=; b=JUrdB0RFfeADFsjgG432qWJvKDd8T/7yoSeTpWnCeeC+vTM6Pi8AVARBTEr7CK4CQL WPQQQNQkJviq3Q3wiZnkl0X83o3FhjOEwRT7tkIQCuvzQVMUHCLr7Kn/w+6u1q4+rbv6 95ilThiiXYLMtJvzz9JfnJkOqTyDKe6YKHegJcp1wmes76vqNup33Nfrd7cneSezrcgX TrfrXSSP4KA5iPIsnzYZhBWc3RZxpZyce9KQTE8jTBXLww8nP6XP1hmPjxWsc9xn6+0Z U3OcIgCjpldZMeT8g5+1i5uoqI8Db18flyWMwIea1tJRn1YL3hJDz+pUdSsqmn7Hxr/u u4XA== X-Gm-Message-State: AA6/9RlLS64giAANAjcUK8j6a/VKTTjvvBjjmIhnyNVDc7QjG+LaBdlvry9g5fOAT0UiXQ== X-Received: by 10.107.62.135 with SMTP id l129mr13742878ioa.123.1475325088804; Sat, 01 Oct 2016 05:31:28 -0700 (PDT) Original-Received: from smtpsendws101.mail.ne1.yahoo.com (smtpsendws101.mail.ne1.yahoo.com. [98.138.101.178]) by smtp.gmail.com with ESMTPSA id j194sm9492397ioe.39.2016.10.01.05.31.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Oct 2016 05:31:28 -0700 (PDT) X-YMail-OSG: o1vzDTgVM1n46BOZ1KahJHmU1rjNTDXk8feu3pSxRv2IzqAZnHMcsvB.YWSUsaC gvPtb3FRBukZPV6j9Vbqc0GWu_NkGPmAMmtFzdsDra_eKMitVGnEthj18D_xGnG7JQOxhPK3rMBg sbZXuo9jACTd3z5r4tpCM0itWdH8XKWlTpT36PzdFiAQYTmirsl_4TmDYCPa432iClCYxVELiAX4 _4VQ9RpK8KbuVgWDbKBHPY9X2tCluGix8AwZsGBqsFc9txooKK8VUM8a85XFqSOiDe_Dao7OVA5p TC9v7iYdqNS_B92Ppvr1.x7b95K7oZNAhh.yz9PoqozZHSYh9.H_2LbBVwQatyPyP9KLt9N5LhBM iPCpaA2R24Nce2DYoIcRvZKyBl4VLyUOIiRLonNUI6cA_KU47ZKf_elWcdqSkObb4kML3nMY.Orc 87wEQcQasvZIcQyTS6XvS88yB_R84rA1qSgor_CJ9PG2_MG36lTWw5mfuGg7ChmCsGjOMnUMyBaA cQaodj5dp_hHNBvYEsO51pgLv0jowhCYXJvL14XeL3LwIoXgx0q.FpXlETNxwSF2m5w-- Original-Received: from jws10067.mail.ne1.yahoo.com by smtpsendws101.mail.ne1.yahoo.com; Sat, 01 Oct 2016 12:31:26 +0000; 1475325086.833 In-Reply-To: <86oa3433p1.fsf@realize.ch> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c06::232 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111426 gmane.emacs.bugs:123842 Archived-At: Yes, I tried mod-test and it worked properly without using any calling conv= ention such __declspec(dllexport). I have made the following tests: 1. I commented all module's functions related with sqlite3 library and only= leave uncommented one of function to verify if the module is working: =C2=A0 /* emacs-sqlite-version*/static emacs_valueFemacs_sqlite_version (em= acs_env *env, ptrdiff_t nargs, emacs_value args[], void *data){=C2=A0 =C2= =A0 =C2=A0const char* msg_docstr =3D "emacs-sqlite module version 0.1"; re= turn env->make_string (env, msg_docstr, strlen(msg_docstr));} When I require=C2=A0(emacs-sqlite-version) it works as expected. 2. I tested only two function: the previous one=C2=A0Femacs_sqlite_version = and other associated with sqlite. Once I consider a module function related= to sqlite error message appears:=C2=A0is not GPL compatible I think the error is related with the linking process of the sqlite3.lib . = One possible test is not linking sqlite3.lib and stead just using sqlite so= urce code as a part of the module. Do you have any suggestion? Levis =20 On Saturday, October 1, 2016 9:54 AM, Alain Schneble w= rote: =20 Mambo Levis writes: > Hi, > I build the emacs-sqlite3 project in Windows using MINGW (mingw64_shell.b= at) and the following message appears whenI requiere the module: > sqlite3-core.dll is not GPL compatible > > Questions:=C2=A0 > 1. Have anybody tried to build this project in windows using MINGW or Vis= ual Studio? > 2. Do you have any idea about the error message:=C2=A0sqlite3-core.dll is= not GPL compatible? > I found this project (sqlite3-core)=C2=A0more interesting/valuable for te= sting the new emacs-module=C2=A0than the default provided (mod-test) in ema= cs-25.1-src/modules > Repository:=C2=A0https://github.com/syohex/emacs-sqlite3 > I also found and build a similar project=C2=A0https://github.com/thom-jen= ks/emacs-sqlite=C2=A0but unfortunately with the same problem: it=C2=A0is no= t GPL compatible > > Thanks > Levis FWIW, mod-test works properly here on mingw64 with gcc 6.1.0, even with CFLAGS=3D'-O3'.=C2=A0 Did you try with mod-test?=C2=A0 Do you get the same = error? Alain =20