Bruce Foster wrote:
>
> Here is a lyx-1.1.6pre3 compilation failure under HPUX 10.20 using gcc-2.95.2:
>
> /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
> -I../../src -I./../ -I../../boost -I/opt/local/include
> -D_HPUX_SOURCE -fno-rtti -fno-exceptions -W -Wall -c fmt.C
> g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost
> -I/opt/local/include -D_HPUX_SOURCE -fno-rtti -fno-exceptions -W
> -Wall -c fmt.C -o fmt.o
> fmt.C: In function `class string fmt(const char *, ...)':
> fmt.C:40: implicit declaration of function `int vsnprintf(...)'
>
> Note that configure finds (v)snprintf OK on my system.
>
> I've been able to configure and build lyx 1.1.5fix2 using the same
> software suite, so I'm not new to LyX.
>
> What's the best way to proceed?
>
Maybe, the configure script tries to compile with the C-compiler
and the function is inside a library and not listed in any header.
So the check for vsnprintf succeeded but the C++-compiler failed
because of the missing header file.
Regards, Stephan
------------------------------------------------
<[EMAIL PROTECTED]> | beusen Solutions GmbH
fon: +49 30 549932-62 | Landsberger Allee 366
fax: +49 30 549932-21 | 12681 Berlin, Germany
------------------------------------------------