BubblesInTheTub / torrent7z

A fork of torrent7z, viz a derivative of 7zip that produces invariant .7z archives for torrenting
GNU General Public License v3.0
49 stars 5 forks source link

Can't compile #13

Closed YuuMorisawa closed 3 years ago

YuuMorisawa commented 3 years ago

I tried compiling it and this is what happened:

make mkdir -p bin cd CPP/7zip/Bundles/Alone ; make all make[1]: Entering directory '/home/yuumorisawa/src/torrent7z/linux_src/p7zip_4.65/CPP/7zip/Bundles/Alone' g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../myWindows/myGetTickCount.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../myWindows/wine_date_and_time.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../myWindows/myAddExeFlag.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../myWindows/mySplitCommandLine.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../UI/Console/ConsoleClose.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../UI/Console/ExtractCallbackConsole.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../UI/Console/List.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../UI/Console/Main.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../UI/Console/MainAr.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../UI/Console/OpenCallbackConsole.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../UI/Console/PercentPrinter.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../UI/Console/UpdateCallbackConsole.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../UI/Console/UserInputUtils.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Common/CommandLineParser.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Common/CRC.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Common/IntToString.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Common/ListFileUtils.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Common/StdInStream.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Common/StdOutStream.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Common/MyString.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Common/StringConvert.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Common/StringToInt.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Common/UTFConvert.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Common/MyWindows.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Common/MyVector.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Common/Wildcard.cpp g++ -O -s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DCOMPRESS_MT -DCOMPRESS_BZIP2_MT -DCOMPRESS_MF_MT -DBREAK_HANDLER -DBENCH_MT -D_NO_CRYPTO -DWIN_LONG_PATH -DUNICODE -fPIE -D_UNICODE -DBUILD_SHARED_LIB=OFF -c -I../../../myWindows -I../../../ -I../../../include_windows ../../../Windows/Error.cpp In file included from ../../../myWindows/StdAfx.h:16, from ../../../Windows/Error.cpp:3: ../../../Windows/Error.cpp: In function ‘bool NWindows::NError::MyFormatMessage(DWORD, CSysString&)’: ../../../Common/MyWindows.h:91:40: error: narrowing conversion of ‘-2147467263’ from ‘LONG’ {aka ‘int’} to ‘unsigned int’ [-Wnarrowing] 91 | #define E_NOTIMPL ((HRESULT)0x80004001L) | ^ ../../../Windows/Error.cpp:18:10: note: in expansion of macro ‘E_NOTIMPL’ 18 | case E_NOTIMPL : txt = "E_NOTIMPL"; break ; | ^~~~~ ../../../Common/MyWindows.h:92:44: error: narrowing conversion of ‘-2147467262’ from ‘LONG’ {aka ‘int’} to ‘unsigned int’ [-Wnarrowing] 92 | #define E_NOINTERFACE ((HRESULT)0x80004002L) | ^ ../../../Windows/Error.cpp:19:10: note: in expansion of macro ‘E_NOINTERFACE’ 19 | case E_NOINTERFACE : txt = "E_NOINTERFACE"; break ; | ^~~~~ ../../../Common/MyWindows.h:93:38: error: narrowing conversion of ‘-2147467260’ from ‘LONG’ {aka ‘int’} to ‘unsigned int’ [-Wnarrowing] 93 | #define E_ABORT ((HRESULT)0x80004004L) | ^ ../../../Windows/Error.cpp:20:10: note: in expansion of macro ‘E_ABORT’ 20 | case E_ABORT : txt = "E_ABORT"; break ; | ^~~ ../../../Common/MyWindows.h:94:37: error: narrowing conversion of ‘-2147467259’ from ‘LONG’ {aka ‘int’} to ‘unsigned int’ [-Wnarrowing] 94 | #define E_FAIL ((HRESULT)0x80004005L) | ^ ../../../Windows/Error.cpp:21:10: note: in expansion of macro ‘E_FAIL’ 21 | case E_FAIL : txt = "E_FAIL"; break ; | ^~ ../../../Common/MyWindows.h:95:52: error: narrowing conversion of ‘-2147287039’ from ‘LONG’ {aka ‘int’} to ‘unsigned int’ [-Wnarrowing] 95 | #define STG_E_INVALIDFUNCTION ((HRESULT)0x80030001L) | ^ ../../../Windows/Error.cpp:22:10: note: in expansion of macro ‘STG_E_INVALIDFUNCTION’ 22 | case STG_E_INVALIDFUNCTION : txt = "STG_E_INVALIDFUNCTION"; break ; | ^~~~~ ../../../Common/MyWindows.h:96:44: error: narrowing conversion of ‘-2147024882’ from ‘LONG’ {aka ‘int’} to ‘unsigned int’ [-Wnarrowing] 96 | #define E_OUTOFMEMORY ((HRESULT)0x8007000EL) | ^ ../../../Windows/Error.cpp:23:10: note: in expansion of macro ‘E_OUTOFMEMORY’ 23 | case E_OUTOFMEMORY : txt = "E_OUTOFMEMORY"; break ; | ^~~~~ ../../../Common/MyWindows.h:97:43: error: narrowing conversion of ‘-2147024809’ from ‘LONG’ {aka ‘int’} to ‘unsigned int’ [-Wnarrowing] 97 | #define E_INVALIDARG ((HRESULT)0x80070057L) | ^ ../../../Windows/Error.cpp:24:10: note: in expansion of macro ‘E_INVALIDARG’ 24 | case E_INVALIDARG : txt = "E_INVALIDARG"; break ; | ^~~~ make[1]: [../../../../makefile.rules:63: Error.o] Error 1 make[1]: Leaving directory '/home/yuumorisawa/src/torrent7z/linux_src/p7zip_4.65/CPP/7zip/Bundles/Alone' make: [makefile:27: 7za] Error 2

Not sure how to fix this.

YuuMorisawa commented 3 years ago

Nevermind, I didn't see there was a binary already included.