Subject: Another gcc problem...
To: None <port-alpha@netbsd.org>
From: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
List: port-alpha
Date: 12/13/2003 17:01:25
Dear all,
on my way compiling kde-3.1.4 on alpha, I face the next problem. Hope we
have a gcc guru here....
if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX c++
-DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../ksim/library
-I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/X11R6/include
-I/usr/pkg/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
-I/usr/pkg/include/freetype2 -DGLX_GLXEXT_LEGACY -I/usr/pkg/include
-I/usr/X11R6/include -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall
-pedantic -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2
-mieee -DGLX_GLXEXT_LEGACY -I/usr/pkg/include -I/usr/X11R6/include
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-MT ksimcpu.lo -MD -MP -MF ".deps/ksimcpu.Tpo" \
-c -o ksimcpu.lo `test -f 'ksimcpu.cpp' || echo './'`ksimcpu.cpp; \
then mv ".deps/ksimcpu.Tpo" ".deps/ksimcpu.Plo"; \
else rm -f ".deps/ksimcpu.Tpo"; exit 1; \
fi
ksimcpu.cpp:284:2: warning: #warning is a GCC extension
ksimcpu.cpp:284:2: warning: #warning "add support for SMP on OpenBSD and NetBSD"
ksimcpu.cpp: In member function `void CpuView::updateCpu(CpuView::CpuData&, int)':
ksimcpu.cpp:290: error: cannot convert `unsigned int*' to `size_t*' for
argument `4' to `int sysctl(int*, unsigned int, void*, size_t*, const
void*, long unsigned int)'
ksimcpu.cpp:217: warning: unused parameter `int cpuNumber'
gmake[4]: *** [ksimcpu.lo] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/misc/kdeutils3/work/kdeutils-3.1.4/ksim/monitors/cpu'
Anybody any idea?
Cheers,
Torsten
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<> <>
<> Torsten Harenberg harenberg@physik.uni-wuppertal.de <>
<> Bergische Universitaet <>
<> FB 8 - Physik Tel.: +49 (0)202 439-2740 <>
<> Gaussstr. 20 Fax : +49 (0)202 439-2811 <>
<> 42097 Wuppertal <>
<> <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>