ltib
[Top][All Lists]
Advanced

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

[Ltib] error on upgrade zlib


From: hong zhang
Subject: [Ltib] error on upgrade zlib
Date: Tue, 30 Oct 2007 12:37:00 -0700 (PDT)

Stuart,

I want to run firefox on imx31 and it asks newer
version libraries (libraries are pretty old) and use
YOUR zlib.spec. I try to upgrade zlib from 1.1.4 to
1.2.3 and get errors says -z is illeagal option. But I
did not add -z option. Here is error

address@hidden ltibads19]$ ltib -p zlib.spec -m
scbuild

Processing: zlib
==================
rpmbuild --dbpath /home/hzhang/Desktop/ltibads19/rpmdb
--define '_unpackaged_files_terminate_build 0'
--define '_target_cpu arm' --define '__strip strip'
--define '_topdir /home/hzhang/Desktop/ltibads19/rpm'
--define '_prefix /usr' --define '_tmppath
/home/hzhang/Desktop/ltibads19/tmp' --define '_mandir
/usr/share/man' --define '_sysconfdir /etc' --define
'_localstatedir /var' -bc --short-circuit 
/home/hzhang/Desktop/ltibads19/dist/lfs-5.1/zlib/zlib.spec
Executing(%build): /bin/sh -e
/home/hzhang/Desktop/ltibads19/tmp/rpm-tmp.8137
+ umask 022
+ cd /home/hzhang/Desktop/ltibads19/rpm/BUILD
+ cd zlib-1.2.3
+ ./configure --prefix=/usr --shared
Checking for shared library support...
Building shared library libz.so.1.2.3 with gcc.
Checking for unistd.h... Yes.
Checking whether to use vs[n]printf() or
s[n]printf()... using vs[n]printf()
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for errno.h... Yes.
Checking for mmap support... Yes.
+ mv Makefile Makefile.shared
+ ./configure --prefix=/usr
Building static library libz.a version 1.2.3 with gcc.
Checking for unistd.h... Yes.
Checking whether to use vs[n]printf() or
s[n]printf()... using vs[n]printf()
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for errno.h... Yes.
Checking for mmap support... Yes.
+ mv Makefile Makefile.static
+ make -f Makefile.shared
gcc -fPIC -O3 -DUSE_MMAP   -c -o example.o example.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o adler32.o adler32.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o compress.o compress.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o crc32.o crc32.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o gzio.o gzio.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o uncompr.o uncompr.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o deflate.o deflate.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o trees.o trees.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o zutil.o zutil.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o inflate.o inflate.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o infback.o infback.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o inftrees.o inftrees.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o inffast.o inffast.c
gcc -shared -Wl,-soname,libz.so.1 -o libz.so.1.2.3
adler32.o compress.o crc32.o gzio.o uncompr.o
deflate.o trees.o zutil.o inflate.o infback.o
inftrees.o inffast.o
rm -f libz.so libz.so.1
ln -s libz.so.1.2.3 libz.so
ln -s libz.so.1.2.3 libz.so.1
gcc -fPIC -O3 -DUSE_MMAP -o example example.o -L.
libz.so.1.2.3
gcc -fPIC -O3 -DUSE_MMAP   -c -o minigzip.o minigzip.c
gcc -fPIC -O3 -DUSE_MMAP -o minigzip minigzip.o -L.
libz.so.1.2.3
+ make -f Makefile.static
ar libz.a adler32.o compress.o crc32.o gzio.o
uncompr.o deflate.o trees.o zutil.o inflate.o
infback.o inftrees.o inffast.o
arm-none-linux-gnueabi-ar: illegal option -- z
Usage: arm-none-linux-gnueabi-ar [emulation options]
[-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count]
archive-file file...
       arm-none-linux-gnueabi-ar -M [<mri-script]
 commands:
  d            - delete file(s) from the archive
  m[ab]        - move file(s) in the archive
  p            - print file(s) found in the archive
  q[f]         - quick append file(s) to the archive
  r[ab][f][u]  - replace existing or insert new
file(s) into the archive
  t            - display contents of archive
  x[o]         - extract file(s) from the archive
 command specific modifiers:
  [a]          - put file(s) after [member-name]
  [b]          - put file(s) before [member-name]
(same as [i])
  [N]          - use instance [count] of name
  [f]          - truncate inserted file names
  [P]          - use full path names when matching
  [o]          - preserve original dates
  [u]          - only replace files that are newer
than current archive contents generic modifiers:
  [c]          - do not warn if the library had to be
created
  [s]          - create an archive index (cf. ranlib)
  [S]          - do not build a symbol table
  [v]          - be verbose
  [V]          - display the version number
  @<file>      - read options from <file>
 emulation options:
  No emulation specific options
arm-none-linux-gnueabi-ar: supported targets:
elf32-littlearm elf32-bigarm elf32-little elf32-big
srec symbolsrec tekhex binary ihex
make: *** [libz.a] Error 1
error: Bad exit status from
/home/hzhang/Desktop/ltibads19/tmp/rpm-tmp.8137
(%build)


RPM build errors:
    Bad exit status from
/home/hzhang/Desktop/ltibads19/tmp/rpm-tmp.8137
(%build)
Build time for zlib: 10 seconds

Failed building zlib


f_scbuild() returned an error, exiting
Exiting on error or interrupt


---henry

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

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