qt3 from cvs failes to compile

Bob Tanner kde-cygwin@mail.kde.org
Thu, 14 Nov 2002 17:39:33 -0600


On Thursday 14 November 2002 04:51 pm, Ralf Habacker wrote:
> Hi Bob,
>
> try
>
> make -f Makefile.cvs
> $ export QTDIR=3D$PWD
> $ ./config.cygwin

Not my day....

trap: bad signal HUP

This is the Qt/X11 Free Edition.

Creating qmake. Please wait...
g++ -c -o project.o -I. -Igenerators -Igenerators/unix -Igenerators/win32=
 =20
-Igenerators/mac -I../include -I/home/Administrator/projects/qt-3/include=
=20
-I../src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL=20
-I/home/Administrator/projects/qt-3/mkspecs/cygwin-g++ project.cpp
In file included from ../include/qmap.h:44,
                 from project.h:42,
                 from project.cpp:38:
=2E./include/qpair.h:62: syntax error before `bool'
=2E./include/qpair.h:62: `T1' was not declared in this scope
=2E./include/qpair.h:62: `T2' was not declared in this scope
=2E./include/qpair.h:62: template argument 1 is invalid
=2E./include/qpair.h:62: template argument 2 is invalid
=2E./include/qpair.h:62: `T1' was not declared in this scope
=2E./include/qpair.h:62: `T2' was not declared in this scope
=2E./include/qpair.h:62: template argument 1 is invalid
=2E./include/qpair.h:62: template argument 2 is invalid
=2E./include/qpair.h:63: ISO C++ forbids declaration of `x' with no type
=2E./include/qpair.h:63: ISO C++ forbids declaration of `y' with no type
=2E./include/qpair.h:63: `bool operator=3D=3D(const int&, const int&)' mu=
st have an=20
   argument of class or enumerated type
=2E./include/qpair.h: In function `bool operator=3D=3D(const int&, const =
int&)':
=2E./include/qpair.h:64: request for member `first' in `x', which is of=20
   non-aggregate type `int'
=2E./include/qpair.h:64: request for member `first' in `y', which is of=20
   non-aggregate type `int'
=2E./include/qpair.h:64: request for member `second' in `x', which is of=20
   non-aggregate type `int'
=2E./include/qpair.h:64: request for member `second' in `y', which is of=20
   non-aggregate type `int'
=2E./include/qpair.h: At global scope:
=2E./include/qpair.h:68: syntax error before `bool'
=2E./include/qpair.h:68: `T1' was not declared in this scope
=2E./include/qpair.h:68: `T2' was not declared in this scope
=2E./include/qpair.h:68: template argument 1 is invalid
=2E./include/qpair.h:68: template argument 2 is invalid
=2E./include/qpair.h:68: `T1' was not declared in this scope
=2E./include/qpair.h:68: `T2' was not declared in this scope
=2E./include/qpair.h:68: template argument 1 is invalid
=2E./include/qpair.h:68: template argument 2 is invalid
=2E./include/qpair.h:69: ISO C++ forbids declaration of `x' with no type
=2E./include/qpair.h:69: ISO C++ forbids declaration of `y' with no type
=2E./include/qpair.h:69: `bool operator<(const int&, const int&)' must ha=
ve an=20
   argument of class or enumerated type
=2E./include/qpair.h: In function `bool operator<(const int&, const int&)=
':
=2E./include/qpair.h:70: request for member `first' in `x', which is of=20
   non-aggregate type `int'
=2E./include/qpair.h:70: request for member `first' in `y', which is of=20
   non-aggregate type `int'
=2E./include/qpair.h:71: request for member `first' in `y', which is of=20
   non-aggregate type `int'
=2E./include/qpair.h:71: request for member `first' in `x', which is of=20
   non-aggregate type `int'
=2E./include/qpair.h:71: request for member `second' in `x', which is of=20
   non-aggregate type `int'
=2E./include/qpair.h:71: request for member `second' in `y', which is of=20
   non-aggregate type `int'
=2E./include/qpair.h: At global scope:
=2E./include/qpair.h:75: syntax error before `<' token
=2E./include/qpair.h:75: `T1' was not declared in this scope
=2E./include/qpair.h:75: `T2' was not declared in this scope
=2E./include/qpair.h:75: template argument 1 is invalid
=2E./include/qpair.h:75: template argument 2 is invalid
=2E./include/qpair.h:75: parse error before `&' token
=2E./include/qpair.h:76: ISO C++ forbids declaration of `qMakePair' with =
no type
=2E./include/qpair.h: In function `int qMakePair(...)':
=2E./include/qpair.h:77: `T1' undeclared (first use this function)
=2E./include/qpair.h:77: (Each undeclared identifier is reported only onc=
e for=20
   each function it appears in.)
=2E./include/qpair.h:77: `T2' undeclared (first use this function)
=2E./include/qpair.h:77: template argument 1 is invalid
=2E./include/qpair.h:77: template argument 2 is invalid
=2E./include/qpair.h:77: `x' undeclared (first use this function)
=2E./include/qpair.h:77: `y' undeclared (first use this function)
make: *** [project.o] Error 1
QMake failed to build. Aborting.

--=20
Bob Tanner <tanner@real-time.com>         | Phone : (952)943-8700
http://www.mn-linux.org, Minnesota, Linux | Fax   : (952)943-8500
Key fingerprint =3D AB15 0BDF BCDE 4369 5B42  1973 7CF1 A709 2CC1 B288