This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Trouble compiling SMOBs


I'm attempting to link guile with an RDF database and some strange things are happening.  I use two computers at work, both running Red Hat 6.1.  One one machine everything compiles and runs just fine.  On the second I can get the stand-along guile interpreter to install and run just fine, but when I try to compile the (unmodified) SMOB example I get the following error:
gcc image-type.o myguile.o `guile-config link` -o myguile
image-type.o: In function `make_image':
image-type.o(.text+0xef): undefined reference to `SCM_RETURN_NEWSMOB'
image-type.o: In function `init_image_type':
image-type.o(.text+0x28e): undefined reference to `scm_make_smob_type_mfpe'
collect2: ld returned 1 exit status
make: *** [myguile] Error 1
The only difference between the machines is the version of gcc.  On the one that works it's version 2.91.  On the one that doesn't it's version 2.95.2.  Anybody have an idea what's wrong here?

    Many thanks,
    Steve

--
Take off. Nuke the site from orbit. It's the only way to be sure.
 

begin:vcard 
n:Greenberg;Steven
tel;fax:650.210.0710
tel;work:650.210.2335
x-mozilla-html:TRUE
url:http://www.epinions.com/
org:Epinions
adr:;;2037 Landings Drive;Mountain View;CA;94043;
version:2.1
email;internet:greenbes@epinions.com
title:Engineer, iconoclast
fn:Steven Greenberg
end:vcard

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]