Article - CS296519

ObjectAda adabuild command gets "error LNK2019: unresolved external symbol __environ"

Modified: 17-Nov-2018   


Applies To

  • ObjectAda 10.0

Description

  • ObjectAda adabuild command gets error LNK2019: unresolved external symbol __environ
  • Program withs Win32 (from Win32Ada bindings) and accesses Win32.crt.stdlib.environ
  • Complete error:

    win32ada.lib(stdlib.adb.obj) : error LNK2019: unresolved external symbol __environ referenced in function win32__crt__stdlib__environ_addr
    testme.exe : fatal error LNK1120: 1 unresolved externals
    Link of testme failed rc=18.


     
This is a printer-friendly version of Article 296519 and may be out of date. For the latest version click CS296519