Calciumf.c SIZEOF_INT must be defined

I am trying to compile the kernel but the above error occurs.
In the includes a comment suggests that sizeof_long is defined in omniconfig.h however I cannot see where sizeof_long should be.

Some help with this would be much appreciated.

Hello, this is due to OmniORB version 4.3.0. They redefined the names of these types.

The patch is simple

In the file KERNEL/src/DSC/DSC_User/Datastream/Calcium/calciumf.c everywhere you see directives that check for SIZEOF_* replace it with OMNI_SIZEOF_*

Best regards,
Gregor Simic

1 Like

Also which SALOME version are you trying to build and how?

Thats fantastic thanks for the help. Im trying to build salome from the git repos so its on master and lists it as salome 12. I dont know if im torturing myself for nothing but there are several external packages that bind to salome and i was hoping to build it from source to make that easier.

This hasn’t made its way into the git package yet.

That is because in the distribution they still use OmniORB version < 4.3.0. And not all distributions will have the latest version of OmniORB installed.

I do not know if SAT also gives out the version of installed packages. All I see that the SAT checks if it is installed on the system.

This could be a feature request if it is not on their roadmap already.

1 Like