[erlang-questions] Source code for erl_driver API missing?

elmer_fwd@REDACTED elmer_fwd@REDACTED
Tue Mar 18 01:03:16 CET 2008

I was able to find the erl_driver.h file and it has all the
EXTERNS the erl_driver API.

I have grep'ed through the entire elang tree and found no
code the for erl_driver.

I believe this is why I can't compile the example code
complex.c, complex5.erl and port_driver.c

The results of doing a compile is:

gcc -o exmpledrv -shared complex.c port_driver.c
undefined reference to `_driver_alloc'
undefined reference to `_driver_free'
undefined reference to `_driver_output'
collect2: ld returned 1 exit status

More information about the erlang-questions mailing list