[erlang-questions] Compiling Erlang Interface with VC++ 2010 - LIB Issues

Edmond Begumisa <>
Mon Sep 27 20:15:13 CEST 2010


Well, I suppose that'll do it too... assuming you won't miss the debug  
symbols for you ei program. In which case you're a much better C/C++  
programmer than I am!

- Edmond -

On Tue, 28 Sep 2010 04:01:34 +1000, <> wrote:

> With setting Generate Debug Info to No under  Project Propeties >
> Configuration Properties > Linker > Debugging
>
> It works.
>
> Thank you so far.
>
> Klaus
>
> -----Original Message-----
> From:  [mailto:] On
> Behalf Of Edmond Begumisa
> Sent: Monday, September 27, 2010 5:54 PM
> To: 
> Cc: 
> Subject: Re: [erlang-questions] Compiling Erlang Interface with VC++  
> 2010 -
> LIB Issues
>
> You could just ignore those warnings (it's finally linking after all.)
>
> But to fix those (I hate long warnings too), you can try either...
>
> a) Turning off incremental linking and debugging
> b) Enabling the symbol server (so it can fetch those older VC pdb files)
>
> - Edmond -
>
>
> On Tue, 28 Sep 2010 01:31:02 +1000, <> wrote:
>
>> Hi Edmond,
>>
>> The Result.
>>
>> 1>erl_interface.lib(erl_error.o) : warning LNK4099: PDB 'vc80.pdb' was
>> not
>> found with 'erl_interface.lib(erl_error.o)' or at
>> 'D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\vc80.pdb'; linking
>> object as if no debug info
>> 1>erl_interface.lib(erl_eterm.o) : warning LNK4099: PDB 'vc80.pdb' was
>> not
>> found with 'erl_interface.lib(erl_eterm.o)' or at
>> 'D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\vc80.pdb'; linking
>> object as if no debug info
>> 1>erl_interface.lib(erl_fix_alloc.o) : warning LNK4099: PDB 'vc80.pdb'
>> was
>> not found with 'erl_interface.lib(erl_fix_alloc.o)' or at
>> 'D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\vc80.pdb'; linking
>> object as if no debug info
>> 1>erl_interface.lib(erl_malloc.o) : warning LNK4099: PDB 'vc80.pdb'
>> 1>was
>> not
>> found with 'erl_interface.lib(erl_malloc.o)' or at
>> 'D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\vc80.pdb'; linking
>> object as if no debug info
>> 1>erl_interface.lib(erl_marshal.o) : warning LNK4099: PDB 'vc80.pdb'
>> 1>was
>> not
>> found with 'erl_interface.lib(erl_marshal.o)' or at
>> 'D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\vc80.pdb'; linking
>> object as if no debug info
>> 1>ei.lib(ei_resolve.o) : warning LNK4099: PDB 'vc80.pdb' was not found
>> with
>> 'ei.lib(ei_resolve.o)' or at
>> 'D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\vc80.pdb'; linking
>> object as if no debug info
>> 1>ei.lib(decode_big.o) : warning LNK4099: PDB 'vc80.pdb' was not found
>> with
>> 'ei.lib(decode_big.o)' or at
>> 'D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\vc80.pdb'; linking
>> object as if no debug info
>> 1>ei.lib(decode_double.o) : warning LNK4099: PDB 'vc80.pdb' was not
>> 1>found
>> with 'ei.lib(decode_double.o)' or at
>> 'D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\vc80.pdb'; linking
>> object as if no debug info
>> 1>ei.lib(decode_long.o) : warning LNK4099: PDB 'vc80.pdb' was not
>> 1>found
>> with
>> 'ei.lib(decode_long.o)' or at
>> 'D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\vc80.pdb'; linking
>> object as if no debug info
>> 1>ei.lib(ei_malloc.o) : warning LNK4099: PDB 'vc80.pdb' was not found
>> with
>> 'ei.lib(ei_malloc.o)' or at
>> 'D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\vc80.pdb'; linking
>> object as if no debug info
>> 1>ei.lib(ei_pthreads.o) : warning LNK4099: PDB 'vc80.pdb' was not
>> 1>found
>> with
>> 'ei.lib(ei_pthreads.o)' or at
>> 'D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\vc80.pdb'; linking
>> object as if no debug info
>> 1>ei.lib(get_type.o) : warning LNK4099: PDB 'vc80.pdb' was not found
>> 1>with
>> 'ei.lib(get_type.o)' or at
>> 'D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\vc80.pdb'; linking
>> object as if no debug info
>> 1>ei.lib(ei_compat.o) : warning LNK4099: PDB 'vc80.pdb' was not found
>> with
>> 'ei.lib(ei_compat.o)' or at
>> 'D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\vc80.pdb'; linking
>> object as if no debug info
>> 1>  sqlite_port.vcxproj ->
>> D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\sqlite_port.exe
>> ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
>>
>>
>> -----Original Message-----
>> From:  [mailto:]
>> On Behalf Of Edmond Begumisa
>> Sent: Monday, September 27, 2010 4:41 PM
>> To: ; 
>> Subject: Re: [erlang-questions] Compiling Erlang Interface with VC++
>> 2010 -
>> LIB Issues
>>
>> It looks to me like the VS linker is having trouble with winsock...
>>
>> Try adding Ws2_32.lib to the link command line.
>>
>> - Edmond -
>>
>> On Sat, 25 Sep 2010 02:36:44 +1000, <>  
>> wrote:
>>
>>> Dear Erlang Questions,
>>>
>>>
>>> When compiling an Erlang  Interface with VC++ 2010 I get the
>>> following compiler errors.
>>>
>>>
>>> 1>ei.lib(ei_resolve.o) : error LNK2019: unresolved external symbol
>>>  referenced in function _ei_gethostbyname
>>>
>>> 1>ei.lib(ei_resolve.o) : error LNK2019: unresolved external symbol
>>>  referenced in function _ei_gethostbyaddr
>>>
>>> 1>D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\sqlite_port.exe :
>>> fatal
>>> error LNK1120: 2 unresolved externals
>>>
>>>
>>> Path set correctly to
>>>
>>>
>>> C:\Program Files (x86)\erl5.8.1\lib\erl_interface-3.7.1\lib\ei.lib
>>>
>>> C:\Program Files (x86)\erl5.8.1\lib\erl_interface-3.7.1\include\ei.h
>>>
>>>
>>> What is going wrong here.
>>>
>>>
>>> Thank you.
>>>
>>> Rock InformationTechnologies (India) Pvt.
>>> Dipl.-Ing.(FH) Klaus Rock
>>> Bonhoefferstrasse 37
>>> 73432 Aalen - Germany
>>> Tel    : ++49-7367-96500
>>> Mail  : 
>>> <blocked::outbind://29-00000000CDB63B28533CCE4D9B973708CCF0FBF324562B
>>> 0 0/mc/c ompose?to=>
>>>
>>>
>>
>>
>> --
>> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>>
>> ________________________________________________________________
>> erlang-questions (at) erlang.org mailing list.
>> See http://www.erlang.org/faq.html
>> To unsubscribe; mailto:
>>
>>
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
>
>


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the erlang-questions mailing list