Archive: building NSIS on CentOS5-64bit fails.


building NSIS on CentOS5-64bit fails.
Hi,

I'm trying to build on CentOS5-64bit. It fails misserably :-(

I'm executing:

#scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA=no PREFIX=/usr/local/nsis/nsis-2.46 install-compiler

And I end up with:

collect2: ld returned 1 exit status

I see a lot of lines like this: /usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/clzma.o' is incompatible with i386:x86-64 output

But not sure if this has something to do with it.

Any help greatly appreciated. thanks.


The whole build output is here:

[root@mgmt1 nsis-2.46-src]# scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA=no PREFIX=/usr/local/nsis/nsis-2.46 install-compiler
scons: Reading SConscript files ...
Mkdir("build/release/config")
Delete("nsis-27-May-2011.cvs")
Delete(".instdist")
Delete(".test")
Using GNU tools configuration
Checking for compiler flag -m32... (cached) yes
Checking for linker flag -m32... (cached) no
Checking for linker flag $MAP_FLAG... (cached) yes
Checking for linker flag -s... (cached) no
Checking for linker flag $MAP_FLAG... (cached) yes
Checking for compiler flag -m32... (cached) yes
Checking for linker flag -m32... (cached) no
Checking for linker flag -s... (cached) no
Checking for compiler flag -m32... (cached) yes
Checking for linker flag -m32... (cached) no
Checking for memcpy requirement... (cached) yes
Checking for memset requirement... (cached) yes
Checking for linker flag -pthread... (cached) yes
Checking for __BIG_ENDIAN__... (cached) no

scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "/usr/local/nsis/nsis-2.46-src/SConstruct", line 459, in ?
Checking for C library gdi32... (cached) no
Checking for C library user32... (cached) no
Checking for C library pthread... (cached) yes
Checking for C library iconv... (cached) no

scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "/usr/local/nsis/nsis-2.46-src/SConstruct", line 543, in ?

scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "/usr/local/nsis/nsis-2.46-src/SConstruct", line 615, in ?

scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "/usr/local/nsis/nsis-2.46-src/SConstruct", line 630, in ?

scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "/usr/local/nsis/nsis-2.46-src/SConstruct", line 674, in ?
Checking for C library dl... (cached) yes
Checking for C library gdi32... (cached) no
Checking for C library iconv... (cached) no
Checking for C library pthread... (cached) yes
Checking for C library user32... (cached) no
Checking for C++ library cppunit... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/release/makensis/build.o -c -Wno-non-virtual-dtor -Wall -O2 -m32 "-DNSISCALL= __attribute__((__stdcall__))" -D_WIN32_IE=0x0500 -Ibuild/release/config Source/build.cpp
Source/7zip/7zip/../Common/MyWindows.h:123: warning: 'struct IUnknown' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:34: warning: 'struct ISequentialInStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:47: warning: 'struct ISequentialOutStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:57: warning: 'struct IInStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:62: warning: 'struct IOutStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:68: warning: 'struct IStreamGetSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:73: warning: 'struct IOutStreamFlush' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:30: warning: 'struct ICompressProgressInfo' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:35: warning: 'struct ICompressCoder' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:44: warning: 'struct ICompressCoder2' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:76: warning: 'struct ICompressSetCoderProperties' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:89: warning: 'struct ICompressSetDecoderProperties2' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:94: warning: 'struct ICompressWriteCoderProperties' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:99: warning: 'struct ICompressGetInStreamProcessedSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:104: warning: 'struct ICompressSetCoderMt' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:109: warning: 'struct ICompressGetSubStreamSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:114: warning: 'struct ICompressSetInStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:120: warning: 'struct ICompressSetOutStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:126: warning: 'struct ICompressSetInStreamSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:131: warning: 'struct ICompressSetOutStreamSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:136: warning: 'struct ICompressFilter' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:147: warning: 'struct ICryptoProperties' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:153: warning: 'struct ICryptoSetPassword' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:158: warning: 'struct ICryptoSetCRC' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../LZ/IMatchFinder.h:22: warning: 'struct IInWindowStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../LZ/IMatchFinder.h:35: warning: 'struct IMatchFinder' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../LZ/IMatchFinder.h:43: warning: 'struct IMatchFinderSetNumPasses' has virtual functions but non-virtual destructor
g++ -o build/release/makensis/lang.o -c -Wno-non-virtual-dtor -Wall -O2 -m32 "-DNSISCALL= __attribute__((__stdcall__))" -D_WIN32_IE=0x0500 -Ibuild/release/config Source/lang.cpp
Source/7zip/7zip/../Common/MyWindows.h:123: warning: 'struct IUnknown' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:34: warning: 'struct ISequentialInStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:47: warning: 'struct ISequentialOutStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:57: warning: 'struct IInStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:62: warning: 'struct IOutStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:68: warning: 'struct IStreamGetSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:73: warning: 'struct IOutStreamFlush' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:30: warning: 'struct ICompressProgressInfo' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:35: warning: 'struct ICompressCoder' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:44: warning: 'struct ICompressCoder2' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:76: warning: 'struct ICompressSetCoderProperties' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:89: warning: 'struct ICompressSetDecoderProperties2' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:94: warning: 'struct ICompressWriteCoderProperties' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:99: warning: 'struct ICompressGetInStreamProcessedSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:104: warning: 'struct ICompressSetCoderMt' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:109: warning: 'struct ICompressGetSubStreamSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:114: warning: 'struct ICompressSetInStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:120: warning: 'struct ICompressSetOutStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:126: warning: 'struct ICompressSetInStreamSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:131: warning: 'struct ICompressSetOutStreamSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:136: warning: 'struct ICompressFilter' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:147: warning: 'struct ICryptoProperties' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:153: warning: 'struct ICryptoSetPassword' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:158: warning: 'struct ICryptoSetCRC' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../LZ/IMatchFinder.h:22: warning: 'struct IInWindowStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../LZ/IMatchFinder.h:35: warning: 'struct IMatchFinder' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../LZ/IMatchFinder.h:43: warning: 'struct IMatchFinderSetNumPasses' has virtual functions but non-virtual destructor
g++ -o build/release/makensis/makenssi.o -c -Wno-non-virtual-dtor -Wall -O2 -m32 "-DNSISCALL= __attribute__((__stdcall__))" -D_WIN32_IE=0x0500 -Ibuild/release/config Source/makenssi.cpp
Source/7zip/7zip/../Common/MyWindows.h:123: warning: 'struct IUnknown' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:34: warning: 'struct ISequentialInStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:47: warning: 'struct ISequentialOutStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:57: warning: 'struct IInStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:62: warning: 'struct IOutStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:68: warning: 'struct IStreamGetSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:73: warning: 'struct IOutStreamFlush' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:30: warning: 'struct ICompressProgressInfo' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:35: warning: 'struct ICompressCoder' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:44: warning: 'struct ICompressCoder2' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:76: warning: 'struct ICompressSetCoderProperties' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:89: warning: 'struct ICompressSetDecoderProperties2' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:94: warning: 'struct ICompressWriteCoderProperties' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:99: warning: 'struct ICompressGetInStreamProcessedSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:104: warning: 'struct ICompressSetCoderMt' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:109: warning: 'struct ICompressGetSubStreamSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:114: warning: 'struct ICompressSetInStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:120: warning: 'struct ICompressSetOutStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:126: warning: 'struct ICompressSetInStreamSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:131: warning: 'struct ICompressSetOutStreamSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:136: warning: 'struct ICompressFilter' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:147: warning: 'struct ICryptoProperties' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:153: warning: 'struct ICryptoSetPassword' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:158: warning: 'struct ICryptoSetCRC' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../LZ/IMatchFinder.h:22: warning: 'struct IInWindowStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../LZ/IMatchFinder.h:35: warning: 'struct IMatchFinder' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../LZ/IMatchFinder.h:43: warning: 'struct IMatchFinderSetNumPasses' has virtual functions but non-virtual destructor
g++ -o build/release/makensis/manifest.o -c -Wno-non-virtual-dtor -Wall -O2 -m32 "-DNSISCALL= __attribute__((__stdcall__))" -D_WIN32_IE=0x0500 -Ibuild/release/config Source/manifest.cpp
g++ -o build/release/makensis/script.o -c -Wno-non-virtual-dtor -Wall -O2 -m32 "-DNSISCALL= __attribute__((__stdcall__))" -D_WIN32_IE=0x0500 -Ibuild/release/config Source/script.cpp
Source/7zip/7zip/../Common/MyWindows.h:123: warning: 'struct IUnknown' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:34: warning: 'struct ISequentialInStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:47: warning: 'struct ISequentialOutStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:57: warning: 'struct IInStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:62: warning: 'struct IOutStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:68: warning: 'struct IStreamGetSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/IStream.h:73: warning: 'struct IOutStreamFlush' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:30: warning: 'struct ICompressProgressInfo' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:35: warning: 'struct ICompressCoder' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:44: warning: 'struct ICompressCoder2' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:76: warning: 'struct ICompressSetCoderProperties' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:89: warning: 'struct ICompressSetDecoderProperties2' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:94: warning: 'struct ICompressWriteCoderProperties' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:99: warning: 'struct ICompressGetInStreamProcessedSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:104: warning: 'struct ICompressSetCoderMt' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:109: warning: 'struct ICompressGetSubStreamSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:114: warning: 'struct ICompressSetInStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:120: warning: 'struct ICompressSetOutStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:126: warning: 'struct ICompressSetInStreamSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:131: warning: 'struct ICompressSetOutStreamSize' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:136: warning: 'struct ICompressFilter' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:147: warning: 'struct ICryptoProperties' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:153: warning: 'struct ICryptoSetPassword' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../../ICoder.h:158: warning: 'struct ICryptoSetCRC' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../LZ/IMatchFinder.h:22: warning: 'struct IInWindowStream' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../LZ/IMatchFinder.h:35: warning: 'struct IMatchFinder' has virtual functions but non-virtual destructor
Source/7zip/7zip/Compress/LZMA/../LZ/IMatchFinder.h:43: warning: 'struct IMatchFinderSetNumPasses' has virtual functions but non-virtual destructor
g++ -o build/release/makensis/makensis -Wl,-Map,build/release/makensis/makensis.map -pthread build/release/makensis/build.o build/release/makensis/clzma.o build/release/makensis/crc32.o build/release/makensis/DialogTemplate.o build/release/makensis/dirreader.o build/release/makensis/fileform.o build/release/makensis/growbuf.o build/release/makensis/icon.o build/release/makensis/lang.o build/release/makensis/lineparse.o build/release/makensis/makenssi.o build/release/makensis/manifest.o build/release/makensis/mmap.o build/release/makensis/Plugins.o build/release/makensis/ResourceEditor.o build/release/makensis/ResourceVersionInfo.o build/release/makensis/script.o build/release/makensis/ShConstants.o build/release/makensis/strlist.o build/release/makensis/tokens.o build/release/makensis/util.o build/release/makensis/winchar.o build/release/makensis/writer.o build/release/makensis/bzip2/blocksort.o build/release/makensis/bzip2/bzlib.o build/release/makensis/bzip2/compress.o build/release/makensis/bzip2/huffman.o build/release/makensis/7zip/7zGuids.o build/release/makensis/7zip/7zip/Common/OutBuffer.o build/release/makensis/7zip/7zip/Common/StreamUtils.o build/release/makensis/7zip/7zip/Compress/LZ/LZInWindow.o build/release/makensis/7zip/7zip/Compress/LZMA/LZMAEncoder.o build/release/makensis/7zip/7zip/Compress/RangeCoder/RangeCoderBit.o build/release/makensis/7zip/Common/Alloc.o build/release/makensis/7zip/Common/CRC.o build/release/makensis/zlib/deflate.o build/release/makensis/zlib/trees.o -lpthread
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/build.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/clzma.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/crc32.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/DialogTemplate.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/dirreader.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/fileform.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/growbuf.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/icon.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/lang.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/lineparse.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/makenssi.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/manifest.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/mmap.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/Plugins.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/ResourceEditor.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/ResourceVersionInfo.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/script.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/ShConstants.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/strlist.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/tokens.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/util.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/winchar.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/writer.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/bzip2/blocksort.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/bzip2/bzlib.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/bzip2/compress.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/bzip2/huffman.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/7zip/7zGuids.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/7zip/7zip/Common/OutBuffer.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/7zip/7zip/Common/StreamUtils.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/7zip/7zip/Compress/LZ/LZInWindow.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/7zip/7zip/Compress/LZMA/LZMAEncoder.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/7zip/7zip/Compress/RangeCoder/RangeCoderBit.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/7zip/Common/Alloc.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/7zip/Common/CRC.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/zlib/deflate.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `build/release/makensis/zlib/trees.o' is incompatible with i386:x86-64 output
build/release/makensis/build.o: In function `CEXEBuild::update_exehead(unsigned char const*, unsigned int)':
build.cpp:(.text+0x4ed): undefined reference to `operator new[](unsigned int)'
build/release/makensis/build.o: In function `CEXEBuild::close_res_editor()':
build.cpp:(.text+0x59a): undefined reference to `operator new[](unsigned int)'
build/release/makensis/build.o: In function `CEXEBuild::update_exehead(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int*)':
build.cpp:(.text+0x97b): undefined reference to `operator new[](unsigned int)'
build/release/makensis/build.o: In function `CEXEBuild::build_plugin_table()':
build.cpp:(.text+0x4929): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
build/release/makensis/build.o: In function `CEXEBuild::write_output()':
build.cpp:(.text+0x9ef6): undefined reference to `__divdi3'
build.cpp:(.text+0xa627): undefined reference to `__udivdi3'
build/release/makensis/build.o: In function `CEXEBuild::set_compressor(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
build.cpp:(.text+0xaa52): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
build.cpp:(.text+0xaa97): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
build/release/makensis/build.o: In function `CEXEBuild::initialize(char const*)':
build.cpp:(.text+0xac3d): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
build.cpp:(.text+0xac81): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
build.cpp:(.text+0xaccd): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
build.cpp:(.text+0xada3): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
build.cpp:(.text+0xadca): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
build.cpp:(.text+0xae77): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
build/release/makensis/DialogTemplate.o: In function `CDialogTemplate::AddItem(DialogItemTemplate)':
DialogTemplate.cpp:(.text+0x1da): undefined reference to `operator new[](unsigned int)'
build/release/makensis/DialogTemplate.o: In function `CDialogTemplate::Save(unsigned int&)':
DialogTemplate.cpp:(.text+0x7ad): undefined reference to `operator new[](unsigned int)'
build/release/makensis/DialogTemplate.o: In function `CDialogTemplate::CDialogTemplate(unsigned char*, unsigned int)':
DialogTemplate.cpp:(.text+0x10cf): undefined reference to `operator new[](unsigned int)'
build/release/makensis/DialogTemplate.o: In function `CDialogTemplate::CDialogTemplate(unsigned char*, unsigned int)':
DialogTemplate.cpp:(.text+0x146f): undefined reference to `operator new[](unsigned int)'
build/release/makensis/dirreader.o: In function `dir_reader::exclude(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
dirreader.cpp:(.text+0x2be): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_of(char const*, unsigned int, unsigned int) const'
build/release/makensis/dirreader.o: In function `posix_dir_reader::read(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
dirreader.cpp:(.text._ZN16posix_dir_reader4readERKSs[posix_dir_reader::read(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0xa8): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
dirreader.cpp:(.text._ZN16posix_dir_reader4readERKSs[posix_dir_reader::read(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0xcf): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
build/release/makensis/icon.o: In function `generate_icon_group(std::vector<Icon, std::allocator<Icon> >, std::vector<IconPair, std::allocator<IconPair> >, bool)':
icon.cpp:(.text+0x6f4): undefined reference to `operator new[](unsigned int)'
build/release/makensis/icon.o: In function `generate_uninstall_icon_data(std::vector<Icon, std::allocator<Icon> >, std::vector<Icon, std::allocator<Icon> >, unsigned int&)':
icon.cpp:(.text+0x153c): undefined reference to `operator new[](unsigned int)'
build/release/makensis/icon.o: In function `set_icon(CResourceEditor*, unsigned short, std::vector<Icon, std::allocator<Icon> >, std::vector<Icon, std::allocator<Icon> >)':
icon.cpp:(.text+0x19d9): undefined reference to `operator new[](unsigned int)'
build/release/makensis/icon.o: In function `load_icon_file(char const*)':
icon.cpp:(.text+0x1c15): undefined reference to `operator new[](unsigned int)'
build/release/makensis/lang.o: In function `CEXEBuild::GenerateLangTable(LanguageTable*, int)':
lang.cpp:(.text+0x1a6d): undefined reference to `operator new[](unsigned int)'
build/release/makensis/makenssi.o: In function `main':
makenssi.cpp:(.text+0x3fb): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
makenssi.cpp:(.text+0x413): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
makenssi.cpp:(.text+0x42b): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
makenssi.cpp:(.text+0x499): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
makenssi.cpp:(.text+0x4b1): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
makenssi.cpp:(.text+0x937): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
build/release/makensis/manifest.o: In function `manifest::generate(manifest::comctl, manifest::exec_level)':
manifest.cpp:(.text+0x5c): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
manifest.cpp:(.text+0xdc): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
manifest.cpp:(.text+0x100): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
manifest.cpp:(.text+0x118): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
manifest.cpp:(.text+0x193): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
manifest.cpp:(.text+0x1b4): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
manifest.cpp:(.text+0x1d4): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
manifest.cpp:(.text+0x1f1): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
build/release/makensis/Plugins.o: In function `(anonymous namespace)::file_size(std::basic_ifstream<char, std::char_traits<char> >&)':
Plugins.cpp:(.text+0x40): undefined reference to `std::basic_istream<char, std::char_traits<char> >::seekg(long long, std::_Ios_Seekdir)'
build/release/makensis/Plugins.o: In function `(anonymous namespace)::read_file(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
Plugins.cpp:(.text+0x588): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
Plugins.cpp:(.text+0x647): undefined reference to `std::basic_istream<char, std::char_traits<char> >::read(char*, int)'
Plugins.cpp:(.text+0x6a3): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
build/release/makensis/Plugins.o: In function `Plugins::GetExports(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
Plugins.cpp:(.text+0x13ba): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
build/release/makensis/Plugins.o: In function `Plugins::FindCommands(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
Plugins.cpp:(.text+0x1b78): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned int, char)'
build/release/makensis/Plugins.o: In function `std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
Plugins.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_[std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x38): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned int)'
Plugins.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_[std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x48): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
build/release/makensis/ResourceEditor.o: In function `CResourceDataEntry::SetData(unsigned char*, unsigned int, unsigned int)':
ResourceEditor.cpp:(.text+0x235): undefined reference to `operator new[](unsigned int)'
build/release/makensis/ResourceEditor.o: In function `CResourceEditor::GetResourceW(unsigned short*, unsigned short*, unsigned short)':
ResourceEditor.cpp:(.text+0x2463): undefined reference to `operator new[](unsigned int)'
build/release/makensis/ResourceEditor.o: In function `CResourceEditor::ScanDirectory(RESOURCE_DIRECTORY*, RESOURCE_DIRECTORY*)':
ResourceEditor.cpp:(.text+0x2719): undefined reference to `operator new[](unsigned int)'
build/release/makensis/script.o: In function `CEXEBuild::do_add_file_create_dir(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':
script.cpp:(.text+0xf4d): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned int) const'
script.cpp:(.text+0xf6b): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::insert(unsigned int, char const*, unsigned int)'
script.cpp:(.text+0xf8e): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned int) const'
build/release/makensis/script.o: In function `CEXEBuild::add_file(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, char const*, int, int*)':
script.cpp:(.text+0x10c5): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned int, char)'
script.cpp:(.text+0x1559): undefined reference to `__umoddi3'
build/release/makensis/script.o: In function `CEXEBuild::do_add_file(char const*, int, int, int*, char const*, int, int*, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
script.cpp:(.text+0x1862): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
script.cpp:(.text+0x187d): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
script.cpp:(.text+0x18af): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
script.cpp:(.text+0x1a61): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
script.cpp:(.text+0x1b92): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
script.cpp:(.text+0x1bcf): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
script.cpp:(.text+0x1d0f): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned int, char)'
script.cpp:(.text+0x1ea8): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned int, char)'
build/release/makensis/script.o: In function `CEXEBuild::doCommand(int, LineParser&)':
script.cpp:(.text+0x74d4): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
script.cpp:(.text+0x7543): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
script.cpp:(.text+0x7561): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
script.cpp:(.text+0xb1da): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
script.cpp:(.text+0x1239c): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
script.cpp:(.text+0x13cb1): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
script.cpp:(.text+0x145d5): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
script.cpp:(.text+0x1464a): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
script.cpp:(.text+0x14668): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
script.cpp:(.text+0x14a88): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
script.cpp:(.text+0x14b93): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)'
build/release/makensis/util.o: In function `get_string_prefix(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
util.cpp:(.text+0x8e): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char const*, unsigned int, unsigned int) const'
util.cpp:(.text+0xab): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
build/release/makensis/util.o: In function `get_string_suffix(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
util.cpp:(.text+0xba1): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char const*, unsigned int, unsigned int) const'
util.cpp:(.text+0xbcc): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
build/release/makensis/winchar.o: In function `winchar_strdup(unsigned short const*)':
winchar.cpp:(.text+0x10f): undefined reference to `operator new[](unsigned int)'
build/release/makensis/winchar.o: In function `winchar_toansi(unsigned short const*, unsigned int)':
winchar.cpp:(.text+0x1ea): undefined reference to `operator new[](unsigned int)'
build/release/makensis/winchar.o: In function `winchar_fromansi(char const*, unsigned int)':
winchar.cpp:(.text+0x4ad): undefined reference to `operator new[](unsigned int)'
build/release/makensis/writer.o: In function `writer_sink::write_string(char const*, unsigned int)':
writer.cpp:(.text+0x18f): undefined reference to `operator new[](unsigned int)'
collect2: ld returned 1 exit status
scons: *** [build/release/makensis/makensis] Error 1
scons: building terminated because of errors.


In the future, please use pastebin or an attachment to paste such a huge amount of text.


I would give it another try after you applied the "makensis_native_64bit.patch" patch from the Debian NSIS package available at anonscm.debian.org/gitweb/?p=collab-maint/nsis.git;a=blob_plain;f=debian/patches/makensis_native_64bit.patch;hb=HEAD

Background information about the patch can be found at sf.net/support/tracker.php?aid=1753070