konq/e and Qt/e 2
Yan Seiner
yan at seiner.com
Thu Oct 19 19:41:29 CEST 2006
Has anyone successfully compiled current konq-cvs for qt2?
I've been playing with it, but I'm getting a really bad blowup on
compile. Can anyone provide some guidance?
I am using the configure string from Eva's contrib to cvs. It looks
like I don't have networking or something... But I built qt2 with
'everything'.....
Thanks,
--Yan
/home/local/panel/arm//../src/qt-2.3.10/bin/moc ./ksock.h -o ksock.moc
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile
arm-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.
-I../../../konq-embed/kdesrc/kjs -I../../../konq-embed/kdesrc/kssl
-I../../../konq-embed/dropin -I../../../konq-embed/dropin/kio
-I../../../konq-embed/kdesrc/kdecore
-I../../../konq-embed/kdesrc/kdecore/network -I/include
-I/home/local/panel/arm//../src/qt-2.3.10/include
-I/home/local/panel/arm//../include -DQT_THREAD_SUPPORT -DQWS
-D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -msoft-float
-fomit-frame-pointers -L/home/local/panel/arm//ts7200/lib
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_COMPAT -DQT_NO_ASCII_CAST -MT ksock.lo -MD -MP -MF
".deps/ksock.Tpo" -c -o ksock.lo ksock.cpp; \
then mv -f ".deps/ksock.Tpo" ".deps/ksock.Plo"; else rm -f
".deps/ksock.Tpo"; exit 1; fi
ksock.cpp:105: error: `KSocket' has not been declared
ksock.cpp:106: error: ISO C++ forbids declaration of `KSocket' with no type
ksock.cpp: In function `int KSocket(int)':
ksock.cpp:106: error: only constructors take base initializers
ksock.cpp: At global scope:
ksock.cpp:119: error: `KSocket' is not a class or namespace
ksock.cpp:119: error: ISO C++ forbids declaration of `KSocket' with no type
ksock.cpp: In function `int KSocket(const char*, short unsigned int, int)':
ksock.cpp:119: error: only constructors take base initializers
ksock.cpp:122: error: invalid conversion from `const char*' to `int'
ksock.cpp:122: error: initializing argument 1 of `int connect(int,
const sockaddr*, socklen_t)'
ksock.cpp:122: error: invalid conversion from `short unsigned int' to
`const sockaddr*'
ksock.cpp:122: error: initializing argument 2 of `int connect(int,
const sockaddr*, socklen_t)'
ksock.cpp: At global scope:
ksock.cpp:125: error: `KSocket' is not a class or namespace
ksock.cpp:125: error: ISO C++ forbids declaration of `KSocket' with no type
ksock.cpp: In function `int KSocket(const char*)':
ksock.cpp:125: error: only constructors take base initializers
ksock.cpp:128: error: invalid conversion from `const char*' to `int'
/opt/crosstool/gcc-3.4.4-glibc-2.3.2/arm-linux/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/sys-include/sys/socket.h:122:
error: too few arguments to function `int connect(int, const sockaddr*,
socklen_t)'
ksock.cpp:128: error: at this point in file
ksock.cpp: At global scope:
ksock.cpp:131: error: `KSocket' is not a class or namespace
ksock.cpp: In function `void enableRead(bool)':
ksock.cpp:135: error: `d' undeclared (first use this function)
ksock.cpp:135: error: (Each undeclared identifier is reported only once
for each function it appears in.)
ksock.cpp:137: error: `sock' undeclared (first use this function)
ksock.cpp:138: error: invalid use of `this' in non-member function
ksock.cpp: At global scope:
and so on.
More information about the konq-e
mailing list