Linking error with mmg

Discussion about building and installing Elmer
Post Reply
wmiller
Posts: 13
Joined: 09 May 2017, 18:05
Antispam: Yes

Linking error with mmg

Post by wmiller »

On fedora with mmg version 5.4.1 I got the following errors.

Code: Select all

/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG5_caltet'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMGS_gradsiz'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG5_movbdyrefpt'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG5_movbdyregpt'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG5_intmet'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG5_cavity'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG2D_caltri'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG2D_intmet'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG5_lenedgspl'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG5_movintpt'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG3D_PROctreein'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `movridpt'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG2D_lencurv'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG2D_gradsizreq'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG2D_gradsiz'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMGS_gradsizreq'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG2D_defsiz'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG5_interp4bar'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG3D_gradsiz'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `intmet'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG5_movbdyridpt'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG5_caltri'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMGS_defsiz'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `movintpt'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG5_lenedg'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG3D_defsiz'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG5_calelt'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG3D_gradsizreq'
/usr/bin/ld: /lib64/libmmg.so: undefined reference to `MMG5_movbdynompt'

All these functions are not the list of the library (only for Debugging) but are replaced by two versions
...._iso
and
..._ani
It is my first time to compile Elmer with mmg.

I don't know where this functions are called. May be one can change the name.

Or I should install an older version mmg - but which one will do ?


Wolfram
Post Reply