www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - dmd build fail

reply Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
from revision 560 I'm getting

/usr/bin/ld: evalu8.o: undefined reference to symbol 
'fetestexcept  GLIBC_2.1'
/usr/bin/ld: note: 'fetestexcept  GLIBC_2.1' is defined in DSO 
/lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

from

make -f linux.mak

any ideas?
Jun 27 2010
parent Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
On 06/27/2010 11:01 AM, Ellery Newcomer wrote:
 from revision 560 I'm getting

 /usr/bin/ld: evalu8.o: undefined reference to symbol
 'fetestexcept  GLIBC_2.1'
 /usr/bin/ld: note: 'fetestexcept  GLIBC_2.1' is defined in DSO
 /lib/libm.so.6 so try adding it to the linker command line
 /lib/libm.so.6: could not read symbols: Invalid operation
 collect2: ld returned 1 exit status

 from

 make -f linux.mak

 any ideas?
Yay, I figured it out. -lm to the dmd rule
Jun 28 2010