[lsst-dm-stack-users] Difficulties installing DM on Ubuntu 11

Heather Kelly heather at slac.stanford.edu
Mon Apr 21 09:29:21 PDT 2014


Hi,
I'm trying to install DMstack on an Ubuntu 11.1 lab machine at BNL:
Distributor ID: Ubuntu
Description:    Ubuntu 11.10
Release:        11.10
Codename:       oneiric

I've tried both Winter2014 and Summer2013 and I end up with the same
compilation error, which to me.. seems really odd.. I clearly see "-lm"
in the build command, so it's odd that "roundf" is seen to be missing..
and now I'm going to click "send" and something silly will occur to me,
but any suggestions would be very welcome:

cc  -std=gnu89  -std=gnu89 -g -Wall -ffinite-math-only
-fno-signaling-nans -pthread -mtune=generic -O3 -fomit-frame-pointer
-DNDEBUG -fPIC -Winline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -pthread -I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/p
ixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   
-I../gsl-an   -I../qfits-an/include -I../libkd -I.   -c -o
an-fitstopnm.o an-fitstopnm.c
cc  -g -Wall -ffinite-math-only -fno-signaling-nans -pthread
-mtune=generic -O3 -fomit-frame-pointer -DNDEBUG -fPIC -Winline -lm 
an-fitstopnm.o libanutils.a ..
/qfits-an/lib/libqfits.a   -o an-fitstopnman-fitstopnm.o: In function
`main':
/opt/lsst/DMstack/Winter2014/EupsBuildDir/Linux64/astrometry_net-0.30+3/astrometry_net-0.30+3/util/an-fitstopnm.c:348:
undefined reference to `roundf'
/opt/lsst/DMstack/Winter2014/EupsBuildDir/Linux64/astrometry_net-0.30+3/astrometry_net-0.30+3/util/an-fitstopnm.c:339:
undefined reference to `roundf'
collect2: ld returned 1 exit status
make[1]: *** [an-fitstopnm] Error 1
make[1]: Leaving directory
`/opt/lsst/DMstack/Winter2014/EupsBuildDir/Linux64/astrometry_net-0.30+3/astrometry_net-0.30+3/util'
make: *** [all] Error 2

Take care,
heather



More information about the dm-users mailing list