Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc 3.3.5 OS: Solaris if /bin/bash ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libkdepim -I/usr/local/KDE-3.4.0_CVS/include -I/usr/local/qt-050201/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT lunarphase.lo -MD -MP -MF ".deps/lunarphase.Tpo" \ -c -o lunarphase.lo `test -f 'lunarphase.cpp' || echo './'`lunarphase.cpp; \ then mv -f ".deps/lunarphase.Tpo" ".deps/lunarphase.Plo"; \ else rm -f ".deps/lunarphase.Tpo"; exit 1; \ fi mkdir: cannot create directory `.libs': File exists lunarphase.cpp:184:23: sys/cdefs.h: No such file or directory lunarphase.cpp:200:17: err.h: No such file or directory Patching this works: --- ./lunarphase.cpp 2004-12-31 01:06:41.000000000 +0100 +++ ./lunarphase.cpp 2005-02-17 16:59:48.871874000 +0100 @@ -181,7 +181,7 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> +/* #include <sys/cdefs.h> */ /* * Phase of the Moon. Calculates the current phase of the moon. @@ -197,7 +197,7 @@ #include <ctype.h> -#include <err.h> +/* #include <err.h> */ #include <math.h> #include <string.h> #include <stdlib.h>
*** This bug has been marked as a duplicate of 99680 ***