cvs commit: ports/science/szip/files patch-examples-Makefile.in

Michael Nottebrock michaelnottebrock at gmx.net
Sat Mar 19 03:55:08 PST 2005


On Friday, 18. March 2005 16:54, Greg Lewis wrote:
> glewis      2005-03-18 15:54:11 UTC
>
>   FreeBSD ports repository
>
>   Added files:
>     science/szip/files   patch-examples-Makefile.in
>   Log:
>   . Fix the build for gcc 3.4 (and hence FreeBSD 5.x).  For some reason -lm
>     is added when we're using gcc 2.95.4, but not using gcc 3.4.  Since its
>     required, add it explicitly.

hdf itself probably needs the same treatment:

cc  -O -pipe -ansi -O  -L/usr/local/lib -L/usr/local/lib -o hdiff  hdiff.o 
hdiff_array.o  hdiff_gr.o hdiff_list.o hdiff_main.o  hdiff_mattbl.o 
hdiff_gattr.o  hdiff_misc.o hdiff_sds.o hdiff_table.o  
hdiff_vs.o ../libsrc/libmfhdf.a ../../hdf/src/libdf.a -lsz -ljpeg -lz -lsz 
-ljpeg -lz
hdiff_array.o(.text+0x1394): In function `array_diff':
: undefined reference to `sqrt'
*** Error code 1

Stop in /tmp/a/ports/science/hdf/work/HDF4.2r1/mfhdf/hdiff.
*** Error code 1

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050319/99fda7fd/attachment.bin


More information about the cvs-all mailing list