Problem with qt3 (or is it an X problem)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with qt3 (or is it an X problem)

STeve Andre'
I'm not sure that ports is the right place for this as I don't know
if this is really an X problem?  Basically I'd like to know if others
have compiled qt3 after the recent X changes, ie, did I screw up
or is this a real problem.

Compiling qt3 I get the error below.

cd qmake && make
`qmake' is up to date.
cd src/moc && make
cd src && make
g++ -c -pipe -I/usr/local/include/libpng -I/usr/X11R6/include/freetype2 -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -I/usr/local/include -fno-exceptions -Wall -W -O2 -pthread -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_NIS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/usr/ports/x11/qt3/w-qt3-3.8/qt-x11-free-3.3.8/mkspecs/openbsd-g++ -I. -I/usr/X11R6/include/freetype2 -I3rdparty/opentype -I/usr/local/include -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qtaddons_x11.o
kernel/qtaddons_x11.cpp
In file included from /usr/X11R6/include/X11/extensions/XI.h:55,
                 from /usr/X11R6/include/X11/extensions/XInput.h:56,
                 from kernel/qt_x11_p.h:87,
                 from kernel/qtaddons_x11.cpp:25:
/usr/X11R6/include/X11/Xmd.h:137: error: conflicting types for `typedef long
   int INT32'
../include/qglobal.h:706: error: previous declaration as `typedef int INT32'
*** Error code 1

Stop in /usr/ports/x11/qt3/w-qt3-3.8/qt-x11-free-3.3.8/src (line 1381 of
Makefile).
*** Error code 1

Stop in /usr/ports/x11/qt3/w-qt3-3.8/qt-x11-free-3.3.8 (line 40 of Makefile).
*** Error code 1

--STeve Andre'

Reply | Threaded
Open this post in threaded view
|

Re: Problem with qt3 (or is it an X problem)

Ulrich Kahl
Am Thu, 29 May 2008 08:19:17 -0400 schrieb "Stephan Andre'"
<[hidden email]>:

> I'm not sure that ports is the right place for this as I don't know
> if this is really an X problem?  Basically I'd like to know if others
> have compiled qt3 after the recent X changes, ie, did I screw up
> or is this a real problem.

I get the same error.
OpenBSD 4.3-current (GENERIC.MP) #23: Thu May 29 10:39:50 CEST 2008
(cvs checked out the same day)

> Compiling qt3 I get the error below.
>
> cd qmake && make
> `qmake' is up to date.
> cd src/moc && make
> cd src && make
> g++ -c -pipe -I/usr/local/include/libpng
> -I/usr/X11R6/include/freetype2 -I/usr/local/include
> -I/usr/local/include/mysql -I/usr/local/include/postgresql
> -I/usr/local/include/postgresql/server -I/usr/local/include
> -fno-exceptions -Wall -W -O2 -pthread -fPIC -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -DQT_THREAD_SUPPORT -DQT_NO_NIS -D_LARGEFILE_SOURCE -D_LARGE_FILES
> -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC
> -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP
> -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC
> -I/usr/ports/x11/qt3/w-qt3-3.8/qt-x11-free-3.3.8/mkspecs/openbsd-g++
> -I. -I/usr/X11R6/include/freetype2 -I3rdparty/opentype
> -I/usr/local/include -I../include -I/usr/X11R6/include
> -I/usr/X11R6/include -I.moc/release-shared-mt/
> -o .obj/release-shared-mt/qtaddons_x11.o kernel/qtaddons_x11.cpp In
> file included from /usr/X11R6/include/X11/extensions/XI.h:55,
> from /usr/X11R6/include/X11/extensions/XInput.h:56, from
> kernel/qt_x11_p.h:87, from
> kernel/qtaddons_x11.cpp:25: /usr/X11R6/include/X11/Xmd.h:137: error:
> conflicting types for `typedef long int
> INT32' ../include/qglobal.h:706: error: previous declaration as
> `typedef int INT32' *** Error code 1
>
> Stop in /usr/ports/x11/qt3/w-qt3-3.8/qt-x11-free-3.3.8/src (line 1381
> of Makefile).
> *** Error code 1
>
> Stop in /usr/ports/x11/qt3/w-qt3-3.8/qt-x11-free-3.3.8 (line 40 of
> Makefile). *** Error code 1
>
> --STeve Andre'
>

        Ulrich

Reply | Threaded
Open this post in threaded view
|

Re: Problem with qt3 (or is it an X problem)

Markus Hennecke
On Sat, 31 May 2008, Ulrich Kahl wrote:

> Am Thu, 29 May 2008 08:19:17 -0400 schrieb "Stephan Andre'"
> <[hidden email]>:
>
>> I'm not sure that ports is the right place for this as I don't know
>> if this is really an X problem?  Basically I'd like to know if others
>> have compiled qt3 after the recent X changes, ie, did I screw up
>> or is this a real problem.
>
> I get the same error.
> OpenBSD 4.3-current (GENERIC.MP) #23: Thu May 29 10:39:50 CEST 2008
> (cvs checked out the same day)

This only happens on i386, my amd64 machines compiled the port just
fine. I can't see a relevant change in either the X or the qt3 ports
sources?

Kind regards
   Markus