Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
154 user(s) are online (85 user(s) are browsing Forums)

Members: 0
Guests: 154

more...

Headlines

 
  Register To Post  

static libjpeg, libpng, libz on OS4 SDK?
Just popping in
Just popping in


See User information
Hi,
into my actual SDK installation I don't found libjpeg.a, libpng.a and libz.a, so I've copied them from SDK v52, but I've this problems with libpng:

/SDK/local/newlib/lib/libpng.a(png.o): In function `png_reset_crc':
png.c:(.text+0x248): undefined reference to `crc32'
/SDK/local/newlib/lib/libpng.a(png.o): In function `png_calculate_crc':
png.c:(.text+0x298): undefined reference to `crc32'
/SDK/local/newlib/lib/libpng.a(png.o): In function `png_reset_zstream':
png.c:(.text+0xd70): undefined reference to `inflateReset'
/SDK/local/newlib/lib/libpng.a(pngwrite.o): In function `png_write_flush':
pngwrite.c:(.text+0x1dcc): undefined reference to `deflate'
/SDK/local/newlib/lib/libpng.a(pngwrite.o): In function `png_write_destroy':
pngwrite.c:(.text+0x1eac): undefined reference to `deflateEnd'
/SDK/local/newlib/lib/libpng.a(pngwutil.o): In function `png_text_compress':
pngwutil.c:(.text+0x3a0): undefined reference to `deflate'
pngwutil.c:(.text+0x488): undefined reference to `deflate'
pngwutil.c:(.text+0x548): undefined reference to `deflate'
/SDK/local/newlib/lib/libpng.a(pngwutil.o): In function `png_write_IHDR':
pngwutil.c:(.text+0x938): undefined reference to `deflateInit2_'
/SDK/local/newlib/lib/libpng.a(pngwutil.o): In function `png_write_iCCP':
pngwutil.c:(.text+0x34b8): undefined reference to `deflateReset'
/SDK/local/newlib/lib/libpng.a(pngwutil.o): In function `png_write_zTXt':
pngwutil.c:(.text+0x3b24): undefined reference to `deflateReset'
/SDK/local/newlib/lib/libpng.a(pngwutil.o): In function `png_write_finish_row':
pngwutil.c:(.text+0x4b94): undefined reference to `deflate'
pngwutil.c:(.text+0x4cb8): undefined reference to `deflate'
pngwutil.c:(.text+0x50cc): undefined reference to `deflateReset'
/SDK/local/newlib/lib/libpng.a(pngwutil.o): In function `png_write_filtered_row':
pngwutil.c:(.text+0x54ec): undefined reference to `deflate'
/SDK/local/newlib/lib/libpng.a(pngwutil.o): In function `png_write_find_filter':
pngwutil.c:(.text+0x6254): undefined reference to `deflate'

Any ideas?

Go to top
Re: static libjpeg, libpng, libz on OS4 SDK?
Just popping in
Just popping in


See User information
@ShInKurO

libz isn't visible to libpng and yuor program, try moving -lz at the end of the gcc linking command line.

Varthall

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project