Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 May 2014 19:50:46 +0300
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Upgrade of astro/kstars to 4.12.4_1 fails - linker error
Message-ID:  <86iopki2zd.fsf@orwell.Elisa>
References:  <20140504230817.66df75b1@tiger2008.drpetervoigt.private>

next in thread | previous in thread | raw e-mail | index | archive | help
"Dr. Peter Voigt" <pvoigt@uos.de> writes:

> I am running 10.0-RELEASE-p2 and after the latest ports tree update the
> upgrade of astro/kstars to 4.12.4_1 fails:
>
> # portmaster --no-confirm --no-term-title -D -G kstars
>
> Scanning dependencies of target testcsvparser
> [100%] Building CXX object
> Tests/CMakeFiles/testfwparser.dir/testfwparser.o [100%] Building CXX
> object Tests/CMakeFiles/testcsvparser.dir/testcsvparser.o Linking CXX
> executable
> testfwparser /usr/ports/astro/kstars/work/kstars-4.12.4/kstars/kstars.cpp:122:7:
> warning: '__GLIBC__' is not defined, evaluates to 0 [-Wundef] #if
> ( __GLIBC__ >= 2 &&__GLIBC_MINOR__ >= 1  && !defined(__UCLIBC__) )
> ^ /usr/local/lib/libcfitsio.so: undefined reference to
> `compress2mem_from_mem' /usr/local/lib/libcfitsio.so: undefined
> reference to `compress2file_from_mem' /usr/local/lib/libcfitsio.so:
> undefined reference to `uncompress2mem' /usr/local/lib/libcfitsio.so:
> undefined reference to `zuncompress2mem' /usr/local/lib/libcfitsio.so:
> undefined reference to `uncompress2file' /usr/local/lib/libcfitsio.so:
> undefined reference to `uncompress2mem_from_mem' c++: error: linker
> command failed with exit code 1 (use -v to see invocation) ---
> Tests/testfwparser --- *** [Tests/testfwparser] Error code 1

This looks like a problem in astro/cfitsio. Have you tried rebuilding it
first?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86iopki2zd.fsf>