Discoveries and Problems with dynamic linked-in drivers

Klacke klacke@REDACTED
Tue Aug 8 00:15:25 CEST 2000

On Mon, Aug 07, 2000 at 09:03:11PM +0200, Bruce Fitzsimons wrote:
> 4> erl_ddll:load_driver("/root/byteorder-1.0","byteorder_driver").
> {error,{open_error,"/root/byteorder-1.0/ undefined
> symbol: null_func"}}

This is typically what happens when the emulator is built 
without exporting it's symbols.
Linux build needs a -rdynamic, free-bsd needs, -export-dynamic etc.
The driver is loaded into the emulator and the loader tries to
resolve the symbols it needs from the emulator. 

This should work "out of the box" though ??


Claes Wikstrom                          <klacke@REDACTED>
Bluetail AB                   

More information about the erlang-questions mailing list