users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems, when I use a static library with gplc


From: cegea
Subject: Problems, when I use a static library with gplc
Date: Mon, 22 Dec 2003 11:37:08 +0100 (CET)

-------- Original Message --------
Subject: Problems, when I use a static library with gplc
From: <address@hidden>
Date: Mon, December 22, 2003 11:10 am
To: <address@hidden>

Hi,

Firstly, I have said you that I am working with Debian Linux, Gnu-Prolog
(gprolog-1.2.16) and Logtalk(lgt2147).

To generate the executables files, you need the logtalk.pl and gnu.pl
(this last file you can obtain to rename the file gnu.configure). It is
found in the logtalk.org.
I have a problem when I make a executable file and I have used the
libfoo.a library that I have made with the 'ar' linux command.
I send you several files, with a shell scripts , which generates two
executables files baa_cool and baa_crash.


If one of the symbols is in the library --> ko  (File executable
baa_crash).

Then I obtain the error message:

  uncaught exception:
  error(existence_error(object,foo),foo::do_fo(2,3,_26),user).

If we links all files, without library, --> ok  (File executable
baa_cool).


The shell scripts generates the library libfoo.a.

Thanks in advance.

Carlos.


Attachment: package.tar
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]