[fpc-pascal] Error linking with C code

Michael Van Canneyt michael at freepascal.org
Wed Sep 18 11:50:01 CEST 2013



On Wed, 18 Sep 2013, Xiangrong Fang wrote:

> 
> where is thostmduserapi.so ?
> 
> Michael.
> 
> 
> This file is under libthost folder, I copied it to pasintf folder then use fpc to compile demo.pas.

I think you should try to pass the name of the folder where libthost is to the linker.
-FL/path/to/libthost

Michael.



More information about the fpc-pascal mailing list