Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-162

Unable to link Transport library when trace is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4 Alpha
    • Transport (Server)
    • None
    • Windows - Microsoft Visual C++ v6
      Using ANT script to build

    Description

      When specifying the ENABLE_AXISTRACE compile flag, the transport library fails to link:

      Error as seen on Windows:
      ....
      Starting link
      Creating library libaxis_transport.lib and object libaxis_transport.exp
      HttpTransport.obj : error LNK2001: unresolved external symbol "public: int __thiscall axiscpp::AxisTrace::logaxis(char const *,int,char *,int)" (?logaxis@AxisTrace@axiscpp@@QAEHPBDHPADH@Z)
      HttpTransport.obj : error LNK2001: unresolved external symbol "class axiscpp::AxisTrace * g_pAT" (?g_pAT@@3PAVAxisTrace@axiscpp@@A)
      libaxis_transport.dll : fatal error LNK1120: 2 unresolved externals

      link failed with return code 1120
      ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            dicka Adrian Dick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: