[Kde-bindings] compile problem in smoke/kde
Dominique Devriese
devriese at kde.org
Thu Jul 22 12:41:27 UTC 2004
Hi,
I have another compile problem in smoke/kde.
When compiling the following code:
static void x_121(Smoke::Stack x) {
x[0].s_enum = (long)KIO::HTTP_GET;
}
static void x_122(Smoke::Stack x) {
x[0].s_enum = (long)KIO::HTTP_PUT;
}
static void x_123(Smoke::Stack x) {
x[0].s_enum = (long)KIO::HTTP_POST;
}
static void x_124(Smoke::Stack x) {
x[0].s_enum = (long)KIO::HTTP_HEAD;
}
<snip>
I get the following error:
x_7.cpp: In static member function `static void x_KIO::x_121(Smoke::StackItem*)
':
x_7.cpp:1809: error: `HTTP_GET' undeclared in namespace `KIO'
x_7.cpp: In static member function `static void x_KIO::x_122(Smoke::StackItem*)
':
x_7.cpp:1812: error: `HTTP_PUT' undeclared in namespace `KIO'
x_7.cpp: In static member function `static void x_KIO::x_123(Smoke::StackItem*)
':
x_7.cpp:1815: error: `HTTP_POST' undeclared in namespace `KIO'
x_7.cpp: In static member function `static void x_KIO::x_124(Smoke::StackItem*)
':
x_7.cpp:1818: error: `HTTP_HEAD' undeclared in namespace `KIO'
x_7.cpp: In static member function `static void x_KIO::x_125(Smoke::StackItem*)
':
x_7.cpp:1821: error: `HTTP_DELETE' undeclared in namespace `KIO'
x_7.cpp: In static member function `static void x_KIO::x_126(Smoke::StackItem*)
':
x_7.cpp:1824: error: `HTTP_OPTIONS' undeclared in namespace `KIO'
x_7.cpp: In static member function `static void x_KIO::x_127(Smoke::StackItem*)
':
x_7.cpp:1827: error: `DAV_PROPFIND' undeclared in namespace `KIO'
x_7.cpp: In static member function `static void x_KIO::x_128(Smoke::StackItem*)
':
<snip>
When compiling with the following command:
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/usr/include/kde -I/usr/share/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT x_7.lo -MD -MP -MF ".deps/x_7.Tpo" -c -o x_7.lo x_7.cpp; \
then mv -f ".deps/x_7.Tpo" ".deps/x_7.Plo"; else rm -f ".deps/x_7.Tpo"; exit 1; fi
It appears the problem is a missing include of
kdelibs/interfaces/kio/http.h ( maybe it was previously included in
some other header ? ). As I don't know my way around kalyptus, again,
I don't know how to fix this... Richard, can you help me out again ?
:) Or anyone else of course..
thanks in advance
domi
More information about the Kde-bindings
mailing list