Hi!
Has anyone successfully compiled NSIS 2.01 on Solaris? I did compile it on Linux, but on Solaris I got lots of errors:
ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.375
gmake -C exehead
ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.375
gmake[1]: Entering directory `/hox/user/dspilker/src/NSIS/NSIS/Source/exehead'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/hox/user/dspilker/src/NSIS/NSIS/Source/exehead'
g++ -Wall -O3 -DCOMPRESS_MF_BT -c -o 7zGuids.o 7zip/7zGuids.cpp
gcc -Wall -O3 -DCOMPRESS_MF_BT -c -o bzlib.o bzip2/bzlib.c
g++ -Wall -O3 -DCOMPRESS_MF_BT -c -o CRC.o 7zip/Common/CRC.cpp
gcc -Wall -O3 -DCOMPRESS_MF_BT -c -o crc32.o crc32.c
g++ -Wall -O3 -DCOMPRESS_MF_BT -c -o DialogTemplate.o DialogTemplate.cpp
g++ -Wall -O3 -DCOMPRESS_MF_BT -c -o Alloc.o 7zip/Common/Alloc.cpp
g++ -Wall -O3 -DCOMPRESS_MF_BT -c -o makenssi.o makenssi.cpp
In file included from build.h:8,
from makenssi.cpp:43:
strlist.h: In method `void MMapFile::release()':
strlist.h:767: ANSI C++ forbids implicit conversion from `void *' in argument passing
strlist.h: In method `void MMapFile::release(void *, int)':
strlist.h:780: ANSI C++ forbids implicit conversion from `void *' in argument passing
strlist.h: In method `void MMapFile::flush(int)':
strlist.h:790: ANSI C++ forbids implicit conversion from `void *' in argument passing
In file included from build.h:30,
from makenssi.cpp:43:
clzma.h: In method `HANDLE CLZMA::CreateEvent(void *, int, int, char *)':
clzma.h:64: implicit declaration of function `int pthread_cond_init(...)'
clzma.h:69: implicit declaration of function `int pthread_mutex_init(...)'
clzma.h: In method `BOOL CLZMA::SetEvent(long unsigned int)':
clzma.h:81: implicit declaration of function `int pthread_mutex_lock(...)'
clzma.h:84: implicit declaration of function `int pthread_cond_signal(...)'
clzma.h:85: implicit declaration of function `int pthread_mutex_unlock(...)'
clzma.h: In method `BOOL CLZMA::CloseHandle(long unsigned int)':
clzma.h:103: implicit declaration of function `int pthread_cond_destroy(...)'
clzma.h:105: implicit declaration of function `int pthread_mutex_destroy(...)'
clzma.h: In method `DWORD CLZMA::WaitForSingleObject(long unsigned int, long unsigned int)':
clzma.h:118: `PTHREAD_MUTEX_INITIALIZER' undeclared (first use this function)
clzma.h:118: (Each undeclared identifier is reported only once
clzma.h:118: for each function it appears in.)
clzma.h:119: implicit declaration of function `int pthread_cond_wait(...)'
clzma.h: In method `int CLZMA::End()':
clzma.h:245: implicit declaration of function `int pthread_join(...)'
clzma.h: In method `int CLZMA::Compress(int)':
clzma.h:319: implicit declaration of function `int pthread_create(...)'
gmake: *** [makenssi.o] Error 1
Has anyone successfully compiled NSIS 2.01 on Solaris? I did compile it on Linux, but on Solaris I got lots of errors:
ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.375
gmake -C exehead
ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.375
gmake[1]: Entering directory `/hox/user/dspilker/src/NSIS/NSIS/Source/exehead'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/hox/user/dspilker/src/NSIS/NSIS/Source/exehead'
g++ -Wall -O3 -DCOMPRESS_MF_BT -c -o 7zGuids.o 7zip/7zGuids.cpp
gcc -Wall -O3 -DCOMPRESS_MF_BT -c -o bzlib.o bzip2/bzlib.c
g++ -Wall -O3 -DCOMPRESS_MF_BT -c -o CRC.o 7zip/Common/CRC.cpp
gcc -Wall -O3 -DCOMPRESS_MF_BT -c -o crc32.o crc32.c
g++ -Wall -O3 -DCOMPRESS_MF_BT -c -o DialogTemplate.o DialogTemplate.cpp
g++ -Wall -O3 -DCOMPRESS_MF_BT -c -o Alloc.o 7zip/Common/Alloc.cpp
g++ -Wall -O3 -DCOMPRESS_MF_BT -c -o makenssi.o makenssi.cpp
In file included from build.h:8,
from makenssi.cpp:43:
strlist.h: In method `void MMapFile::release()':
strlist.h:767: ANSI C++ forbids implicit conversion from `void *' in argument passing
strlist.h: In method `void MMapFile::release(void *, int)':
strlist.h:780: ANSI C++ forbids implicit conversion from `void *' in argument passing
strlist.h: In method `void MMapFile::flush(int)':
strlist.h:790: ANSI C++ forbids implicit conversion from `void *' in argument passing
In file included from build.h:30,
from makenssi.cpp:43:
clzma.h: In method `HANDLE CLZMA::CreateEvent(void *, int, int, char *)':
clzma.h:64: implicit declaration of function `int pthread_cond_init(...)'
clzma.h:69: implicit declaration of function `int pthread_mutex_init(...)'
clzma.h: In method `BOOL CLZMA::SetEvent(long unsigned int)':
clzma.h:81: implicit declaration of function `int pthread_mutex_lock(...)'
clzma.h:84: implicit declaration of function `int pthread_cond_signal(...)'
clzma.h:85: implicit declaration of function `int pthread_mutex_unlock(...)'
clzma.h: In method `BOOL CLZMA::CloseHandle(long unsigned int)':
clzma.h:103: implicit declaration of function `int pthread_cond_destroy(...)'
clzma.h:105: implicit declaration of function `int pthread_mutex_destroy(...)'
clzma.h: In method `DWORD CLZMA::WaitForSingleObject(long unsigned int, long unsigned int)':
clzma.h:118: `PTHREAD_MUTEX_INITIALIZER' undeclared (first use this function)
clzma.h:118: (Each undeclared identifier is reported only once
clzma.h:118: for each function it appears in.)
clzma.h:119: implicit declaration of function `int pthread_cond_wait(...)'
clzma.h: In method `int CLZMA::End()':
clzma.h:245: implicit declaration of function `int pthread_join(...)'
clzma.h: In method `int CLZMA::Compress(int)':
clzma.h:319: implicit declaration of function `int pthread_create(...)'
gmake: *** [makenssi.o] Error 1
Comment