Subject: k3b doesn't build on DragonFlyBSD
To: None <pkgsrc-users@netbsd.org>
From: Thomas Schlesinger <schlesinger@netcologne.de>
List: pkgsrc-users
Date: 06/13/2006 20:18:49
Hi,
k3b doesn't build on DragonFlyBSD:
[..]
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../../libk3bdevice -I./../plugin -I./../tools -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/pkg/xorg/include -I/usr/pkg/include -I/usr/pkg/xorg/include -DQT_THREAD_SUPPORT -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/xorg/include -I/usr/pkg/include/krb5 -I/usr/pkg/include/freetype2 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/xorg/include -I/usr/pkg/include/krb5 -I/usr/pkg/include/freetype2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT
k3bglobals.lo -MD -MP -MF ".deps/k3bglobals.Tpo" \
-c -o k3bglobals.lo `test -f 'k3bglobals.cpp' ||
echo './'`k3bglobals.cpp; \
then mv -f ".deps/k3bglobals.Tpo" ".deps/k3bglobals.Plo"; \
else rm -f ".deps/k3bglobals.Tpo"; exit 1; \
fi
k3bglobals.cpp: In function `KIO::filesize_t K3b::filesize(const KURL&)':
k3bglobals.cpp:275: error: aggregate `stat64 buf' has incomplete type and
cannot be defined
k3bglobals.cpp:276: error: invalid use of undefined type `struct stat64'
k3bglobals.cpp:275: error: forward declaration of `struct stat64'
gmake[3]: *** [k3bglobals.lo] Error 1
gmake[3]: Leaving directory
`/usr/pkgsrc/sysutils/k3b/work/k3b-0.12.15/libk3b/core'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/sysutils/k3b/work/k3b-0.12.15/libk3b'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/sysutils/k3b/work/k3b-0.12.15'
gmake: *** [all] Error 2
*** Error code 2
Thomas