Opened 19 years ago

Closed 19 years ago

#7495 closed defect (fixed)

BUG: doxygen-1.4.6_0 +wizard doesn't link with qt3 or qt3-mac (3.3.4)

Reported by: bikenomad@… Owned by: cssdev@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port:

Description

I didn't have qt3 installed, and tried to build doxywizard:

port install doxygen +wizard

which then proceeded to build qt3 3.3.4 and then doxygen. When trying to link the doxywizard app, I got this:

/usr/bin/make -C addon/doxywizard /usr/bin/make -f Makefile.doxywizard QTDIR=/opt/local all c++ -Wl,-search_paths_first -o ../../bin/doxywizard obj/doxywizard.o obj/version.o obj/inputstring.o obj/inputbool.o obj/inputstrlist.o obj/inputint.o obj/expert.o obj/config.o obj/moc_doxywizard.o obj/moc_inputstring.o obj/moc_inputbool.o obj/moc_inputstrlist.o obj/moc_inputint.o obj/moc_expert.o -framework CoreFoundation -framework ApplicationServices -L/opt/local/lib -lqt-mt /usr/bin/ld: warning prebinding disabled because dependent library: /opt/local/lib/libqt-mt.3.dylib is not prebound /usr/bin/ld: Undefined symbols: typeinfo for QPtrCollection typeinfo for QGDict typeinfo for QGArray typeinfo for QWidget typeinfo for QTabDialog typeinfo for QMainWindow collect2: ld returned 1 exit status make[2]: * bin/doxywizard Error 1 make[1]: * [all] Error 2 make: * [all] Error 2

And qt3-mac also doesn't seem to work...

/usr/bin/make -C addon/doxywizard /usr/bin/make -f Makefile.doxywizard QTDIR=/opt/local all c++ -Wl,-search_paths_first -o ../../bin/doxywizard obj/doxywizard.o obj/version.o obj/inputstring.o obj/inputbool.o obj/inputstrlist.o obj/inputint.o obj/expert.o obj/config.o obj/moc_doxywizard.o obj/moc_inputstring.o obj/moc_inputbool.o obj/moc_inputstrlist.o obj/moc_inputint.o obj/moc_expert.o -framework CoreFoundation -framework ApplicationServices -L/opt/local/lib -lqt-mt /usr/bin/ld: warning multiple definitions of symbol _dlsym /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlsym /opt/local/lib/libqt-mt.dylib(dlfcn.o) definition of _dlsym /usr/bin/ld: warning multiple definitions of symbol _dlclose /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlclose /opt/local/lib/libqt-mt.dylib(dlfcn.o) definition of _dlclose /usr/bin/ld: warning multiple definitions of symbol _dlerror /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlerror /opt/local/lib/libqt-mt.dylib(dlfcn.o) definition of _dlerror /usr/bin/ld: warning multiple definitions of symbol _dlopen /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlopen /opt/local/lib/libqt-mt.dylib(dlfcn.o) definition of _dlopen /usr/bin/ld: warning multiple definitions of symbol _dladdr /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dladdr /opt/local/lib/libqt-mt.dylib(dlfcn.o) definition of _dladdr /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used /usr/bin/ld: warning prebinding disabled because of undefined symbols /usr/bin/ld: Undefined symbols: QPaintDevice::setX11Data(QPaintDeviceX11Data const*) QWidget::create(unsigned long, bool, bool) QWidget::x11Event(_XEvent*) QPaintDevice::x11RenderHandle() const symbol _dladdr used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library /opt/local/lib/libqt-mt.3.dylib(dlfcn.o) symbol _dlclose used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library /opt/local/lib/libqt-mt.3.dylib(dlfcn.o) symbol _dlerror used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library /opt/local/lib/libqt-mt.3.dylib(dlfcn.o) symbol _dlopen used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library /opt/local/lib/libqt-mt.3.dylib(dlfcn.o) symbol _dlsym used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library /opt/local/lib/libqt-mt.3.dylib(dlfcn.o) collect2: ld returned 1 exit status make[2]: * bin/doxywizard Error 1

Attachments (1)

build-destroot.tar.bz2 (18.0 KB) - added by cssdev@… 19 years ago.
build and destroot logs

Download all attachments as: .zip

Change History (9)

comment:1 Changed 19 years ago by blb@…

Owner: changed from darwinports-bugs@… to cssdev@…

Assigning to maintainer.

comment:2 Changed 19 years ago by cssdev@…

Status: newassigned
Summary: doxygen (1.4.6_0) +wizard doesn't link with qt3 or qt3-mac (3.3.4)BUG: doxygen-1.4.6_0 +wizard doesn't link with qt3 or qt3-mac (3.3.4)

I confess that I have never used the doxywizard. I always use the command line, and the wizard variant is left over from a previous maintainer. I'll try to build Qt and see if I can figure out a fix. In the meantime, I recommend using doxygen from the command line. Do you know if the Qt libraries as built by DarwinPorts provide all those symbols?

comment:3 Changed 19 years ago by bikenomad@…

(In reply to comment #2)

I confess that I have never used the doxywizard. I always use the command line, and the wizard variant is left over from a previous maintainer. I'll try to build Qt and see if I can figure out a fix. In the meantime, I recommend using doxygen from the command line. Do you know if the Qt libraries as built by DarwinPorts provide all those symbols?

output of

nm -p -aA $(find /opt/local/lib/*qt* -type f) | c++filt -s gnu-v3 | grep -E 'QPtrCollection|QGDict|QGArray|QWidget|QTabDialog|QMainWindow' | grep -F typeinfo

/opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499af8 s typeinfo for QWidgetList /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499d30 s typeinfo for QPtrCollection /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499b10 s typeinfo for QWidgetIntDict /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499cd4 s typeinfo for QGDict /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499ca8 s typeinfo for QGArray /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499ce0 s typeinfo for QIntDict<QWidget> /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499aec s typeinfo for QPtrList<QWidget> /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499c1c s typeinfo name for QWidgetList /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499d44 s typeinfo name for QPtrCollection /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499c3c s typeinfo name for QWidgetIntDict /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499d14 s typeinfo name for QGDict /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499cec s typeinfo name for QGArray /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499d1c s typeinfo name for QIntDict<QWidget> /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499c08 s typeinfo name for QPtrList<QWidget> /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499f78 s typeinfo for QWidget /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00499fa0 s typeinfo name for QWidget /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049a48c s typeinfo for QWidgetItem /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049a4cc s typeinfo name for QWidgetItem /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049b05c s typeinfo for QWidgetMapper /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049b068 s typeinfo name for QWidgetMapper /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049ba54 s typeinfo for QMainWindowLayout /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049ba84 s typeinfo name for QMainWindowLayout /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049beac s typeinfo for QPtrDict<QWidget> /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049bf50 s typeinfo name for QPtrDict<QWidget> /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049bf8c s typeinfo for QWidgetStackEventFilter /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049bf80 s typeinfo for QWidgetStackPrivate::Invisible /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049bfbc s typeinfo name for QWidgetStackEventFilter /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049bf98 s typeinfo name for QWidgetStackPrivate::Invisible /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049c338 s typeinfo for QWidgetPluginPrivate /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049c384 s typeinfo for QWidgetFactoryInterface /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049c360 s typeinfo name for QWidgetPluginPrivate /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049c3a4 s typeinfo name for QWidgetFactoryInterface /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049d014 s typeinfo for QPtrVector<QWidget> /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049d0a4 s typeinfo name for QPtrVector<QWidget> /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049dae4 s typeinfo for QDict<QWidget> /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049daf0 s typeinfo name for QDict<QWidget> /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049dfd4 s typeinfo for QPtrList<QGDictIterator> /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049dfe0 s typeinfo name for QPtrList<QGDictIterator> /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049ef18 s typeinfo for QWidgetResizeHandler /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049ef24 s typeinfo name for QWidgetResizeHandler /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049f03c s typeinfo for QMainWindow /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049f048 s typeinfo name for QMainWindow /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049f2c8 s typeinfo for QWidgetStack /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049f2d4 s typeinfo name for QWidgetStack /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049f3a0 s typeinfo for QWidgetPlugin /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049f3ac s typeinfo name for QWidgetPlugin /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049f4a4 s typeinfo for QTabDialog /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0049f4b0 s typeinfo name for QTabDialog /opt/local/lib/qt3-plugins/designer/libcppeditor.so: 000218e0 s typeinfo for QPtrCollection /opt/local/lib/qt3-plugins/designer/libcppeditor.so: 000218ac s typeinfo for QGDict /opt/local/lib/qt3-plugins/designer/libcppeditor.so: 000218e8 s typeinfo name for QPtrCollection /opt/local/lib/qt3-plugins/designer/libcppeditor.so: 000218c0 s typeinfo name for QGDict /opt/local/lib/qt3-plugins/designer/libcppeditor.so: 00021bc0 s typeinfo for QWidget /opt/local/lib/qt3-plugins/designer/libcppeditor.so: 00021be8 s typeinfo name for QWidget /opt/local/lib/qt3-plugins/designer/libwizards.so: 0003f330 s typeinfo for QPtrCollection /opt/local/lib/qt3-plugins/designer/libwizards.so: 0003f338 s typeinfo name for QPtrCollection /opt/local/lib/qt3-plugins/designer/libwizards.so: 0003f38c s typeinfo for QGDict /opt/local/lib/qt3-plugins/designer/libwizards.so: 0003f398 s typeinfo name for QGDict /opt/local/lib/qt3-plugins/designer/libwizards.so: 0003f3e4 s typeinfo for QGArray /opt/local/lib/qt3-plugins/designer/libwizards.so: 0003f3f4 s typeinfo name for QGArray /opt/local/lib/qt3-plugins/designer/libwizards.so: 0003f484 s typeinfo for QWidget /opt/local/lib/qt3-plugins/designer/libwizards.so: 0003f4ac s typeinfo name for QWidget

comment:4 Changed 19 years ago by bikenomad@…

(In reply to comment #2)

I confess that I have never used the doxywizard. I always use the command line, and the wizard variant is left over from a previous maintainer. I'll try to build Qt and see if I can figure out a fix. In the meantime, I recommend using doxygen from the command line. Do you know if the Qt libraries as built by DarwinPorts provide all those symbols?

output of port installed 'name:.*qt'

Port qt3-mac is not installed. Port qtc-qtsharp is not installed. Port qthello is not installed. Port qtplay is not installed. Port qtsharp is not installed. The following ports are currently installed:

qt3 @3.3.4_5+darwin_8 (active)

output of nm -p -agA $(find /opt/local/lib/*qt* -type f) | c++filt -s gnu-v3 | grep -E 'QPaintDevice::setX11Data|QWidget::create|QWidget::x11Event|QPaintDevice::x11RenderHandle'

/opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0002b5f0 T QPaintDevice::x11RenderHandle() const /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0002b470 T QPaintDevice::setX11Data(QPaintDeviceX11Data const*) /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0003d99c T QWidget::createTLSysExtra() /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0003e074 T QWidget::createInputContext() /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 0003d968 T QWidget::createSysExtra() /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 00037e10 T QWidget::create(unsigned long, bool, bool) /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 000d7040 T QWidget::x11Event(_XEvent*) /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 000d0f7c T QWidget::createExtra() /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 000d0e54 T QWidget::createTLExtra() /opt/local/lib/libqt-mt.3.3.4.dylib:single module: 000d0b30 T QWidget::createMapper() /opt/local/lib/qt3-plugins/designer/libcppeditor.so: U QPaintDevice::setX11Data(QPaintDeviceX11Data const*)/opt/local/lib/qt3-plugins/designer/libcppeditor.so: U QWidget::create(unsigned long, bool, bool) /opt/local/lib/qt3-plugins/designer/libcppeditor.so: U QWidget::x11Event(_XEvent*) /opt/local/lib/qt3-plugins/designer/libcppeditor.so: U QPaintDevice::x11RenderHandle() const /opt/local/lib/qt3-plugins/designer/libwizards.so: U QPaintDevice::setX11Data(QPaintDeviceX11Data const*) /opt/local/lib/qt3-plugins/designer/libwizards.so: U QWidget::create(unsigned long, bool, bool) /opt/local/lib/qt3-plugins/designer/libwizards.so: U QWidget::x11Event(_XEvent*) /opt/local/lib/qt3-plugins/designer/libwizards.so: U QPaintDevice::x11RenderHandle() const

Changed 19 years ago by cssdev@…

Attachment: build-destroot.tar.bz2 added

build and destroot logs

comment:5 Changed 19 years ago by bikenomad@…

(In reply to comment #5)

Created an attachment (id=6791) [edit] build and destroot logs

After installing the qt-mac port, I was able to build doxygen +wizard. I have attached the build and destroot logs. I ran the wizard successfully, too. Have you made any modifications to your DarwinPorts configuration?

Like what? I have a few local Portfiles, but nothing that could affect it.

comment:6 Changed 19 years ago by cssdev@…

Just to double-check, did you perform a port sync to make sure that you have the latest versions of the ports? I haven't been able to duplicate a problem using qt3-mac 3.3.4, revision 1. I see that the X11 version was bumped to 3.3.5 on Feb 27.

comment:7 Changed 19 years ago by bikenomad@…

(In reply to comment #7)

Just to double-check, did you perform a port sync to make sure that you have the latest versions of the ports? I haven't been able to duplicate a problem using qt3-mac 3.3.4, revision 1. I see that the X11 version was bumped to 3.3.5 on Feb 27.

Yes, I did. I'm now trying to completely uninstall qt3, qt3-mac, doxygen, etc. and try again.

comment:8 Changed 19 years ago by bikenomad@…

Resolution: fixed
Status: assignedclosed

OK, did a complete uninstall/clean and then built qt3-mac and doxygen +wizard. That worked.

Note: See TracTickets for help on using tickets.