error when compiling pwlib

tinystar
2004-09-02
2013-06-03
  • tinystar
    tinystar
    2004-09-02

    Before, everything is ok. I have just reinstalled my OS and MS VS 6.0 and there some errors, i don't know why?
    here is output (i have double checked that file mpr.lib is ok):

    --------------------Configuration: Console - Win32 Release--------------------
    Configuring Build Options
    Searching C:\ Searching D:\   Byte Order set to PLITTLE_ENDIAN
      Semaphore Support set to 1
      DNS Resolver disabled
      Open LDAP disabled
      Open SSL disabled
      Expat XML disabled
      Speech API disabled
      Simple DirectMedia Layer disabled
      DLL Support set to 1
      IPv6 Support disabled
    Configuration completed.
    Performing Custom Build Step on ..\common\getdate.y
    ../common/getdate.y contains 8 shift/reduce conflicts and 18 reduce/reduce conflicts.
    Compiling...
    assert.cxx
    Compiling...
    collect.cxx
    contain.cxx
    regexec.c
    ... deleted ...
    regfree.c
    Generating Code...
    Creating library...
    --------------------Configuration: MergeSym - Win32 Release--------------------
    Compiling...
    MergeSym.cxx
    Linking...
    C:\Program Files\Microsoft Visual Studio\VC98\LIB\mpr.lib : fatal error LNK1136: invalid or corrupt file
    Error executing link.exe.

    asnparser.exe - 1 error(s), 0 warning(s)
    --------------------Configuration: GUI - Win32 Release--------------------
    Compiling...
    pwlib.cxx
    Compiling...
    ... deleted ...
    simpdlg.cxx
    Generating Code...
    Creating library...
    --------------------Configuration: pwrc - Win32 Release--------------------
    Compiling...
    precompile.cxx
    ... deleted ...
    pr_lex.cxx
    Linking...
    LINK : fatal error LNK1181: cannot open input file "ptlib.lib"
    Error executing link.exe.

    pwtest.exe - 1 error(s), 0 warning(s)
    --------------------Configuration: GUI - Win32 Debug--------------------
    Compiling...
    pwlib.cxx
    ... deleted ...
    simpdlg.cxx
    Generating Code...
    Creating library...
    --------------------Configuration: Console - Win32 Debug--------------------
    Compiling...
    assert.cxx
    Compiling...
    ... deleted ...
    winsock.cxx
    Generating Code...
    Compiling...
    getdate_tab.c
    Creating library...
    --------------------Configuration: MergeSym - Win32 Debug--------------------
    Compiling...
    MergeSym.cxx
    Linking...
    C:\Program Files\Microsoft Visual Studio\VC98\LIB\mpr.lib : fatal error LNK1136: invalid or corrupt file
    Error executing link.exe.

    pwtest.exe - 1 error(s), 0 warning(s)

     
    • Georges
      Georges
      2005-01-20

      have you the right path in your compiler options ?