Hi Dirk,

I'm not sure if it's the same problem, but we were having issues with
icc 8.1 under Red Hat on our Prism system (after upgrading one of our
service packs)

Our fix was to download a new version of os_defines.h from Intel. 

- basically take os_defines from 

http://www.intel.com/software/products/compilers/downloads/os_defines.h.90

and use this to overwrite the Red Hat version (in our case
to /usr/include/c++/3.2.3/ia64-redhat-linux/bits/os_defines.h )

We had slightly different errors to you, but I've just tried your code
using our old os_defines, + that fails (with the fix it works)....  but
then again our problem was whenever we included <iostream>... So this
may help, but then again may not!

Good luck, + cheers - Adrian


On Tue, 2005-07-05 at 13:08 -0500, Dirk Reiners wrote:
>       Hi everybody,
> 
> I'm having problem with the Intel compiler on Linux that I can't seem to
> find a solution for.
> 
> For some reason icc uses the gcc stdlib headers for things like cmath.
> These use compiler-specific builtin functions that the intel compilers
> doesn't know, so linking fails. I've cut it down to the following
> program:
> 
> #include <cmath>
> #include <iostream>
> 
> int main(int argc, char *argv[])
> {
>     std::cout << std::exp(1.f) << std::endl;
> 
>     return 0;
> }
> 
> Trying to compile this results in:
> 
> % icc -o mtest mtest.cpp
> /tmp/iccOOwkqX.o(.text+0x1a): In function `main':
> : undefined reference to `__builtin_expf'
> 
> Am I the only one having that problem? Any ideas how to solve it?
> 
> Thanks
> 
>       Dirk
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to