Posts by quackbuster

    Dear Conquest community members,


    I've been using Conquest for many years now and it has always worked perfectly for me. Recently I tried to install 1419b on Debian 9 and I couldn't as the compilation failed.


    I'm running...


    Code
    # cat /etc/debian_version9.3# uname -aLinux conquest 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux# gcc -vUsing built-in specs.COLLECT_GCC=gccCOLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapperTarget: x86_64-linux-gnuConfigured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnuThread model: posixgcc version 6.3.0 20170516 (Debian 6.3.0-18)# mysql -Vmysql Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2


    I followed the installation instructions. Compilation fails as follows (I had to cut part of the log due to board post limit):


    Code
    # ./maklinuxchecking for gcc... gccchecking whether the C compiler (gcc ) works... yeschecking whether the C compiler (gcc ) is a cross-compiler... nochecking whether we are using GNU C... yeschecking how to run the C preprocessor... gcc -Echecking for function prototypes... yeschecking for stddef.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for size_t... yeschecking for type unsigned char... yeschecking for type unsigned short... yeschecking for type void... yeschecking for working const... yeschecking for inline... __inline__checking for broken incomplete types... okchecking for short external names... okchecking to see if char is signed... yeschecking to see if right shift is signed... yeschecking to see if fopen accepts b spec... yeschecking for a BSD compatible install... /usr/bin/install -cchecking for ranlib... ranlibchecking libjpeg version number... 63creating ./config.statuscreating Makefilecreating jconfig.hjconfig.h is unchangedmake: Nothing to be done for 'all'./usr/bin/install -c cjpeg /usr/local/bin/cjpeg/usr/bin/install -c djpeg /usr/local/bin/djpeg/usr/bin/install -c jpegtran /usr/local/bin/jpegtran/usr/bin/install -c rdjpgcom /usr/local/bin/rdjpgcom/usr/bin/install -c wrjpgcom /usr/local/bin/wrjpgcom/usr/bin/install -c -m 644 ./cjpeg.1 /usr/local/man/man1/cjpeg.1/usr/bin/install -c -m 644 ./djpeg.1 /usr/local/man/man1/djpeg.1/usr/bin/install -c -m 644 ./jpegtran.1 /usr/local/man/man1/jpegtran.1/usr/bin/install -c -m 644 ./rdjpgcom.1 /usr/local/man/man1/rdjpgcom.1/usr/bin/install -c -m 644 ./wrjpgcom.1 /usr/local/man/man1/wrjpgcom.1Please choose DB type1) mysql2) postgres3) sqlite4) dbase5) Quit#? 1In file included from ./src/dgate/charls/interface.cpp:16:0, from ./src/dgate/charls/all.cpp:2:./src/dgate/charls/header.h:60:7: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr<STRATEGY> GetCodec(const JlsParameters& info, const JlsCustomParameters&); ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/jpegls.cpp:17:0, from ./src/dgate/charls/all.cpp:3:./src/dgate/charls/decoderstrategy.h:36:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] virtual void DecodeScan(std::auto_ptr<ProcessLine> outputData, const JlsRect& size, ByteStreamInfo* compressedData, bool bCheck) = 0; ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/jpegls.cpp:17:0, from ./src/dgate/charls/all.cpp:3:./src/dgate/charls/decoderstrategy.h:310:7: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr<ProcessLine> _processLine; ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/jpegls.cpp:18:0, from ./src/dgate/charls/all.cpp:3:./src/dgate/charls/encoderstrategy.h:44:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] virtual size_t EncodeScan(std::auto_ptr<ProcessLine> rawData, ByteStreamInfo* compressedData, void* pvoidCompare) = 0; ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/jpegls.cpp:18:0, from ./src/dgate/charls/all.cpp:3:./src/dgate/charls/encoderstrategy.h:183:7: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr<DecoderStrategy> _qdecoder; ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/jpegls.cpp:18:0, from ./src/dgate/charls/all.cpp:3:./src/dgate/charls/encoderstrategy.h:187:7: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr<ProcessLine> _processLine; ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/jpegls.cpp:35:0, from ./src/dgate/charls/all.cpp:3:./src/dgate/charls/scan.h:198:26: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] size_t EncodeScan(std::auto_ptr<ProcessLine> rawData, ByteStreamInfo* compressedData, void* pvoidCompare); ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/jpegls.cpp:35:0, from ./src/dgate/charls/all.cpp:3:./src/dgate/charls/scan.h:199:23: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void DecodeScan(std::auto_ptr<ProcessLine> rawData, const JlsRect& size, ByteStreamInfo* compressedData, bool bCompare); ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/jpegls.cpp:35:0, from ./src/dgate/charls/all.cpp:3:./src/dgate/charls/scan.h:803:51: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] size_t JlsCodec<TRAITS,STRATEGY>::EncodeScan(std::auto_ptr<ProcessLine> processLine, ByteStreamInfo* compressedData, void* pvoidCompare) ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/jpegls.cpp:35:0, from ./src/dgate/charls/all.cpp:3:./src/dgate/charls/scan.h:825:49: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] void JlsCodec<TRAITS,STRATEGY>::DecodeScan(std::auto_ptr<ProcessLine> processLine, const JlsRect& rect, ByteStreamInfo* compressedData, bool bCompare) ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/all.cpp:3:0:./src/dgate/charls/jpegls.cpp:88:6: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr<STRATEGY> JlsCodecFactory<STRATEGY>::GetCodec(const JlsParameters& info, const JlsCustomParameters& presets) ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/all.cpp:3:0:./src/dgate/charls/jpegls.cpp: In member function ‘std::auto_ptr<STRATEGY> JlsCodecFactory<STRATEGY>::GetCodec(const JlsParameters&, const JlsCustomParameters&)’:./src/dgate/charls/jpegls.cpp:107:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] return std::auto_ptr<STRATEGY>(pstrategy); ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/all.cpp:5:0:./src/dgate/charls/header.cpp: In member function ‘virtual void JpegImageDataSegment::Serialize(JpegStreamWriter&)’:./src/dgate/charls/header.cpp:69:7: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr<EncoderStrategy> qcodec = JlsCodecFactory<EncoderStrategy>().GetCodec(info, _info.custom); ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/all.cpp:5:0:./src/dgate/charls/header.cpp:72:48: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] size_t cbyteWritten = qcodec->EncodeScan(std::auto_ptr<ProcessLine>(processLine), &compressedData, streamWriter._bCompare ? streamWriter.GetPos() : NULL); ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/all.cpp:5:0:./src/dgate/charls/header.cpp: In member function ‘void JpegMarkerReader::Read(ByteStreamInfo)’:./src/dgate/charls/header.cpp:136:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr<DecoderStrategy> qcodec = JlsCodecFactory<DecoderStrategy>().GetCodec(_info, _info.custom); ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from ./src/dgate/charls/all.cpp:5:0:./src/dgate/charls/header.cpp:138:27: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] qcodec->DecodeScan(std::auto_ptr<ProcessLine>(processLine), _rect, &_byteStream, _bCompare); ^~~~~~~~In file included from /usr/include/c++/6/memory:81:0, from ./src/dgate/charls/jpegmarker.h:7, from ./src/dgate/charls/header.h:9, from ./src/dgate/charls/interface.cpp:16, from ./src/dgate/charls/all.cpp:2:/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~In file included from /usr/include/c++/6/bits/char_traits.h:39:0, from /usr/include/c++/6/ios:40, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream:39, from ./src/dgate/charls/publictypes.h:10, from ./src/dgate/charls/interface.h:9, from ./src/dgate/src/jpegconv.cpp:51, from ./src/dgate/src/total.cpp:157:/usr/include/c++/6/bits/stl_algobase.h:243:56: error: macro "min" passed 3 arguments, but takes just 2 min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^(...)/usr/include/c++/6/bits/stl_algobase.h:1248:14: note: suggested alternative:/usr/include/c++/6/bits/stl_algobase.h:871:5: note: ‘__lexicographical_compare_impl’ __lexicographical_compare_impl(_II1 __first1, _II1 __last1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/usr/include/c++/6/bits/stl_algobase.h: At global scope:/usr/include/c++/6/bits/stl_algobase.h:1255:5: error: ‘pair’ does not name a type pair<_InputIterator1, _InputIterator2> ^~~~/usr/include/c++/6/bits/stl_algobase.h:1281:12: error: ‘pair’ does not name a type inline pair<_InputIterator1, _InputIterator2> ^~~~/usr/include/c++/6/bits/stl_algobase.h:1315:12: error: ‘pair’ does not name a type inline pair<_InputIterator1, _InputIterator2> ^~~~/usr/include/c++/6/bits/stl_algobase.h:1414:1: error: expected declaration before ‘}’ token } // namespace std ^cp: cannot stat './dgate': No such file or directorycp: cannot stat './dgate': No such file or directory


    Complete log:


    Code
    https://pastebin.com/CXcjQuLd


    It seems that this version of the compiler is not able to handle the source. Could you please advise on what gcc versions are supported? Please let me know if there is anything else I've missed.


    Thank you very much in advance for your help.


    All the best!