From: Rahul Jain
Subject: CMUCL compilation error
Date: 
Message-ID: <8apst8$efu$1@joe.rice.edu>
I'm following the install instructions by Martin Cracauer, but when I "make all"
in
the lisp/ directory, I get the following linker error:

interrupt.o: In function `interrupt_handle_now':
/usr/src/cmucl/cmucl-src/lisp/interrupt.c:270: undefined reference to
`__setfpucw'
interrupt.o: In function `maybe_now_maybe_later':
/usr/src/cmucl/cmucl-src/lisp/interrupt.c:359: undefined reference to
`__setfpucw'
Linux-os.o: In function `os_init':
/usr/src/cmucl/cmucl-src/lisp/Linux-os.c:100: undefined reference to
`__setfpucw'
collect2: ld returned 1 exit status
make: *** [lisp] Error 1

The symbol IS defined in libc.so:
$ objdump --syms /lib/libc.so.6 | grep __setfpucw
0001f580 l     F .text  00000028              __setfpucw

So does anyone know why this is happening, or better yet, how to fix it?

BTW, I'm using glibc 2.1.3 and egcs 1.1.2 on a RH Linux 5.2/6.0/6.1/6.2beta
system (various packages from various versions)

-- 
-> -\-=-=-=-=-=-=-=-=-=-/^\-=-=-=<*><*>=-=-=-/^\-=-=-=-=-=-=-=-=-=-/- <-
-> -/-=-=-=-=-=-=-=-=-=/ {  Rahul -<>- Jain   } \=-=-=-=-=-=-=-=-=-\- <-
-> -\- "I never could get the hang of Thursdays." - HHGTTG by DNA -/- <-
-> -/- http://photino.sid.rice.edu/ -=- ·················@usa.net -\- <-
|--|--------|--------------|----|-------------|------|---------|-----|-|
   Version 11.423.999.210020101.23.50110101.042
   (c)1996-2000, All rights reserved. Disclaimer available upon request.
From: Pierre R. Mai
Subject: Re: CMUCL compilation error
Date: 
Message-ID: <87em9bfbzx.fsf@orion.dent.isdn.cs.tu-berlin.de>
Rahul Jain <·····@rice.edu> writes:

> I'm following the install instructions by Martin Cracauer, but when I "make all"
> in
> the lisp/ directory, I get the following linker error:
> 
> interrupt.o: In function `interrupt_handle_now':
> /usr/src/cmucl/cmucl-src/lisp/interrupt.c:270: undefined reference to
> `__setfpucw'

> So does anyone know why this is happening, or better yet, how to fix it?

You'll need to get newer sources, which take into account the API
changes of glibc 2.1 vs. 2.0.  Since you seem to have a running CMUCL, 
it seems you already have newer binaries, so getting the corresponding 
sources should fix the problems.  See www.cons.org for information
about mailing lists you could join, where recompilation issues of
CMUCL can be discussed with the "pros"... :)

Another approach that I find quite helpful is using Peter van Eynde's
Debian packages (you'll need the ones from frozen/unstable for glibc
2.1) and the corresponding sources.  This will give you recompiles
with a simple call to make.

Regs, Pierre.

-- 
Pierre Mai <····@acm.org>         PGP and GPG keys at your nearest Keyserver
  "One smaller motivation which, in part, stems from altruism is Microsoft-
   bashing." [Microsoft memo, see http://www.opensource.org/halloween1.html]