By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1150 - Build issue: kmymoney FTBFS with --no-undefined
Summary: Build issue: kmymoney FTBFS with --no-undefined
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: non-core programs (show other bugs)
Version: 3.5.13.x [Trinity]
Hardware: All Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks: R14.1.0
  Show dependency treegraph
 
Reported: 2012-08-05 11:25 CDT by Francois Andriot
Modified: 2023-04-04 08:58 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Andriot 2012-08-05 11:25:23 CDT
Output follows:

libtool: link: x86_64-mageia-linux-gnu-g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3/crtbeginS.o  .libs/mymoneymoney.o .libs/mymoneyfinancialcalculator.o .libs/mymoneytransactionfilter.o .libs/mymoneyobject.o .libs/mymoneykeyvaluecontainer.o .libs/mymoneyobserver.o .libs/mymoneysubject.o .libs/mymoneysplit.o .libs/mymoneyinstitution.o .libs/mymoneyexception.o .libs/mymoneyinvesttransaction.o .libs/mymoneyutils.o .libs/mymoneysecurity.o .libs/mymoneytransaction.o .libs/mymoneyscheduled.o .libs/mymoneypayee.o .libs/mymoneyfile.o .libs/mymoneycategory.o .libs/mymoneyaccount.o .libs/mymoneyreport.o .libs/mymoneystatement.o .libs/mymoneyprice.o .libs/mymoneybudget.o .libs/mymoneyobjectcontainer.o .libs/mymoneyforecast.o   -O2 -O2 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags    -L/opt/trinity/lib64 -L/usr/lib64 /usr/lib64/libqt-mt.so -lmng -ljpeg -lpng12 -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lpng -lz /usr/lib64/libXext.so /usr/lib64/libX11.so /usr/lib64/libxcb.so -ldl -lSM -lICE /opt/trinity/lib64/libtqt.so -lpthread /opt/trinity/lib64/libkdecore.so -L/usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3 -L/usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3/crtendS.o /usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3/../../../../lib64/crtn.o -Wl,-soname -Wl,libkmm_mymoney.so.5 -o .libs/libkmm_mymoney.so.5.0.0
.libs/mymoneyforecast.o: In function `KMyMoneySettings::forecastCycles()':
/home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/kmymoney/kmymoney2/mymoney/../../kmymoney/kmymoneysettings.h:1489: undefined reference to `KMyMoneySettings::self()'
.libs/mymoneyforecast.o: In function `KMyMoneySettings::forecastAccountCycle()':
/home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/kmymoney/kmymoney2/mymoney/../../kmymoney/kmymoneysettings.h:1458: undefined reference to `KMyMoneySettings::self()'
.libs/mymoneyforecast.o: In function `KMyMoneySettings::forecastDays()':
/home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/kmymoney/kmymoney2/mymoney/../../kmymoney/kmymoneysettings.h:1427: undefined reference to `KMyMoneySettings::self()'
.libs/mymoneyforecast.o: In function `KMyMoneySettings::beginForecastDay()':
/home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/kmymoney/kmymoney2/mymoney/../../kmymoney/kmymoneysettings.h:1520: undefined reference to `KMyMoneySettings::self()'
.libs/mymoneyforecast.o: In function `KMyMoneySettings::forecastMethod()':
/home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/kmymoney/kmymoney2/mymoney/../../kmymoney/kmymoneysettings.h:1396: undefined reference to `KMyMoneySettings::self()'
.libs/mymoneyforecast.o:/home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/kmymoney/kmymoney2/mymoney/../../kmymoney/kmymoneysettings.h:1539: more undefined references to `KMyMoneySettings::self()' follow
collect2: ld returned 1 exit status
make[1]: *** [libkmm_mymoney.la] Erreur 1
make[1] : on quitte le répertoire « /home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/kmymoney/kmymoney2/mymoney »
make: *** [all-recursive] Erreur 1


I have to remove the --no-undefined for now.
Comment 1 Michele Calgaro 2018-07-29 04:11:38 CDT
Francois,
is this bug still valid? this was 6 years ago and kmymoney builds fine in debian/ubuntu.
Can we close it?
Comment 2 Slávek Banko 2022-05-03 18:26:03 CDT
This should now be solved if you use CMake build system instead of automake.
Please, can you try and confirm it?
Comment 3 Slávek Banko 2023-04-04 08:58:27 CDT
Because kmymoney can now be built only with CMake, I close this bug report as resolved - fixed.