Compile error 16.9

Hi all,

I updated my system to PGI 16.9, but I get an error I can’t solve:

/usr/bin/ld: mesher.o: undefined reference to symbol ‘_Unwind_Resume@@GCC_3.0
//lib/x86_64-linux-gnu/ error adding symbols: DSO missing from command line

I use Ubuntu 16.4 with
gcc (Ubuntu 4.9.3-13ubuntu2) 4.9.3

I can compile the program and execute it (but with an error, and sometimes the executable is not created).
Has anyone an idea, what this is?


PS: I don’t get an error with gcc for the same code.

If you are linking with


try adding

-lc -lgcc_eh

to the link line and if this is pgcc, also try adding


to the link line.


Hi Dave,

I had to link with -pgc++libs !
That fix the problem. Thank you!