[Kstars-devel] kstars in kdeedu 3.96.2 tarball broken
Jason Harris
kstars at 30doradus.org
Wed Dec 5 16:40:02 CET 2007
Hello,
The issue isn't the versioning in cmake. It's that the linker is not
linking the libnova library for some reason. I installed
libnova-0.12.1 here, and I get the same linker error that Tobias
reported:
Linking CXX executable indi_celestron_gps
CMakeFiles/indi_celestron_gps.dir/libs/indicom.o: In function `extractISOTime':
/home/kstars/kde/src/kdeedu/kstars/kstars/indi/libs/indicom.c:72:
undefined reference to `ln_get_date_from_tm'
/home/kstars/kde/src/kdeedu/kstars/kstars/indi/libs/indicom.c:78:
undefined reference to `ln_get_date_from_tm'
collect2: ld returned 1 exit status
make[2]: *** [kstars/kstars/indi/indi_celestron_gps] Error 1
However, ln_get_date_from_tm does indeed appear to be in the library:
% strings /usr/lib64/libnova.so | grep ln_get_date_from_tm
ln_get_date_from_tm
So it seems that the problem must be that the library is not getting
linked. I took a quick look at the indi/CMakeLists.txt file but
unfortunately I really don't have time to dig into this today. I hope
Jasem will be able to have a look before the RC2 tagging.
Jason
On 12/3/07, Tobias Powalowski <t.powa at gmx.de> wrote:
> On Monday 03 December 2007 19:31:41 Jason Harris wrote:
> > Hello,
> >
> > On Sunday 02 December 2007 08:41:02 am Tobias Powalowski wrote:
> > > somehow this commit seems to break compilation, with indi and libnova
> > > installed on the build system.
> > >
> > > greetings
> > > tpowa
> >
> > I believe Jasem fixed this issue, with r741234[1]. IIUC, the problem is
> > due to the fact that cmake was not checking the version of libnova that is
> > installed. If you don't want to update your sources, I think you could
> > also get the latest version of libnova (Jasem, what is the minimum version
> > that has the ln_get_date_from_tm function?)
> >
> > Jason
> >
> > [1]: http://www.nabble.com/KDE-kdeedu-kstars-kstars-tf4869291.html
>
> Hi
> not really, the 3.96.2 tarball is from 29112007 so it has this fix already
> included.
> [tobias at T-POWA-LX ~]$ pacman -Qi libnova
> Name : libnova
> Version : 0.12.1-1
> URL : http://libnova.sourceforge.net/
> Lizenz : GPL2
>
> greetings
> tpowa
>
> --
> Tobias Powalowski
> Archlinux Developer & Package Maintainer (tpowa)
> http://www.archlinux.org
> tpowa at archlinux.org
>
>
More information about the Kstars-devel
mailing list