08-26-2015 09:09 AM
08-26-2015 11:41 AM
You didn't supply rpyfmm.h, nor did you indicate which compiler you are using.
There are many helpful posts about segfaults, such as
which might help you narrow the question down to something worth discussing.