guile-user
[Top][All Lists]
Advanced

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

Re: SCM_LENGTH ???


From: Bruce Korb
Subject: Re: SCM_LENGTH ???
Date: Fri, 07 Jan 2005 09:31:14 -0800

Hi Guile folks,

I got this problem report based on Guile 1.7.1.
I do not know what Guile 1.7.1 is supposed to be, but
my stuff still works against 1.6.7.  I do hope you are
not planning to eliminate SCM_LENGTH and SCM_SUBSTRP!!
Where did 1.7.1 come from anyway???

Thanks !  Regards, - Bruce

"SourceForge.net" wrote:
> 
> Support Requests item #1097543, was opened at 2005-01-06 15:54
> Message generated for change (Comment added) made by mckelvey
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=203593&aid=1097543&group_id=3593
> 
> Category: None
> Group: None
> Status: Open
> Priority: 5
> Submitted By: James W. McKelvey (mckelvey)
> Assigned to: Bruce Korb (bkorb)
> Summary: 5.6.5 Build Failure on Cygwin
> 
> Initial Comment:
> Link failure on symbols beginning with "SCM".
> 
> ./configure --disable-nls --disable-shared
> 
> $ uname -a
> CYGWIN_NT-5.1 jmckelvey-xp 1.5.12(0.116/4/2) 2004-11-10
> 08:34 i686 unknown unkno
> wn Cygwin
> 
> address@hidden ~/utilities/autogen-5.6.5
> $ cc -v
> Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.1/specs
> Configured with: /gcc/3.4/gcc-3.4.1-1/configure
> --verbose --prefix=/usr --exec-p
> refix=/usr --sysconfdir=/etc --libdir=/usr/lib
> --libexecdir=/usr/lib --mandir=/u
> sr/share/man --infodir=/usr/share/info
> --enable-languages=c,ada,c++,f77,java,obj
> c --enable-nls --without-included-gettext
> --enable-libgcj --with-system-zlib --e
> nable-interpreter --enable-threads=posix
> --enable-java-gc=boehm --enable-sjlj-ex
> ceptions --disable-version-specific-runtime-libs
> --disable-win32-registry
> Thread model: posix
> gcc version 3.4.1 (cygming special)
> 
> <snip>
> cc -g -O2 -o autogen.exe autogen-ag.o
> -Wl,-R/usr/local/lib -Wl,--export-dynamic
> ../autoopts/.libs/libopts.a /usr/lib/libguile.dll.a
> /usr/lib/libintl.dll.a /usr/lib/libiconv.dll.a
> /usr/lib/libguile-ltdl.dll.a /usr/lib/libltdl.dll.a
> /usr/lib/libgmp.dll.a -lcrypt
> autogen-ag.o(.text+0x4a26): In function `ag_scm_dne':
> /cygdrive/c/jimdata/home/utilities/autogen-5.6.5/agen5/expFormat.c:161:
> undefined reference to `_SCM_LENGTH'
> autogen-ag.o(.text+0x4a49): In function `ag_scm_dne':
> /cygdrive/c/jimdata/home/utilities/autogen-5.6.5/agen5/autogen.h:481:
> undefined reference to `_SCM_SUBSTRP'
> autogen-ag.o(.text+0x4a59):/cygdrive/c/jimdata/home/utilities/autogen-5.6.5/agen5/autogen.h:482:
> undefined reference to `_SCM_CHARS'      etc ...
> 
> ----------------------------------------------------------------------
> 
> >Comment By: James W. McKelvey (mckelvey)
> Date: 2005-01-07 08:42
> 
> Message:
> Logged In: YES
> user_id=4633
> 
> $ guile --version
> Guile 1.7.1
> 
> address@hidden ~
> $ guile-config link
>  -lguile -lguile-ltdl -lgmp -lcrypt -lm
> 
> address@hidden ~
> $ guile-config compile
> -I /nonexistent/include
> 
> Oddly, this version is later than the version available from
> Gnu. The symbols.h file is completely different from the 1.6.7
> version.
> 
> I'm running a recently upgraded Cygwin with the latest (Exp)
> stuff.
> 
> ----------------------------------------------------------------------
> 
> Comment By: Bruce Korb (bkorb)
> Date: 2005-01-06 16:22
> 
> Message:
> Logged In: YES
> user_id=19940
> 
> What version of Guile are you using.  e.g. line 161 of expFormat.c:
> 
>     if (SCM_LENGTH( prefix ) > 128 )
>         AG_ABEND( aprf( zPfxMsg, zPfxLen, 128 ));
> 
> should be defined in the libguile symbols.h header:
> 
> ./libguile/symbols.h:#define SCM_LENGTH(x) \
>   (((unsigned long) SCM_CELL_WORD_0 (x)) >> 8)
> 
> Type: "guile-config link" and "guile-config compile" and
> "guile --version" to get the interesting information.
> Thanks




reply via email to

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