3 reasons for this issue are possible:
The easiest way to solve this issue, is by removing both, the JAGS and
JAGS Wiener Module installation. Afterwards, recompile and install first JAGS,
then the JAGS Wiener Module. If the same gcc version and the same
installation procedure have been used, it should work.