Compiling Linked-in Drivers on Mac OS X
Edwin Zacharias
ehz4@REDACTED
Fri Mar 28 09:15:00 CET 2003
I'm trying to get the linked-in driver example in the
Erlang documentation to compile for Mac OS X. I'm
using the following command for gcc-2.95.2:
gcc -o exampledrv
-I/usr/local/lib/erlang/erts-5.2.3.3/src
-flat_namespace -shared complex.c port_driver.c
and I get:
/usr/bin/ld: Undefined symbols:
_main
_driver_alloc
_driver_free
_driver_output
I know dynamic libraries work a little differently in
OS X, but I'm not very experienced with them. Any
help would be appreciated.
- Edwin
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
More information about the erlang-questions
mailing list