[GRASS5] [bug #2722] (grass) won't compile; multiple definitions of compress

this bug's URL: http://intevation.de/rt/webrt?serial_num=2722
-------------------------------------------------------------------------

Subject: won't compile; multiple definitions of compress

Platform: GNU/Linux/i386
grass binary for platform: Compiled from Sources
GRASS Version: 5.7.0

gcc -rdynamic -L/ext2e/grass-5.7.0/dist.i686-pc-linux-gnu/lib -o /ext2e/grass-5.7.0/dist.i686-pc-linux-gnu/etc/photo.rectify OBJ.i686-pc-linux-gnu/ask_elev.o OBJ.i686-pc-linux-gnu/ask_files.o OBJ.i686-pc-linux-gnu/ask_files2.o OBJ.i686-pc-linux-gnu/ask_wind.o OBJ.i686-pc-linux-gnu/aver_z.o OBJ.i686-pc-linux-gnu/compress.o OBJ.i686-pc-linux-gnu/conv.o OBJ.i686-pc-linux-gnu/cp.o OBJ.i686-pc-linux-gnu/env.o OBJ.i686-pc-linux-gnu/equ.o OBJ.i686-pc-linux-gnu/exec.o OBJ.i686-pc-linux-gnu/get_wind.o OBJ.i686-pc-linux-gnu/mail.o OBJ.i686-pc-linux-gnu/main.o OBJ.i686-pc-linux-gnu/matrix.o OBJ.i686-pc-linux-gnu/perform.o OBJ.i686-pc-linux-gnu/ps_cp.o OBJ.i686-pc-linux-gnu/rectify.o OBJ.i686-pc-linux-gnu/report.o OBJ.i686-pc-linux-gnu/target.o OBJ.i686-pc-linux-gnu/write.o -lgrass_I -lgrass_gis -lgrass_datetime -lz -lgrass_Iortho -lgrass_vask -lncurses -lbsd-compat -lgrass_gmath -lfftw -lm -llapack -lblas -lg2c -lm -lz
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../libz.a(compress.o)(.text+0xc0): In function `compress':
: multiple definition of `compress'
OBJ.i686-pc-linux-gnu/compress.o(.text+0x0):/ext2e/grass-5.7.0/imagery/i.ortho.photo/photo.rectify/compress.c:5: first defined here
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `compress' changed from 10 in OBJ.i686-pc-linux-gnu/compress.o to 188 in /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../libz.a(compress.o)
collect2: ld returned 1 exit status
make[3]: *** [/ext2e/grass-5.7.0/dist.i686-pc-linux-gnu/etc/photo.rectify] Error 1
make[3]: Leaving directory `/ext2e/grass-5.7.0/imagery/i.ortho.photo/photo.rectify'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/ext2e/grass-5.7.0/imagery/i.ortho.photo'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/ext2e/grass-5.7.0/imagery'
make: *** [default] Error 1

-------------------------------------------- Managed by Request Tracker