|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#16032: closed (problem wit scm_new_smob call on ubuntu 13.10) |
Date: | Thu, 05 Dec 2013 03:46:02 +0000 |
Your message dated Wed, 04 Dec 2013 22:44:27 -0500 with message-id <address@hidden> and subject line Re: bug#16032: Acknowledgement (problem wit scm_new_smob call on ubuntu 13.10) has caused the debbugs.gnu.org bug report #16032, regarding problem wit scm_new_smob call on ubuntu 13.10 to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 16032: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16032 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: problem wit scm_new_smob call on ubuntu 13.10 Date: Tue, 3 Dec 2013 00:38:00 +0100 when trying to make my own extension for guile I have run into a problem with scm_new_smob.I use the standard packages for guile in ubuntu.The code should compile on ubuntu 13.10 if you have guile installed.
The problem is that the extension could not be loaded in guile REPL using (load-extension "/path/to/libbuilder.so" "init_builder"), the error I am getting is "File not found" but the path is correct.if I comment out line 12 in functions.cpp that calls scm_new_smob and then tries to load the extension, it will load.I am using:Ubuntu 13.10guile (GNU Guile) 2.0.9g++ (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1GNU ld (GNU Binutils for Ubuntu) 2.23.52.20130913GNU Make 3.81I tried at first making a smaller example but that would for some reason work instead, without me really understanding what the difference was.--
// Jim Hansson
// Tel: 0722019664
// http://se.linkedin.com/in/jimhansson
// ===== GPG =====
// key: 9AA942ED
// Fingerprint: 6947 5F70 7D4E D55D FCE2
// 3A1E 0C21 D543 9AA9 42ED
// ===============
functions.cpp
Description: Text Datafunctions.h
Description: Text DataMakefile
Description: Binary datatypes.cpp
Description: Text Datatypes.h
Description: Text Data
--- End Message ---
--- Begin Message ---Subject: Re: bug#16032: Acknowledgement (problem wit scm_new_smob call on ubuntu 13.10) Date: Wed, 04 Dec 2013 22:44:27 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Hi, Jim Hansson <address@hidden> writes: > Have done some more testing and may have found something that I might > be doing wrong. > > the tag that is used in scm_new_smob in my example is not correctly > exported from my lib. > > I am mot sure about this and i don't understand it fully, but if i > create a new tag just before using it in calls to scm_new_smob the > library will load in guile. > > So this bug should be probebly be closed. Okay, thanks for letting us know. I'm closing the bug now. Mark
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |