Solaris 10, gcc 4.6.3, Program.cc gives the folloing errors:
......
CXX Program.lo
In file included from llvm/lib/System/Unix/Program.inc:34:0,
from llvm/lib/System/Program.cpp:52:
/usr/include/spawn.h:42:14: error: expected ',' or '...' before 'argv'
/usr/include/spawn.h:50:14: error: expected ',' or '...' before 'argv'
In file included from llvm/lib/System/Program.cpp:52:0:
llvm/lib/System/Unix/Program.inc: In member function 'bool
llvm::sys::Program::Execute(const llvm::sys::Path&, const char**, const char**,
const llvm::sys::Path**, unsigned int, std::string*)':
llvm/lib/System/Unix/Program.inc:217:79: error: cannot convert 'char**' to
'char*' for argument '5' to 'int posix_spawn(pid_t*, const char*, const
posix_spawn_file_actions_t*, const posix_spawnattr_t*, char*)'
make[5]: *** [Program.lo] Error 1
make[5]: Leaving directory `/home/chris/apps/mail/clamav-0.97.6/libclamav/c++'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/chris/apps/mail/clamav-0.97.6/libclamav/c++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/chris/apps/mail/clamav-0.97.6/libclamav'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/chris/apps/mail/clamav-0.97.6/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chris/apps/mail/clamav-0.97.6'
make: *** [all] Error 2
==========================================================
Chris Candreva -- [email protected] -- (914) 948-3162
WestNet Internet Services of Westchester
http://www.westnet.com/
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml