On Wednesday 06 March 2002 11:17 am, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | It appears that the new qt2/xforms stuff isn't being linked into the frontend > | library. > > > | Incidentally, and separately, I had to change qt2/Makefile.am: > | -libqt2xforms.la: link_files $(XFORMS_SOURCES) > | +libqt2xforms.la: link_files $(libqt2xforms_la_SOURCES) > > > | link_files: > | - for i in $(XFORMS_SOURCES); do \ > | + for i in $(libqt2xforms_la_SOURCES); do \ > | ln -sf "${top_srcdir}/src/frontends/xforms/$$i" . ; \ > | done > > > | At least I can compile the stuff with this change. > > > | Anyway, the link error and, below it, the link step for the frontends > | library. As you can see, the xforms stuff is not present. > > Why should I see it there? it is supposed to be inside > frontends/libfrontends.o > > Look in configure.in: > > FRONTEND_GUILIB="qt2/*.lo qt2/ui/*.lo qt2/moc/*.lo qt2/ui/moc/*.lo" > > where do you see the xforms stuff.
So what is the point of the qt2/xforms directory? What do I need to change in FRONTEND_GUILIB? I certainly don't want to add xforms/*.lo Perhaps I need to do a little sed magic. Running this little shell script from the frontends directory seems to get the necessary .lo files. Do you want me to do something similar in configure.in and add ${xforms_lo_files} to FRONTEND_GUILIB? #~/bin/sh qt2_xforms_C_files=qt2/xforms/*.C xforms_C_files=`echo ${qt2_xforms_C_files} | sed -e 's/qt2\///g'` xforms_lo_files=`echo ${xforms_C_files} | sed -e 's/[.]C/.lo/g'` echo ${xforms_lo_files} Anyway, I'm going to commit the xforms image loader first, since the qt2 stuff is already broken and not by me! Angus