Compiling Linked-in Drivers on Mac OS X

Edwin Zacharias <>
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
-flat_namespace -shared complex.c port_driver.c

and I get:

/usr/bin/ld: Undefined symbols:

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!

More information about the erlang-questions mailing list