bugGuile - Bugs: bug #17344, Problem compiling guile 1.8.0

 
 

bug #17344: Problem compiling guile 1.8.0

Submitted by:  Pierre <pierre42>
Submitted on:  Sun 06 Aug 2006 10:09:56 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 30 Nov 2008 06:57:41 PM UTC, comment #3:

Hello,

This problem has to do with the interaction between Libtool 1.5 and <ltdl.h> from Libtool 2.2. Hopefully, this is fixed by the two attached patches:

http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=664d1f5eb211d0ffd65f227e65d1fc02ef1bc8c0
http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=0328bf6a0e42c0c04908fb24c5f7d0c8d5133ea3

The forthcoming 1.8.6 release will use Libtool 2.2.

Thanks,
Ludo'.

Ludovic Courtès <civodul>
Project Administrator
Wed 06 Aug 2008 01:19:40 PM UTC, comment #2:

That patch didn't work for me, I get the same build failure. Completely removing this part works fine, though, as done in Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=212723

Martin Pitt <martinpitt>
Mon 30 Jun 2008 07:50:48 PM UTC, comment #1:

Hello,

Can you try out the attached patch and report back?

To apply it:

$ cd /path/to/guile
$ patch -p1 < /path/to/patch

Thanks,
Ludovic.

(file #15966)

Ludovic Courtès <civodul>
Project Administrator
Sun 06 Aug 2006 10:09:56 PM UTC, original submission:

# make
make all-recursive
make[1]: Entering directory `/tmp/guile-1.8.0'
Making all in oop
make[2]: Entering directory `/tmp/guile-1.8.0/oop'
Making all in goops
make[3]: Entering directory `/tmp/guile-1.8.0/oop/goops'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/guile-1.8.0/oop/goops'
make[3]: Entering directory `/tmp/guile-1.8.0/oop'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/guile-1.8.0/oop'
make[2]: Leaving directory `/tmp/guile-1.8.0/oop'
Making all in libguile
make[2]: Entering directory `/tmp/guile-1.8.0/libguile'
/bin/sh ../libtool --tag=CC --mode=link gcc -s -O3 -march=i686 -Wall -Wmissing-prototypes -Werror -o guile -dlpreopen force -pthread guile-guile.o libguile.la -lgmp -lcrypt -lm -lltdl
rm -f .libs/guile.nm .libs/guile.nmS .libs/guile.nmT
creating .libs/guileS.c
(cd .libs && gcc -s -O3 -march=i686 -c -fno-builtin "guileS.c")
rm -f .libs/guileS.c .libs/guile.nm .libs/guile.nmS .libs/guile.nmT
gcc -s -O3 -march=i686 -Wall -Wmissing-prototypes -Werror -o .libs/guile .libs/guileS.o -pthread guile-guile.o -Wl,--export-dynamic ./.libs/libguile.so /usr/local/lib/libgmp.so -lcrypt -lm /usr/local/lib/libltdl.so
guile-guile.o: In function `main':
guile.c:(.text+0x2f): undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
collect2: ld returned 1 exit status
make[2]: *** [guile] Error 1
make[2]: Leaving directory `/tmp/guile-1.8.0/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/guile-1.8.0'
make: *** [all] Error 2

Pierre <pierre42>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #15966:  ,,ltdl-preloaded-symbols.diff added by civodul (814B - text/x-diff - A patch that potentially fixes the problem)
file #15964:  guile-1.8.5-make_error.txt added by None (1KiB - text/plain - While compiling guile-1.8.5 on Solaris 10 sparc using gcc3.4.3, get a similar error. Commenting out the suggested lines in guile.c allowed make to finish.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by martinpitt (Posted a comment)
  • -unavailable- added by civodul (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 30 Nov 2008 06:57:41 PM UTCcivodulOpen/ClosedOpen=>Closed
    Mon 30 Jun 2008 07:50:48 PM UTCcivodulAttached File-=>Added ,,ltdl-preloaded-symbols.diff, #15966
    Mon 30 Jun 2008 04:55:51 PM UTCNoneAttached File-=>Added guile-1.8.5-make_error.txt, #15964

    Back to the top


    Powered by Savane 3.1-cleanup1