← Back to team overview

linuxdcpp-team team mailing list archive

[Question #110777]: Compiling in OpenSolaris

 

New question #110777 on LinuxDC++:
https://answers.launchpad.net/linuxdcpp/+question/110777

I'm trying to install LinuxDC++ latest (1.0.3) on the latest Opensolaris and am getting this error.
I've been following this guide http://openfacts.berlios.de/index-en.phtml?title=Ldcpp_Manual

"pfexec scons
scons: Reading SConscript files ...

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/taemun/linuxdcpp-1.0.2/SConstruct", line 50, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/taemun/linuxdcpp-1.0.2/SConstruct", line 53, in <module>

scons: warning: The PathOption() function is deprecated; use the PathVariable() function instead.
File "/home/taemun/linuxdcpp-1.0.2/SConstruct", line 56, in <module>
Checking for g++ >= 3.4...(cached) yes
Checking for pkg-config... (cached) yes
Checking for gtk+-2.0 >= 2.8... (cached) yes
Checking for gthread-2.0 >= 2.4... (cached) yes
Checking for libglade-2.0 >= 2.4... (cached) yes
Checking for C header file time.h... (cached) yes
Checking for C header file signal.h... (cached) yes
Checking for C header file unistd.h... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C library z... (cached) yes
Checking for C library bz2... (cached) yes
Checking for C library crypto... (cached) yes
Checking for C library ssl... (cached) yes
Checking for C header file iconv.h... (cached) yes
Checking for iconv(0, (const char **)0, 0, (char**)0, 0) in C library iconv... (cached) no

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/home/taemun/linuxdcpp-1.0.2/linux/SConstruct", line 27, in <module>
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/client/HashManager.o -c -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_DATADIR='"/usr/local/share"' -R/usr/lib -R/lib client/HashManager.cpp
client/HashManager.cpp: In member function `bool HashManager::Hasher::fastHash(const std::string&, uint8_t*, TigerTree&, int64_t, CRC32Filter*)':
client/HashManager.cpp:612: error: `madvise' undeclared (first use this function)
client/HashManager.cpp:612: error: (Each undeclared identifier is reported only once for each function it appears in.)
scons: *** [build/client/HashManager.o] Error 1
scons: building terminated because of errors."


-- 
You received this question notification because you are a member of
LinuxDC++ Team, which is an answer contact for LinuxDC++.