iPhone_Erlang Static Library

Davichi pavel harmlessbystandard@REDACTED
Fri Sep 4 20:54:56 CEST 2009


So I have been working on turning Erlang into a static library for the iPhone, and I have almost finished. However, I have two errors that I don't know how to fix:

multi_drv.c:47:0 Variable 'multi_driver_entry' has initializer but incomplete type
mem_drv.c:38:0 Variable 'mem_driver_entry' has initializer but incomplete type



I am not proficient enough in C or C++ to figure these out. Can someone give me some advice about this?

Here's the code where its throwing the error:

struct driver_entry multi_driver_entry = {
    multi_init,
    multi_start,
    multi_stop,
    multi_erlang_read,
    NULL,
    NULL,
    "multi"
};

const struct driver_entry mem_driver_entry = {
    mem_init,
    mem_start,
    mem_stop,
    mem_command,
    NULL,
    NULL,
    "mem_drv"
};

Samuel Barney


      


More information about the erlang-questions mailing list