For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Errors, compiling on Linux

Anonymous's picture
Forums: 

I tried to compile CAS3.0 on an Intel Linux box as described in the sourceREADME document, with the files found in the source*-3.0PR2.tar.gz archives. But already with Foundationclasses I get an ERROR in the OSD-toolbox:

CAS3.0/src/OSD/OSD_Disk.cxx:32: sys/statvfs.h: No such file or directory

CAS3.0/src/OSD/OSD_Semaphore.cxx:47: redefinition of `union semun'

/usr/include/sys/sem_buf.h:62: previous definition here

CAS3.0/src/OSD/OSD_Semaphore.cxx: In method `void OSD_Semaphore::Restore()':

CAS3.0/src/OSD/OSD_Semaphore.cxx:195: no matching function for call to `semun::semun ()'

CAS3.0/src/OSD/OSD_Semaphore.cxx:51: candidates are: semun::semun(const semun &)

CAS3.0/src/OSD/OSD_Semaphore.cxx: In method `void OSD_Semaphore::SetCounter(Standard_Integer)':

CAS3.0/src/OSD/OSD_Semaphore.cxx:221: no matching function for call to `semun::semun ()'

CAS3.0/src/OSD/OSD_Semaphore.cxx:51: candidates are: semun::semun(const semun &)

CAS3.0/src/OSD/OSD_Semaphore.cxx: In method `Standard_Integer OSD_Semaphore::GetCounter()':

CAS3.0/src/OSD/OSD_Semaphore.cxx:246: no matching function for call to `semun::semun ()'

CAS3.0/src/OSD/OSD_Semaphore.cxx:51: candidates are: semun::semun(const semun &)

etc .... I think the first one is crucial!

Any help appreciated because this was intended to be only testcase for compiling a Linux-Alpha binary! So far the test failed!

BTW.: The Linux is SuSE 6.1 on Pentium II

Thomas