Compiling problems
Serge Aleynikov
serge@REDACTED
Thu Jun 12 18:32:18 CEST 2003
Try to recompile the erl_interface library using your compiler, include
the built ei.lib in your project, and try to build the project.
Alternatively, try to turn on the ANSI C compiler compatibility.
If this doesn't help, perhaps, try to diable name mangling in the
compiler (this is what causes @8 and @4 suffixes in your errors). I am
not 100% sure if you can disable this option in the C++ compilation
mode, as in C++ this option is directly related to parameter overloading...
Regards,
Serge
--
================================================================
| Serge Aleynikov Tel: (973) 438-3436
| MIS Telecom Fax: (973) 438-1457
| IDT Corp. serge@REDACTED
================================================================
henkbijker78@REDACTED wrote:
> Hi all,
>
> I've got a winblowz sybase / erlang interface
> having trouble compiling c code with visual c++ 6.0. I am using the right
> libs, but i keep on getting the following unresolved externals.
>
> sybasedbi.obj : error LNK2001: unresolved external symbol
> _erl_free_compound@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol _erl_mk_tuple@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol _erl_mk_atom@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol _erl_print_term@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol _erl_cons@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol
> _erl_mk_empty_list@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol _erl_tl@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol _erl_hd@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol _erl_length@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol _erl_term_len@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol _erl_encode@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol _erl_element@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol _erl_decode@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol _exit@REDACTED
> sybasedbi.obj : error LNK2001: unresolved external symbol
> _erl_init_nothreads@REDACTED
> sybasedbi.exe : fatal error LNK1120: 15 unresolved externals
>
> ... and yes, i have to compile with ms vc, cause of the sybase connectivity.
>
> Looks familiar to anyone? ...
>
> I'm using erl5.1.2, and including ei.lib & erl_interface.lib
>
> Thanks,
>
> _____________________________
> Hendrik Bijker,
> Cell : 082-255-1630,
> ICQ : 215097587
>
> ############################################################################
> #########
> The information contained in this message and or attachments is intended
> only for the person or entity to which it is addressed and may contain
> confidential and/or privileged material. Any review, retransmission,
> dissemination or other use of, or taking of any action in reliance upon,
> this information by persons or entities other than the intended recipient
> is prohibited. If you received this in error, please contact the sender and
> delete the material from any system and destroy and copies.
> ############################################################################
> #########
>
More information about the erlang-questions
mailing list