View Issue Details

IDProjectCategoryView StatusLast Update
0014237Open CASCADEOCCT:Configurationpublic2010-06-29 19:01
ReportervsrAssigned Tovtn 
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSLinux 
Fixed in Version6.2.0 
Summary0014237: Problem of CASCADE compilation : pthread symbols are not resolved
DescriptionThe compilation of CASCADE (with GNU make) on Linux Mandrake 10.1 is failed with
the following error:
...
/data/vsr-local/salome_3.2.4/tmp/INSTALLWORK1103/CAS-6.1.2a2/adm/make/TKernel/.libs/libTKernel.so:
undefined reference to `pthread_detach'
/data/vsr-local/salome_3.2.4/tmp/INSTALLWORK1103/CAS-6.1.2a2/adm/make/TKernel/.libs/libTKernel.so:
undefined reference to `pthread_join'
collect2: ld returned 1 exit status

The problem is that OCC is not linked directly against the libpthread.so - there
is no -lpthread linkage option in the make files.

It is necessary to improve the configuration procedure of CASCADE by adding the
check for the pthread libraries and setting the corresponding
compilation/linkage flags (as it is done for example for the GL libraries).
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2006-12-15 12:35 bugmaster Assigned To bugmaster => apv
2006-12-15 12:35 bugmaster Status new => assigned
2006-12-15 12:35 bugmaster Category => DEVENV
2006-12-15 12:35 bugmaster QAContact in development version => bugmaster
2007-02-14 15:40 bugmaster Assigned To apv => vtn
2010-06-29 19:01 bugmaster Status assigned => closed
2010-06-29 19:01 bugmaster Resolution @0@ => fixed
2011-08-02 11:15 bugmaster Category OCCT:DEVENV => OCCT:Development Environment
2014-01-11 11:58 abv Category OCCT:Development Environment => OCCT:Configuration