I got this error when I run the C program which calls Mathematica Kernel.

LinkConnect::linkc: -- Message text not found -- (LinkObject[789_shm, 3, 1])

Anyone knows what does this mean and how to fix it?

Thank you.

-
I'm running Mathematica 9 btw. –  Loi.Luu Aug 23 at 12:13
Can you post example code that generates the error? –  bobthechemist Aug 23 at 12:26
The linkc error means "link closed". In other words, Mathematica tried to communicate over a link that was unexpectedly closed. Most likely your MathLink program crashed, but how this came about or what it really means in context is anyone's guess. You should add more detail to your question. –  Oleksandr R. Aug 23 at 14:06
Thank you @bobthechemist and Oleksandr, i figured it out already. I had a segmentation fault on my program and then the program crashed. –  Loi.Luu Aug 24 at 14:55