Help,
I am getting the following errors from trying to compile lyx-1.1.6fix1
under HP-UX11. In fact I am unable to compile any version of lyx newer
than 1.0.4. I have spent ages running the configure script in different
ways and it always says that configuration is successful. However,
compilation always fails.
I have no knowledge of c++, hence the error messages below mean little
to me. I would be most grateful for any help.
Thanks
Bruce
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./.. -g -O2 -c thread.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c thread.cc -o
thread.o
thread.cc: In method
`SigC::Threads::Mutex::Mutex(SigC::Threads::MutexAttr =
SigC::Threads::Mutex::Default)':
thread.cc:32: passing `const pthread_mutexattr_t' to argument 2 of
`pthread_mutex_init(pthread_mutex_t *, const pthread_mutexattr_t *)' lac
ks a cast
thread.cc: In method `SigC::Threads::Condition::Condition(const
SigC::Threads::CondAttr & = SigC::Threads::Condition::Default)':
thread.cc:47: passing `const pthread_condattr_t' to argument 2 of
`pthread_cond_init(pthread_cond_t *, const pthread_condattr_t *)' lacks
a
cast
thread.cc: In method `int SigC::Threads::Thread::detach()':
thread.cc:94: passing `ThreadImpl *' to argument 1 of
`pthread_detach(int)' lacks a cast
thread.cc: In method `int SigC::Threads::Thread::start(void * = 0)':
thread.cc:103: passing `pthread_attr_t' to argument 2 of
`pthread_create(pthread_t *, const pthread_attr_t *, void * (*)(void *),
void *)'
lacks a cast
thread.cc: In method `void * SigC::Threads::Private_::get()':
thread.cc:110: `pthread_addr_t' undeclared (first use this function)
thread.cc:110: (Each undeclared identifier is reported only once
thread.cc:110: for each function it appears in.)
thread.cc:110: parse error before `)'
thread.cc: In method `void SigC::Threads::Private_::create(void (*)(void
*))':
thread.cc:125: implicit declaration of function `int
SigC::Threads::pthread_keycreate(...)'
thread.cc: At top level:
thread.cc:147: `pthread_mutexattr_default' was not declared in this
scope
thread.cc:148: `pthread_condattr_default' was not declared in this scope
thread.cc:149: `pthread_attr_default' was not declared in this scope
--
Bruce Little, Unix Desktop Applications Service Manager
Met Office, London Road, Bracknell, Berkshire, RG12 2SZ
+44 1344 854886 ------------ [EMAIL PROTECTED]