Subject: qt3-tools on OS X
To: None <>
From: John D. Baker <>
List: tech-pkg
Date: 04/17/2005 13:49:42
Following the thread discussing the patch allowing qt3-libs to build as
an ordinary X11 package on MacOS X, I set about to give it a try (it's
the primary show-stopper for me to build 'qcad').  It built and installed
just fine.

I, too, am having problems now with qt3-tools.  I'm building on/for
MacOS X 10.2.8 (Jaguar) and the build fails as follows:

/usr/pkg/bin/libtool --mode=link g++  -L/usr/pkg/lib -L/usr/pkg/qt3/lib -L/usr/lib -L/usr/X11R6/lib -L/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/lib -fno-exceptions  -L/usr/pkg/lib  -L/usr/pkg/qt3/lib -o ../../../bin/uic .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o    -L/usr/pkg/lib -L/usr/pkg/qt3/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/pkg/qt3/lib -L/usr/pkg/lib -L/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/lib -L/usr/pkg/lib -L/usr/X11R6/lib -lqt-mt -lpng -lz -lGLU -lGL -lXmu -lXrender -lXrandr -lXcursor -lXft -lfreetype -lXext -lX11 -lm -lICE -lSM -lpthread
g++ -fno-exceptions -o ../../../bin/uic .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o -Wl,-bind_at_load  -L/usr/pkg/lib -L/usr/pkg/qt3/lib -L/usr/lib -L/usr/X11R6/lib -L/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/lib /usr/pkg/qt3/lib/libqt-mt.dylib -L/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/lib /usr/pkg/lib/libpng.dylib /usr/pkg/lib/libGLU.dylib /usr/pkg/lib/libGL.dylib -lXmu /usr/pkg/lib/libXrandr.dylib /usr/pkg/lib/libXcursor.dylib /usr/pkg/lib/libXfixes.dylib /usr/pkg/lib/libXft.dylib /usr/pkg/lib/libfontconfig.dylib /usr/pkg/lib/libexpat.dylib /usr/pkg/lib/libXrender.dylib /usr/pkg/lib/libfreetype.dylib /usr/pkg/lib/libz.dylib -lXext -lX11 -lm -lICE -lSM -lpthread
ld: Undefined symbols:
gnumake[3]: *** [../../../bin/uic] Error 1
gnumake[2]: *** [sub-uic] Error 2
gnumake[1]: *** [sub-designer] Error 2
gnumake: *** [sub-tools] Error 2
*** Error code 2

bmake: stopped in /usr/pkgsrc/x11/qt3-tools
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /Volumes/NetBSD/tmp/pkgsrc/x11/qt3-tools/work/.work.log
*** Error code 1

bmake: stopped in /usr/pkgsrc/x11/qt3-tools

Jaguar has man pages for the above functions, but that's no guarantee that
they actually exist in any system library.  I've not had a chance to start
searching for them yet...

Any clues in the meantime?


John D. Baker, KN5UKS                    NetBSD     Darwin/MacOS X
jdbaker(at)mylinuxisp(dot)com                 OpenBSD            FreeBSD
BSD -- It just sits there and _works_!