Date: Fri, 18 Mar 2005 08:32:29 -0700 From: Greg Lewis <glewis@eyesbeyond.com> To: "Michael L. Hostbaek" <mich@FreeBSD.org>, ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/science/hdf Makefile distinfo pkg-plist ports/science/hdf/files Makefile patch-hdf-src-Makefile.in patch-hdf-src-cszip.c patch-mfhdf-libsrc-Makefile.in ports/science/hdf/files/hdf Makefile ports/science/hdf/files/hdf/src Makefile ... Message-ID: <20050318153229.GA67931@misty.eyesbeyond.com> In-Reply-To: <20050318121601.GB99678@mich2.itxmarket.com> References: <200503171904.j2HJ4OoO001803@repoman.freebsd.org> <20050318120401.GA99678@mich2.itxmarket.com> <20050318121601.GB99678@mich2.itxmarket.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 18, 2005 at 01:16:01PM +0100, Michael L. Hostbaek wrote: > Michael L. Hostbaek (mich) writes: > > This one seems b0rken: > > <snip> > > cc -O -pipe -std=c99 -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith > > -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings > > -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes > > -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls > > -Wnested-externs -Winline -Wno-long-long -Wfloat-equal > > -Wmissing-format-attribute -Wpadded -O3 -fomit-frame-pointer -o > > .libs/burst_szip burst_szip.o ../test/.libs/libmcgill.a > > ../src/.libs/libsz.so -Wl,--rpath -Wl,/usr/local/lib > > burst_szip.o(.text+0xa68): In function `random_float_scanline': > > : undefined reference to `sin' > > burst_szip.o(.text+0xb4c): In function `random_double_scanline': > > : undefined reference to `sin' > > burst_szip.o(.text+0xe1c): In function `main': > > : undefined reference to `sin' > > burst_szip.o(.text+0xf8a): In function `main': > > : undefined reference to `pow' > > burst_szip.o(.text+0xfa3): In function `main': > > : undefined reference to `pow' > > *** Error code 1 > > </snip> > > Actually it is the science/szip dependency that is b0rken. Hmm, works ok on 4.11, must be something to do with 5.x. I suspect a -lm will fix it. I'll work up a patch if you're willing to try it out. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050318153229.GA67931>