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 ...

Greg Lewis glewis at eyesbeyond.com
Fri Mar 18 07:32:32 PST 2005


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 at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the cvs-ports mailing list