guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ntp:hackers/Guile devel] ntp-dev changes


From: Bruce Korb
Subject: Re: [ntp:hackers/Guile devel] ntp-dev changes
Date: Sun, 16 Apr 2006 09:55:28 -0700
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)

Rob Browning wrote:
Bruce Korb <address@hidden> writes:


Guile folks, please, how is this supposed to work? The guile.c
module needs to see all three of these code fragments to compile
correctly.  Anyway, for me it builds with GCC 3.x and fails with
4.x, but looks like it should fail no matter what the compiler. What
gives?


I think this may have been fixed in 1.6 CVS.  If so, the 1.6.8-rc1
test archive that I recently announced should contain the changes.

I haven't pulled CVS, but if this crucial "fix" is simply:

$ diff -u $(find guile-1.6.7  guile-1.6.7-build -name guile.c)
--- guile-1.6.7/libguile/guile.c        2002-12-07 14:41:32.000000000 -0800
+++ guile-1.6.7-build/libguile/guile.c  2006-04-16 09:48:21.402050194 -0700
@@ -88,8 +88,8 @@
 {
 #ifdef DYNAMIC_LINKING
   /* libtool automagically inserts this variable into your executable... */
-  extern const scm_lt_dlsymlist lt_preloaded_symbols[];
-  scm_lt_dlpreload_default (lt_preloaded_symbols);
+  extern const int lt_preloaded_symbols;
+  scm_lt_dlpreload_default ((scm_lt_dlsymlist*)&lt_preloaded_symbols);
 #endif
   scm_boot_guile (argc, argv, inner_main, 0);
   return 0; /* never reached */

then it would be "really nice" to bump out a 1.6 & 1.8 patch asap
and include any other more destabilizing fixes in a later patch.
Thanks - Bruce




reply via email to

[Prev in Thread] Current Thread [Next in Thread]