Almost definetly not your fault

Kendall S Hunter hunterk@sprocket.Colorado.EDU
Tue Nov 2 18:49:00 GMT 1999


I'm sorry, I've just spend an hour looking for updated information without
any luck.

Ever since upgrading to RedHat 6.0, I have been unable to use the piece of
code provided "trapfpe.c" to trap floating point exceptions. Instead, the
link responds:

libtrapfpe.a: In function `trapfpe':
libtrapfpe.a(.text+0x9): undefined reference to `__setfpucw'
collect2: ld returned 1 exit status

I've used nm to look at libc-2.1.1, and to the best of my limited knowledge
__setfpucw seems to be defined. What's the problem?

Thanks for any help...

Kendall Hunter



More information about the Gcc-bugs mailing list