[Ur] Linking to C Libraries

James Parker jp at jamesparker.me
Fri Dec 16 20:54:32 EST 2011


Hi

I'm trying to use a C FFI module that links to the mhash library. When I compile I'm getting a bunch of "undefined reference to" errors. I believe this can be fixed if I add the -lmhash flag to the gcc compilation. Is there someway I can specify this in urweb?

Thanks,

JP

Ps. The FFI module is here:

http://darcsden.com/dbp/urweb-experiments/browse


More information about the Ur mailing list