unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* guile-1.8.4 build failed on Leopard.
@ 2008-04-11  7:50 Steven Wu
  2008-04-11 12:40 ` Greg Troxel
  2008-04-11 13:21 ` Marijn Schouten (hkBst)
  0 siblings, 2 replies; 4+ messages in thread
From: Steven Wu @ 2008-04-11  7:50 UTC (permalink / raw)
  To: guile-devel

Hi,

I was building guile-1.8.4 on my macbook pro, and I found the linking  
problem. Here is the configure command I typed:
  ./configure --prefix=/usr --with-threads --enable-shared

and here is the make.log tail:

(cd .libs && gcc  -g -O2 -c -fno-builtin "guileS.c")
rm -f .libs/guileS.c .libs/guile.nm .libs/guile.nmS .libs/guile.nmT
gcc -D_THREAD_SAFE -g -O2 -Wall -Wmissing-prototypes -Werror .libs/ 
guileS.o -D_THREAD_SAFE -o .libs/guile guile-guile.o  ./.libs/ 
libguile.dylib -lintl -lgmp -lm -lltdl
Undefined symbols:
   "_lt__PROGRAM__LTX_preloaded_symbols", referenced from:
       _lt__PROGRAM__LTX_preloaded_symbols$non_lazy_ptr in guile-guile.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [guile] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The problem seems to be related to gnu libtool. Has anyone seen this  
problem before?

steve




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: guile-1.8.4 build failed on Leopard.
  2008-04-11  7:50 guile-1.8.4 build failed on Leopard Steven Wu
@ 2008-04-11 12:40 ` Greg Troxel
  2008-04-11 13:21 ` Marijn Schouten (hkBst)
  1 sibling, 0 replies; 4+ messages in thread
From: Greg Troxel @ 2008-04-11 12:40 UTC (permalink / raw)
  To: Steven Wu; +Cc: guile-devel

I intend to get around to fixing guile building from pkgsrc on mac os x,
but have not.  Someone in my group when working on amanda I think found
that 10.5 libtool was messed up.  So you might try pkgsrc (at
pkgsrc.org) and build guile and see what happens - I suspect it builds
libtool from pkgsrc and that one is ok.  But I could be totally off here.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: guile-1.8.4 build failed on Leopard.
  2008-04-11  7:50 guile-1.8.4 build failed on Leopard Steven Wu
  2008-04-11 12:40 ` Greg Troxel
@ 2008-04-11 13:21 ` Marijn Schouten (hkBst)
  2008-04-12  4:21   ` Steven Wu
  1 sibling, 1 reply; 4+ messages in thread
From: Marijn Schouten (hkBst) @ 2008-04-11 13:21 UTC (permalink / raw)
  To: Steven Wu; +Cc: guile-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steven Wu wrote:
| Hi,
|
| I was building guile-1.8.4 on my macbook pro, and I found the linking
| problem. Here is the configure command I typed:
|  ./configure --prefix=/usr --with-threads --enable-shared
|
| and here is the make.log tail:
|
| (cd .libs && gcc  -g -O2 -c -fno-builtin "guileS.c")
| rm -f .libs/guileS.c .libs/guile.nm .libs/guile.nmS .libs/guile.nmT
| gcc -D_THREAD_SAFE -g -O2 -Wall -Wmissing-prototypes -Werror
| .libs/guileS.o -D_THREAD_SAFE -o .libs/guile guile-guile.o
| ./.libs/libguile.dylib -lintl -lgmp -lm -lltdl
| Undefined symbols:
|   "_lt__PROGRAM__LTX_preloaded_symbols", referenced from:
|       _lt__PROGRAM__LTX_preloaded_symbols$non_lazy_ptr in guile-guile.o
| ld: symbol(s) not found
| collect2: ld returned 1 exit status
| make[3]: *** [guile] Error 1
| make[2]: *** [all] Error 2
| make[1]: *** [all-recursive] Error 1
| make: *** [all] Error 2
|
| The problem seems to be related to gnu libtool. Has anyone seen this
| problem before?
|
| steve

It looks similar to this bug[1] (with patch[2]). Did you use libtool-2.2?

[1]:http://bugs.gentoo.org/show_bug.cgi?id=212723
[2]:http://bugs.gentoo.org/attachment.cgi?id=145645

Marijn

- --
Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf/ZekACgkQp/VmCx0OL2x0BQCfVhz3I3I8QYGhk5LCEUPGUm1F
G14AoKPVY54mUKBBGMxbVncwhs6hho5Q
=F1gl
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: guile-1.8.4 build failed on Leopard.
  2008-04-11 13:21 ` Marijn Schouten (hkBst)
@ 2008-04-12  4:21   ` Steven Wu
  0 siblings, 0 replies; 4+ messages in thread
From: Steven Wu @ 2008-04-12  4:21 UTC (permalink / raw)
  To: Marijn Schouten (hkBst); +Cc: guile-devel

thanks, I found the bug last night, it was libtool's ltdl.h didn't get  
generated properly. I'll let libtool people know about it.

steve
On Apr 11, 2008, at 6:21 AM, Marijn Schouten (hkBst) wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Steven Wu wrote:
> | Hi,
> |
> | I was building guile-1.8.4 on my macbook pro, and I found the  
> linking
> | problem. Here is the configure command I typed:
> |  ./configure --prefix=/usr --with-threads --enable-shared
> |
> | and here is the make.log tail:
> |
> | (cd .libs && gcc  -g -O2 -c -fno-builtin "guileS.c")
> | rm -f .libs/guileS.c .libs/guile.nm .libs/guile.nmS .libs/guile.nmT
> | gcc -D_THREAD_SAFE -g -O2 -Wall -Wmissing-prototypes -Werror
> | .libs/guileS.o -D_THREAD_SAFE -o .libs/guile guile-guile.o
> | ./.libs/libguile.dylib -lintl -lgmp -lm -lltdl
> | Undefined symbols:
> |   "_lt__PROGRAM__LTX_preloaded_symbols", referenced from:
> |       _lt__PROGRAM__LTX_preloaded_symbols$non_lazy_ptr in guile- 
> guile.o
> | ld: symbol(s) not found
> | collect2: ld returned 1 exit status
> | make[3]: *** [guile] Error 1
> | make[2]: *** [all] Error 2
> | make[1]: *** [all-recursive] Error 1
> | make: *** [all] Error 2
> |
> | The problem seems to be related to gnu libtool. Has anyone seen this
> | problem before?
> |
> | steve
>
> It looks similar to this bug[1] (with patch[2]). Did you use  
> libtool-2.2?
>
> [1]:http://bugs.gentoo.org/show_bug.cgi?id=212723
> [2]:http://bugs.gentoo.org/attachment.cgi?id=145645
>
> Marijn
>
> - --
> Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
> <http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkf/ZekACgkQp/VmCx0OL2x0BQCfVhz3I3I8QYGhk5LCEUPGUm1F
> G14AoKPVY54mUKBBGMxbVncwhs6hho5Q
> =F1gl
> -----END PGP SIGNATURE-----
>





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-12  4:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-11  7:50 guile-1.8.4 build failed on Leopard Steven Wu
2008-04-11 12:40 ` Greg Troxel
2008-04-11 13:21 ` Marijn Schouten (hkBst)
2008-04-12  4:21   ` Steven Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).