From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24574: emacs-module is not GPL compatible (Windows) Date: Sat, 01 Oct 2016 18:40:36 +0300 Message-ID: <83mviokrgr.fsf@gnu.org> References: <1261593588.2422705.1475266631400.ref@mail.yahoo.com> <1261593588.2422705.1475266631400@mail.yahoo.com> <86oa3433p1.fsf@realize.ch> <1337000014.3620747.1475325086234@mail.yahoo.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1475336482 9956 195.159.176.226 (1 Oct 2016 15:41:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Oct 2016 15:41:22 +0000 (UTC) Cc: 24574@debbugs.gnu.org, a.s@realize.ch To: Mambo Levis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 01 17:41:18 2016 Return-path: Envelope-to: geb-bug-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 1bqMPZ-0001dc-P9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Oct 2016 17:41:13 +0200 Original-Received: from localhost ([::1]:56194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqMPY-0007NQ-BH for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Oct 2016 11:41:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqMPS-0007NJ-L8 for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 11:41:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqMPO-0004UW-GO for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 11:41:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqMPO-0004UO-D4 for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 11:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bqMPO-00069P-Dc for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 11:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Oct 2016 15:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24574 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24574-submit@debbugs.gnu.org id=B24574.147533644323602 (code B ref 24574); Sat, 01 Oct 2016 15:41:02 +0000 Original-Received: (at 24574) by debbugs.gnu.org; 1 Oct 2016 15:40:43 +0000 Original-Received: from localhost ([127.0.0.1]:41263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqMP5-00068b-45 for submit@debbugs.gnu.org; Sat, 01 Oct 2016 11:40:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqMP3-00068O-1j for 24574@debbugs.gnu.org; Sat, 01 Oct 2016 11:40:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqMOu-0004NS-ED for 24574@debbugs.gnu.org; Sat, 01 Oct 2016 11:40:35 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqMOu-0004NE-Ar; Sat, 01 Oct 2016 11:40:32 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1947 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bqMOs-0007zX-8k; Sat, 01 Oct 2016 11:40:30 -0400 In-reply-to: <1337000014.3620747.1475325086234@mail.yahoo.com> (message from Mambo Levis on Sat, 1 Oct 2016 12:31:26 +0000 (UTC)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123853 Archived-At: [Please don't cross post to help-gnu-emacs if you report bugs.] > Date: Sat, 1 Oct 2016 12:31:26 +0000 (UTC) > From: Mambo Levis > Cc: 24574@debbugs.gnu.org, help-gnu-emacs@gnu.org > > 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: > > /* emacs-sqlite-version*/ > static emacs_value > Femacs_sqlite_version (emacs_env *env, ptrdiff_t nargs, emacs_value args[], void *data) > { > const char* msg_docstr = "emacs-sqlite module version 0.1"; > return env->make_string (env, msg_docstr, strlen(msg_docstr)); > } > > When I require (emacs-sqlite-version) it works as expected. > > 2. I tested only two function: the previous one Femacs_sqlite_version and other associated with sqlite. Once I > consider a module function related to sqlite error message appears: > is 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 source code as a part of the module. > > Do you have any suggestion? I'd start by using the pexports program (or something similar) to see which symbols are exported by the sqlite DLL.