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

 
 

bug #17344: Problem compiling guile 1.8.0

Submitter:  Pierre <pierre42>
Submitted:  Sun 06 Aug 2006 10:09:56 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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 Files:
   
   
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
  • -email is unavailable- added by martinpitt (Posted a comment)
  • -email is unavailable- added by civodul (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-11-30 civodul Open/ClosedOpen Closed
    2008-06-30 civodul Attached File- Added ,,ltdl-preloaded-symbols.diff, #15966
    2008-06-30 None Attached File- Added guile-1.8.5-make_error.txt, #15964

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code