unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Mambo Levis <mambo.levis@gmail.com>
Cc: 24574@debbugs.gnu.org, a.s@realize.ch
Subject: bug#24574: emacs-module is not GPL compatible (Windows)
Date: Sat, 01 Oct 2016 18:40:36 +0300	[thread overview]
Message-ID: <83mviokrgr.fsf@gnu.org> (raw)
In-Reply-To: <1337000014.3620747.1475325086234@mail.yahoo.com> (message from Mambo Levis on Sat, 1 Oct 2016 12:31:26 +0000 (UTC))

[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 <mambo.levis@gmail.com>
> 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.





  reply	other threads:[~2016-10-01 15:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1261593588.2422705.1475266631400.ref@mail.yahoo.com>
2016-09-30 20:17 ` emacs-module is not GPL compatible (Windows) Mambo Levis
2016-10-01  4:37   ` bug#24574: " Robert Cochran
2016-10-01  7:53   ` Alain Schneble
2016-10-01 12:31     ` Mambo Levis
2016-10-01 15:40       ` Eli Zaretskii [this message]
2016-10-01 20:28         ` bug#24574: " Mambo Levis
2016-10-02  6:24           ` Eli Zaretskii
2016-10-02 15:53             ` Mambo Levis
2016-10-05  2:48               ` npostavs
2016-10-05 16:51                 ` Mambo Levis
2021-10-23  2:47                   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83mviokrgr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=24574@debbugs.gnu.org \
    --cc=a.s@realize.ch \
    --cc=mambo.levis@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).