[GRASS5] PNG (was releases - some remarks)
Richard Greenwood
rich at greenwoodmap.com
Wed Mar 17 17:51:09 EST 2004
Glynn Clements wrote:
> FWIW, the 5.3 PNG driver should work fine with 5.0.3; i.e. you should
> be able to drop the 5.3 driver/PNG.exe into a 5.0.3 installation
> without any complications.
>
> Is the 5.0.3 PNG driver built with GD 2.x? If not, it might be worth
> making the 5.3 version available separately for any 5.0.3 users who
> want to create 24-bit PNGs (GD 1.x only supports 8-bit PNGs).
Yes, my 5.0.3 is compiled with GD 2.x. However I have a new PNG related
problem - when building 5.7 it fails in display/drivers/PNG. The full
output is pasted below. There are various references to xdr_ types and
functions. I have a current sun rpc installed.
Suggestion?
Thanks,
Rich
=== pasted compiler output ====
gcc -s -L/usr/local/lib -L/usr/X11R6/lib -L/lib
-L/cygdrive/e/projects/grass/gr
ass57_exp_2004_03_13/dist.i686-pc-cygwin/lib -L/lib -o
/cygdrive/e/projects/gra
ss/grass57_exp_2004_03_13/dist.i686-pc-cygwin/driver/PNG
-L/cygdrive/e/projects
/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin/lib
OBJ.i686-pc-cygwin/Can_do.
o OBJ.i686-pc-cygwin/Clr_table.o OBJ.i686-pc-cygwin/Color.o
OBJ.i686-pc-cygwin/D
raw_line.o OBJ.i686-pc-cygwin/Get_w_box.o
OBJ.i686-pc-cygwin/Get_w_line.o OBJ.i6
86-pc-cygwin/Get_w_pnt.o OBJ.i686-pc-cygwin/Graph_Clse.o
OBJ.i686-pc-cygwin/Grap
h_Set.o OBJ.i686-pc-cygwin/Panel.o OBJ.i686-pc-cygwin/Polygn_abs.o
-lgrass_drive
r -lgrass_display -lgrass_raster -lgrass_gis -lgrass_datetime -lpng
-lz -L/
usr/X11R6/lib -lSM -lICE -lX11
/cygdrive/e/projects/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin/lib/libgra
ss_gis.a(opencell.o)(.text+0x780):opencell.c: undefined reference to
`xdrmem_cre
ate'
/cygdrive/e/projects/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin/lib/libgra
ss_gis.a(range.o)(.text+0x231):range.c: undefined reference to
`xdrmem_create'
/cygdrive/e/projects/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin/lib/libgra
ss_gis.a(range.o)(.text+0x241):range.c: undefined reference to `xdr_double'
/cygdrive/e/projects/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin/lib/libgra
ss_gis.a(range.o)(.text+0x258):range.c: undefined reference to `xdr_double'
/cygdrive/e/projects/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin/lib/libgra
ss_gis.a(range.o)(.text+0x8bb):range.c: undefined reference to
`xdrmem_create'
/cygdrive/e/projects/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin/lib/libgra
ss_gis.a(range.o)(.text+0x8c8):range.c: undefined reference to `xdr_double'
/cygdrive/e/projects/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin/lib/libgra
ss_gis.a(range.o)(.text+0x8df):range.c: undefined reference to `xdr_double'
/cygdrive/e/projects/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin/lib/libgra
ss_gis.a(init_map.o)(.text+0xe2):init_map.c: undefined reference to
`xdr_double'
/cygdrive/e/projects/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin/lib/libgra
ss_gis.a(init_map.o)(.text+0x21a):init_map.c: undefined reference to
`xdr_float'
/cygdrive/e/projects/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin/lib/libgra
ss_gis.a(put_row.o)(.text+0xed5):put_row.c: undefined reference to
`xdrmem_creat
e'
/cygdrive/e/projects/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin/lib/libgra
ss_gis.a(put_row.o)(.text+0xf39):put_row.c: undefined reference to
`xdr_float'
/cygdrive/e/projects/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin/lib/libgra
ss_gis.a(put_row.o)(.text+0xf9c):put_row.c: undefined reference to
`xdr_double'
collect2: ld returned 1 exit status
make: ***
[/cygdrive/e/projects/grass/grass57_exp_2004_03_13/dist.i686-pc-cygwin
/driver/PNG] Error 1
--
Richard Greenwood
www.greenwoodmap.com
More information about the grass-dev
mailing list