POV-Ray : Newsgroups : povray.unix : Re: Input file size restrictions?? : Re: Input file size restrictions?? Server Time
1 Jun 2024 04:52:49 EDT (-0400)
  Re: Input file size restrictions??  
From: Warp
Date: 6 May 2006 12:19:28
Message: <445ccc8e@news.povray.org>
Nicolas Calimet <pov### [at] freefr> wrote:
> ./configure COMPILED_BY=you --disable-optimiz CXX=icpc CXXFLAGS="-O3 -ip"

  I have been for long time wanting to try to compile povray with icc,
and this post inspired me to download it and try.

  The registration (for downloading the compiler and getting the
registration code) and installation process went just fine, except for
the registration to the support forum, which failed for some unexplained
reason. (It might be that since I had already registered there with my
email address, trying to register again with the same address failed,
but the installer didn't tell the reason why it failed.)

  Well, the installer jumped back to the main menu (which now told me
that it had detected icc 9.0 as being installed) so I exited.

  No binary (icc, icpc or anything). I quickly discovered that the
installer had installed everything ok into /opt/intel, but it had
both failed to give read and execution rights to those directories
and it had not created any links to the actual binaries into a
directory in my path (eg. /usr/bin). This seemed odd and a strong
symptom of something having gone wrong and the installation process
having not completed completely.

  Anyways, not knowing what else to do, I set the reading and executing
rights to the proper directories there and created a link to icc
(into /usr/local/bin) as well as added the lib directory to my
LD_LIBRARY_PATH (something which I quickly realized was necessary in
order to run any programs compiled with icc, and another sympton of
the installation having not completed completely successfully).

  A simple hello world program as well as a simple gtk example program
compiled and ran just fine now.

  However, when I tried to compile povray after configuring it as
suggested, the compilation itself went fine, but linking the final
binary was unsuccessful. icc gave several dozens of pages of "undefined
reference to" errors. The huge list starts like this:

unix.o(.gcc_except_table+0x457): undefined reference to `typeinfo for char const*'
unix.o(.gcc_except_table+0x45b): undefined reference to `typeinfo for int'
unix.o(.gcc_except_table+0xe63): undefined reference to `typeinfo for int'
unix.o(.text+0x3d0): In function `main':
unix.cpp: undefined reference to `operator new[](unsigned int)'
unix.o(.text+0x4bd):unix.cpp: undefined reference to `__cxa_begin_catch'
unix.o(.text+0x4e4):unix.cpp: undefined reference to `__cxa_end_catch'
unix.o(.text+0x528):unix.cpp: undefined reference to `__cxa_end_catch'
...

  Rather unusually, I'm rather puzzled and have no idea what to do
about it. I can't even begin to imagine what could be causing this,
except that it's most probably caused by the (for some reason) incomplete
installation procedure, somehow.
  Given that my previous small tests compiled and ran just fine, I just
have no idea what could be causing this.

  Curiously, I am having problems with Intel's online support system
as well. I can log in to their system (and it correctly says "logged
in as <my email>"), but when I try to click on the "Intel Premier Support"
link, it jumps to a page which says "You are attempting to access Intel
Premier Support but you do not have a user account."

  Why am I experiencing all these problems I have never heard anyone else
having?

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.