Re: Build error on Debian/PPC


Subject: Re: Build error on Debian/PPC
From: Logan Hall (warrior514@worldnet.att.net)
Date: Thu Feb 17 2000 - 17:01:24 CST


Logan Hall wrote:

> sterwill@abisource.com wrote:
>
> > Logan Hall wrote:
> > > Hey guys.. i have been absent from the list for a few weeks because i
> > > have been getting debian on ppc up and running and getting rid of
> > > LinuxPPC. I just cvs'ed the tree and tried to build it. It dies because
> > > it is looking for libz.a and debian apears to use libz.so.1 and
> > > libz.so.1.1.3. Any suggestions on what to do? I cvs'ed the zlib peer
> > > dir to abi as well and it still won't build.
> >
> > It doesn't specifically look for "libz.a", but -lz combined with -static
> > will make the linker search for it. If you have the zlib1g-dev package
> > installed, you should be able to compile AbiWord (I compiled it this
> > morning on my Debian/PowerPC laptop). Let me know if you have any problems,
> > I have my laptop with me today.
> >
>
> Oh.. well here is part of the makefile line that i interpreted to be looking
> for libz.a:
>
> @if [ -r /usr/lib/libz.a
>
> I just got zlib1g-dev so i will try again.
>

Ok.. so i got farther now. It gets past the libz stuff but it dies on
gr_UnixImage.cpp here is the error:

gr_UnixImage.cpp:110: `png_create_info_struct' undeclared (first use this functi
on)
gr_UnixImage.cpp:113: `setjmp' undeclared (first use this function)
gr_UnixImage.cpp:116: `png_infopp' undeclared (first use this function)
gr_UnixImage.cpp:116: parse error before `0'
gr_UnixImage.cpp:123: `png_set_write_fn' undeclared (first use this function)
gr_UnixImage.cpp:133: `PNG_COLOR_TYPE_RGB' undeclared (first use this function)
gr_UnixImage.cpp:134: `PNG_INTERLACE_NONE' undeclared (first use this function)
gr_UnixImage.cpp:135: `PNG_COMPRESSION_TYPE_BASE' undeclared (first use this fun
ction)
gr_UnixImage.cpp:136: `PNG_FILTER_TYPE_BASE' undeclared (first use this function
)
gr_UnixImage.cpp:136: `png_set_IHDR' undeclared (first use this function)
gr_UnixImage.cpp:139: `png_write_info' undeclared (first use this function)
gr_UnixImage.cpp:176: `png_write_rows' undeclared (first use this function)
gr_UnixImage.cpp:187: `png_write_end' undeclared (first use this function)
gr_UnixImage.cpp:190: parse error before `0'
gr_UnixImage.cpp: In method `UT_Bool GR_UnixImage::convertFromPNG(const UT_ByteB
uf *, int, int)':
gr_UnixImage.cpp:200: parse error before `;'
gr_UnixImage.cpp:202: `png_uint_32' undeclared (first use this function)
gr_UnixImage.cpp:206: `png_create_read_struct' undeclared (first use this functi
on)
gr_UnixImage.cpp:217: parse error before `0'
gr_UnixImage.cpp:228: parse error before `0'
gr_UnixImage.cpp:238: `png_set_read_fn' undeclared (first use this function)
gr_UnixImage.cpp:243: `png_read_info' undeclared (first use this function)
gr_UnixImage.cpp:245: `width' undeclared (first use this function)
gr_UnixImage.cpp:245: `height' undeclared (first use this function)
gr_UnixImage.cpp:246: `png_get_IHDR' undeclared (first use this function)
gr_UnixImage.cpp:251: `png_set_packing' undeclared (first use this function)
gr_UnixImage.cpp:254: `png_set_expand' undeclared (first use this function)
gr_UnixImage.cpp:258: `png_set_strip_16' undeclared (first use this function)
gr_UnixImage.cpp:261: `png_set_gray_to_rgb' undeclared (first use this function)
gr_UnixImage.cpp:264: `png_set_strip_alpha' undeclared (first use this function)
gr_UnixImage.cpp:267: `png_set_interlace_handling' undeclared (first use this fu
nction)
gr_UnixImage.cpp:280: parse error before `0'
gr_UnixImage.cpp:295: `png_read_rows' undeclared (first use this function)
gr_UnixImage.cpp:300: `png_read_end' undeclared (first use this function)
gr_UnixImage.cpp:303: parse error before `0'
make[4]: *** [/usr/local/src/abiword/abi/src/Linux_2.2.14_ppc_OBJ/obj/gr_UnixIma
ge.o] Error 1
make[4]: Leaving directory `/usr/local/src/abiword/abi/src/af/gr/unix'
make[3]: *** [build] Error 2
make[3]: Leaving directory `/usr/local/src/abiword/abi/src/af/gr'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/usr/local/src/abiword/abi/src/af'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/local/src/abiword/abi/src'
make: *** [compile] Error 2

>
> >
> > --
> > Shaw Terwilliger
>
> --
>
> ----
> Logan Hall

--

---- Logan Hall



This archive was generated by hypermail 2b25 : Thu Feb 17 2000 - 17:01:31 CST