NetBSD-Users archive

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

Re: undefined references in libstdc++.so? this looks bad...



Larson, Timothy E. wrote:
> 
> What's it mean?  Did the library get corrupted?
> 
> /usr/lib/libstdc++.so: undefined reference to `log'
> /usr/lib/libstdc++.so: undefined reference to `sqrt'
> /usr/lib/libstdc++.so: undefined reference to `cosh'
> /usr/lib/libstdc++.so: undefined reference to `ceil'
> /usr/lib/libstdc++.so: undefined reference to `floor'

That you need to add the math library (libm) to your linker command?  

--jkl


Home | Main Index | Thread Index | Old Index