[ATrpms-devel] CGAL FC6

Paulo Cavalcanti promac at gmail.com
Mon Oct 30 13:46:51 CET 2006


Hi,

I installed CGAL from Fedora extras for FC6.

When I try to link I always get this error:

g++  -o chull chull.o -Wall -frounding-math -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables        -I/usr/lib/qt-3.3/include           -g
-lCGAL         -L/usr/lib/qt-3.3/lib    -lCGAL  -lCGALQt -lqt-mt  -lz
-lmpfr  -lgmpxx  -lgmp  -lX11  -lboost_program_options   -lm  -lglut -lGLU
-lGL -lXmu -lXi
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libCGALQt.so: undefined
reference to `vtable for CGAL::Kinetic::internal::Qt_core'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libCGALQt.so: undefined
reference to `CGAL::Kinetic::internal::Qt_core::Qt_core()'
collect2: ld returned 1 exit status

In /usr/lib there is a symbolic link:

/usr/lib/libCGALQt.so.1Kinetic_Qt_core.o -> libCGALQt.so.1.0.1

I tried to recompile the .src.rpm, and although everything went fine, I got
the same error.
Then, I removed CGAL from FC6 and installed the same version for FC5.
No problem. The linking goes fine. But there is no
/usr/lib/libCGALQt.so.1Kinetic_Qt_core.o
in /usr/lib anymore (in a FC5 system this symbolic link does not exist
also).

I looked at the sources and they are the same for FC5 and FC6. Same patches,
no difference.
To be sure I recompiled the source rpm for FC5, and got the same linking
error,
and /usr/lib/libCGALQt.so.1Kinetic_Qt_core.o reappeared.

Well, the only explanation is the compiler version.
I am fine running CGAL for FC5, but does anyone have an explanation
for this?

I know this has nothing to do with ATrpms, but maybe I am just
skipping something.

Thanks,

/Paulo Roma.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20061030/884b788b/attachment.html 


More information about the atrpms-devel mailing list