unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mambo Levis <mambo.levis@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "ofv@wanadoo.es" <ofv@wanadoo.es>,
	"24574@debbugs.gnu.org" <24574@debbugs.gnu.org>,
	"a.s@realize.ch" <a.s@realize.ch>
Subject: bug#24574: emacs-module is not GPL compatible (Windows)
Date: Sun, 2 Oct 2016 15:53:21 +0000 (UTC)	[thread overview]
Message-ID: <732813402.3896868.1475423601606@mail.yahoo.com> (raw)
In-Reply-To: <837f9rl14q.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]

Hi,
I found the problem:
I checked everything again using the tool pexports, and both sqlite3-core.dll and sqlite3.dll were exporting all symbols. I compare all with the following article:http://gernotklingler.com/blog/creating-using-shared-libraries-different-compilers-different-operating-systems/  and I couldn't find any problem. 


The only thing left to do was to put sqlite.dll in the emacs\bin folder and Voilà, now it works. In fact I had already added the path and used  to sqlite3.dll in my emacs init file, but the location was wrong; after my emacs-modules collection. 
Thank you for your feedback and support. 
Muchas gracias Oscar Fuentes por tu colaboración.
Levis


 

    On Sunday, October 2, 2016 8:24 AM, Eli Zaretskii <eliz@gnu.org> wrote:
 

 > Date: Sat, 1 Oct 2016 20:28:15 +0000 (UTC)
> From: Mambo Levis <mambo.levis@gmail.com>
> Cc: "a.s@realize.ch" <a.s@realize.ch>, 
>     "24574@debbugs.gnu.org" <24574@debbugs.gnu.org>
> 
> %.$(SO): %.o
> $(LD) -shared $(LDFLAGS) -o $@ $< sqlite3.lib
> [...]
> Please, notice that this time the plugin_is_GPL_compatible. The problem is now that the module can't be
> found when a sqlite3.dll symbol is used.
> 
> Any Idea or suggestion?

Add -Wl,-export-all-symbols to LDFLAGS.


   

[-- Attachment #2: Type: text/html, Size: 7402 bytes --]

  reply	other threads:[~2016-10-02 15:53 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       ` bug#24574: " Eli Zaretskii
2016-10-01 20:28         ` Mambo Levis
2016-10-02  6:24           ` Eli Zaretskii
2016-10-02 15:53             ` Mambo Levis [this message]
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=732813402.3896868.1475423601606@mail.yahoo.com \
    --to=mambo.levis@gmail.com \
    --cc=24574@debbugs.gnu.org \
    --cc=a.s@realize.ch \
    --cc=eliz@gnu.org \
    --cc=ofv@wanadoo.es \
    /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).