ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] libpng compilation issue


From: Claudia De Bartolomeis
Subject: Re: [Ltib] libpng compilation issue
Date: Thu, 12 Apr 2007 16:57:36 +0200

Thanks Stuart,
but hte zlib is already included in my case,
but it doesn't help.
Regards
Claudia

----- Original Message ----- From: "Stuart Hughes" <address@hidden>
To: "Claudia De Bartolomeis" <address@hidden>
Cc: <address@hidden>
Sent: Thursday, April 12, 2007 4:51 PM
Subject: Re: [Ltib] libpng compilation issue


Hi Claudia,

The m532xevb is an MMUless platform and does not have a fully supported
package set in LTIB.  In many ways your best bet is to use uClinux-dist
(http://www.uclinux.org/pub/uClinux/dist/) for MMUless platforms.
However I just took a quick look and I don't think that has support for
libpng either.

You could try enabling "zlib" in the package configuration (./ltib
--configure) and see if that helps.


I suspect you got the BSP from a Freescale ISO image, in which case you
should try send your support queries to Freescale.  To do this:

  * go to http://www.freescale.com
  * click on "Support / Technical support"
  * click on "Submit a Service Request"
  * register to get a user name and password.
  * login in with your user name and password
  * on the "New Service Request" page:
     * category = Technical Request
     * topic = Linux BSP
     * Click on "Continue"
  * fill out the information for the service request
  * click on the "Submit" button at the bottom of the page.

Regards, Stuart

On Thu, 2007-04-12 at 15:38 +0200, Claudia De Bartolomeis wrote:
Hi,
my name is Claudia De Bartolomeis and
I'm trying to compile libpng in the BSP m532xevb, based on kernel
uClinux  2.6.17.7-uc1 by Freescale, using Ltib.

but it doesn't work.
It seems due to undefined references to zlib functions.

Thanks much for any help with this.
Best Regards
Claudia De Bartolomeis


address@hidden:~/ltib-m532xevb-20061117> ./ltib --force -m scbuild
-p  libpng

Processing: libpng
====================
rpmbuild --dbpath /home/claudia/ltib-m532xevb-20061117/rpmdb --define
'_unpackaged_files_terminate_build 0' --define '_target_cpu m68knommu'
--define '__strip strip' --define
'_topdir /home/claudia/ltib-m532xevb-20061117/rpm' --define
'_prefix /usr' --define
'_tmppath /home/claudia/ltib-m532xevb-20061117/tmp' --define
'_mandir /usr/share/man' --define '_sysconfdir /etc' --define
'_localstatedir /var' -bc
--short-circuit /home/claudia/ltib-m532xevb-20061117/dist/lfs-5.1/libpng/libpng.spec
Executing(%build): /bin/sh
-e /home/claudia/ltib-m532xevb-20061117/tmp/rpm-tmp.72890
+ umask 022
+ cd /home/claudia/ltib-m532xevb-20061117/rpm/BUILD
+ cd libpng-1.2.8
+ make prefix=/usr -f scripts/makefile.linux
make: Warning: File `scripts/makefile.linux' has modification time
1.1e+03 s in the future
gcc -shared -Wl,-soname,libpng12.so.0 \
-o libpng12.so.0.1.2.8 \
png.pic.o pngset.pic.o pngget.pic.o pngrutil.pic.o pngtrans.pic.o
pngwutil.pic.o pngread.pic.o pngrio.pic.o pngwio.pic.o pngwrite.pic.o
pngrtran.pic.o pngwtran.pic.o pngmem.pic.o pngerror.pic.o
pngpread.pic.o
/opt/freescale/usr/local/gcc-4.1-uclibc-0.9/m68k-uclibc/m68k-uclinux/libc/m5307/usr/lib/crt1.o: In function `_start':
libc/sysdeps/linux/m68k/crt1.S:(.text+0x1c): undefined reference to
`main'
png.pic.o: In function `png_reset_zstream':
png.c:(.text+0xb8): undefined reference to `inflateReset'
png.pic.o: In function `png_calculate_crc':
png.c:(.text+0x9c6): undefined reference to `crc32'
png.pic.o: In function `png_reset_crc':
png.c:(.text+0x9fa): undefined reference to `crc32'
pngrutil.pic.o: In function `png_decompress_chunk':
pngrutil.c:(.text+0x2482): undefined reference to `inflate'
pngrutil.c:(.text+0x2526): undefined reference to `inflateReset'
pngrutil.c:(.text+0x25ec): undefined reference to `inflateReset'
pngrutil.c:(.text+0x26c6): undefined reference to `inflateReset'
pngrutil.pic.o: In function `png_read_finish_row':
pngrutil.c:(.text+0x29fc): undefined reference to `inflateReset'
pngrutil.c:(.text+0x2a26): undefined reference to `inflate'
pngrutil.c:(.text+0x2aa4): undefined reference to `inflateReset'
pngwutil.pic.o: In function `png_text_compress':
pngwutil.c:(.text+0x54a): undefined reference to `deflate'
pngwutil.c:(.text+0x80e): undefined reference to `deflate'
pngwutil.pic.o: In function `png_write_compressed_data_out':
pngwutil.c:(.text+0xc80): undefined reference to `deflateReset'
pngwutil.c:(.text+0xca6): undefined reference to `deflateReset'
pngwutil.pic.o: In function `png_write_finish_row':
pngwutil.c:(.text+0x2902): undefined reference to `deflate'
pngwutil.c:(.text+0x29ee): undefined reference to `deflateReset'
pngwutil.c:(.text+0x2a8a): undefined reference to `deflateReset'
pngwutil.pic.o: In function `png_write_filtered_row':
pngwutil.c:(.text+0x2ae6): undefined reference to `deflate'
pngwutil.pic.o: In function `png_write_IHDR':
pngwutil.c:(.text+0x6edc): undefined reference to `deflateInit2_'
pngread.pic.o: In function `png_read_destroy':
pngread.c:(.text+0x552): undefined reference to `inflateEnd'
pngread.pic.o: In function `png_read_row':
pngread.c:(.text+0xb96): undefined reference to `inflate'
pngread.c:(.text+0xeca): undefined reference to `inflate'
pngread.pic.o: In function `png_read_init_3':
pngread.c:(.text+0x1f9e): undefined reference to `inflateInit_'
pngread.c:(.text+0x206e): undefined reference to `inflateInit_'
pngread.pic.o: In function `png_create_read_struct_2':
pngread.c:(.text+0x231e): undefined reference to `inflateInit_'
pngread.c:(.text+0x243c): undefined reference to `inflateInit_'
pngwrite.pic.o: In function `png_write_destroy':
pngwrite.c:(.text+0xe26): undefined reference to `deflateEnd'
pngwrite.pic.o: In function `png_write_flush':
pngwrite.c:(.text+0xfde): undefined reference to `deflate'
pngrtran.pic.o: In function `png_build_gamma_table':
pngrtran.c:(.text+0x89c2): undefined reference to `pow'
pngrtran.c:(.text+0x8c16): undefined reference to `pow'
pngrtran.c:(.text+0x8c82): undefined reference to `pow'
pngrtran.c:(.text+0x8ea8): undefined reference to `pow'
pngrtran.c:(.text+0x8f3a): undefined reference to `pow'
pngrtran.pic.o:pngrtran.c:(.text+0x9090): more undefined references to
`pow' follow
pngpread.pic.o: In function `png_process_IDAT_data':
pngpread.c:(.text+0xf2e): undefined reference to `inflate'
pngpread.c:(.text+0xfcc): undefined reference to `inflate'
pngpread.pic.o: In function `png_push_read_zTXt':
pngpread.c:(.text+0x13a4): undefined reference to `inflate'
pngpread.c:(.text+0x143e): undefined reference to `inflateReset'
pngpread.c:(.text+0x150c): undefined reference to `inflateReset'
pngpread.c:(.text+0x1538): undefined reference to `inflateReset'
pngpread.c:(.text+0x15b4): undefined reference to `inflateReset'
collect2: ld returned 1 exit status
make: *** [libpng12.so.0.1.2.8] Error 1
error: Bad exit status
from /home/claudia/ltib-m532xevb-20061117/tmp/rpm-tmp.72890 (%build)


RPM build errors:
    Bad exit status
from /home/claudia/ltib-m532xevb-20061117/tmp/rpm-tmp.72890 (%build)
Build time for libpng: 1 seconds

Failed building libpng


f_scbuild() returned an error, exiting
Exiting on error or interrupt
_______________________________________________
LTIB home page: http://bitshrine.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.2.0/757 - Release Date: 11/04/2007 17.14






reply via email to

[Prev in Thread] Current Thread [Next in Thread]