From: Akos B. <edh...@cs...> - 2002-12-30 18:58:52
|
Hi guys, I've tried to compile GLU from the Mesa-4.0.4 distribution on my Debian (Woody) notebook with icc 6.0, but at the linking stage it fails mysteriously: [...] icc -shared dummy.o --whole-archive libnurbs/interface/.libs/libNIFac.al libnurbs/internals/.libs/libNInt.al libnurbs/nurbtess/.libs/libNTess.al libtess/.libs/libtess.al libutil/.libs/libutil.al --no-whole-archive -L/home/edhellon/sources/Mesa-4.0.4/src -lGL libnurbs/interface/.libs/libNIFac.al libnurbs/internals/.libs/libNInt.al libnurbs/nurbtess/.libs/libNTess.al libtess/.libs/libtess.al libutil/.libs/libutil.al -lc -soname libGLU.so.1 -o .libs/libGLU.so.1.3.404 icc: Command line warning: ignoring unknown option '--whole-archive' icc: Command line warning: ignoring unknown option '--no-whole-archive' icc: Command line warning: ignoring unknown option '-soname' ld: cannot open libGLU.so.1: No such file or directory make[1]: *** [libGLU.la] Error 1 make[1]: Leaving directory /home/edhellon/sources/Mesa-4.0.4/si-glu' make: *** [all-recursive] Error 1 The above linkline is obviously incorrect, so I tried linking manually: edhellon@bridget:~/sources/Mesa-4.0.4/si-glu$ icc -shared dummy.o libnurbs/interface/.libs/libNIFac.al libnurbs/internals/.libs/libNInt.al libnurbs/nurbtess/.libs/libNTess.al libtess/.libs/libtess.al libutil/.libs/libutil.al -L/home/edhellon/sources/Mesa-4.0.4/src -lGL libnurbs/interface/.libs/libNIFac.al libnurbs/internals/.libs/libNInt.al libnurbs/nurbtess/.libs/libNTess.al libtess/.libs/libtess.al libutil/.libs/libutil.al -lc -o .libs/libGLU.so.1.3.404 ld: .libs/libGLU.so.1.3.404: undefined versioned symbol name __register_frame_info@@GLIBC_2.0 ld: failed to set dynamic section sizes: Bad value That's where I also fail. :) I haven't looked deeply into the problem so it might just be my fault but just in case anyone tried to build GLU w/ icc on Debian 3.0 before I'd be grateful for tips. :) I only need this because I want to use OpenSG on my laptop with icc, and that unfortunately requires recompiling libGLU. I've tried using Gerrit's precompiled libGLU (for RH8.0) but - although the list of dinamically loaded so's seem correct - the testprograms segfault using that one. Last but definitely not least, Happy New Year to everyone on the list. :) Thanks in advance, Akos Balazs |