[erlang-questions] port_driver.c problems

elmer_fwd@REDACTED elmer_fwd@REDACTED
Fri Mar 14 18:57:10 CET 2008

The code for port_driver.c does an:

#include "port_driver.h"

When I compile the example code with the command:

gcc -o exmpledrv -shared complex.c port_driver.c

At the link phase, I get the errors:

undefined reference to `_driver_alloc'
undefined reference to `_driver_free'
undefined reference to `_driver_output'

This implies to me that the functions driver_alloc,
driver_free and driver_output are not available for linking.

Anybody have a suggestion?


More information about the erlang-questions mailing list