Menu

#179 lzma sdk 912 compile failed

open-accepted
nobody
None
5
2010-07-06
2010-07-05
reandr
No

i tried to compile lzma912.tar.bz2 on ubuntu gcc 4.3.3
but error occurred.

[/media/sdc1/new-lzma-test/lzma_alone-912/CPP/7zip/Bundles/LzmaCon]$ make -f makefile.gcc
g++ -O2 -Wall -c -D_7ZIP_ST ../../Common/CWrappers.cpp
../../Common/CWrappers.cpp:167: error: invalid use of ‘static’ in linkage specification
../../Common/CWrappers.cpp:213: error: invalid use of ‘static’ in linkage specification
make: *** [CWrappers.o] error 1

Discussion

  • Igor Pavlov

    Igor Pavlov - 2010-07-06

    remove extern "C"
    Some compilers don't like extern "C" with static
    I'll fix it.

     
  • Igor Pavlov

    Igor Pavlov - 2010-07-06
    • status: open --> open-accepted
     

Log in to post a comment.