[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
/cygdrive/c/DOCUME~1/s360852/LOCALS~1/Temp/ccoVpV4D.o:port_driver.c:(.text+0xe):
undefined reference to `_driver_alloc'
/cygdrive/c/DOCUME~1/s360852/LOCALS~1/Temp/ccoVpV4D.o:port_driver.c:(.text+0x2f):
undefined reference to `_driver_free'
/cygdrive/c/DOCUME~1/s360852/LOCALS~1/Temp/ccoVpV4D.o:port_driver.c:(.text+0x98):
undefined reference to `_driver_output'
collect2: ld returned 1 exit status




More information about the erlang-questions mailing list