sharing everything

error undefined reference to `_gfortran_concat_string’

I have tried to compile a code in Linux Ubuntu 12.04 (same as Linux Mint 13). When I try to compile this code, I get error message like this :

This problem showed because we forget to add other library to our Makefile. We can remove this message with add flag “-lgfortran” in our Makefile command. This is a sample method how to add this flag in our Makefile :

We only need to add “-lgfortran“. This method would remove all undefined reference to `_gfortran_concat_string’ error message.

My name is Toto Sugito. This is my notes when I try something. Maybe, this is NOT THE BEST SOLUTION for your problems. If you have other method or idea that better with my post, please share in this blog. Thank for visiting my site.

No Comments Yet

Leave a Reply

Your email address will not be published. Required fields are marked *



Bloggers - Meet Millions of Bloggers