[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    qt-2.1.0 fails to compile on solaris
From:       Richard Bos <allabos () freeler ! nl>
Date:       2000-03-15 20:56:55
[Download RAW message or body]

I'm trying to get KDE installed at my work.  As I would
like to get it installed including koffice I choose KDE2
to start with.  It should become available on solaris.

I downloaded  qt-x11-2.1.0-beta2.tar.gz from the kde snapshot
directory and started the compile.  The compile failed for
the g++ as well as for gcc compiler, but with a different error
message.  I attached the compile error messages.

I've searched the mailing list and deja.com for the same errors,
but I couldn't find any reference.  1 of the errors complains about 
Qvariant, as some mails state removing qvariant from kde is not
applicable in my case; I was just compiling qt.

Compiling with the -E option didn't provide new useful information.

qt-1.44 compiled without problem; the 1.44 examples programs just
execute fine.

gcc version is 2.9.5, solaris version is 5.6 (is this a problem?).

Can anybody give me advice on how to continue??

-- 
Richard
["qt" (text/plain)]

hvss467> uname -r
solaris = 5.6

QT compile with for solaris-cc

CC -c -I/home/rbos/mydt/qt/2.1.0-beta2/include -I/usr/openwin/include -O2 -PIC \
-DQT_BUILTIN_GIF_READER  -I/home/rbos/mydt/qt/2.1.0-beta2/src/3rdparty/zlib \
-I/home/rbos/mydt/qt/2.1.0-beta2/src/3rdparty/libpng  -o kernel/qobject.o \
kernel/qobject.cpp "kernel/qvariant.h", line 137: Error: Multiple declaration for \
QVariant::QVariant(int). "kernel/qobject.cpp", line 2252: Warning (Anachronism): \
Formal argument 2 of type QPoint is being passed const QPoint*. "kernel/qobject.cpp", \
line 2252: Note: Type "CC -migration" for more on anachronisms. "kernel/qobject.cpp", \
line 2347: Warning (Anachronism): Formal argument 2 of type QRect is being passed \
const QRect*. "kernel/qobject.cpp", line 2360: Warning (Anachronism): Formal argument \
2 of type QSize is being passed const QSize*. "kernel/qobject.cpp", line 2399: \
Warning (Anachronism): Formal argument 2 of type QColorGroup is being passed const \
QColorGroup*. "kernel/qobject.cpp", line 2412: Warning (Anachronism): Formal argument \
2 of type QBitmap is being passed const QBitmap*. "kernel/qobject.cpp", line 2438: \
Warning (Anachronism): Formal argument 2 of type QPointArray is being passed const \
QPointArray*. 1 Error(s) and 6 Warning(s) detected.
*** Error code 1
make: Fatal error: Command failed for target `kernel/qobject.o'
Current working directory /home/rbos/mydt/qt/2.1.0-beta2/src
*** Error code 1
make: Fatal error: Command failed for target `src'


QT compile with for solaris-g++

/home/rbos/mydt/qt/2.1.0-beta2/include/qintdict.h: In method `void \
QIntDict<void>::deleteItem(void *)': kernel/qapplication_x11.cpp:4792:   instantiated \
                from here
/home/rbos/mydt/qt/2.1.0-beta2/include/qintdict.h:59: warning: `void *' is not a \
                pointer-to-object type
/home/rbos/mydt/qt/2.1.0-beta2/include/qlist.h: In method `void \
QList<void>::deleteItem(void *)': kernel/qapplication_x11.cpp:4792:   instantiated \
                from here
/home/rbos/mydt/qt/2.1.0-beta2/include/qlist.h:81: warning: `void *' is not a \
                pointer-to-object type
*** Error code 1
make: Fatal error: Command failed for target `kernel/qapplication_x11.o'
Current working directory /home/rbos/mydt/qt/2.1.0-beta2/src
*** Error code 1
make: Fatal error: Command failed for target `src'



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic