mingw-cross-env-list
[Top][All Lists]
Advanced

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

[Mingw-cross-env-list] Re: zlib 1.2.5 fails on Ubuntu Linux (amd64) -- a


From: Garth Dahlstrom
Subject: [Mingw-cross-env-list] Re: zlib 1.2.5 fails on Ubuntu Linux (amd64) -- adler32.o: No such file or directory
Date: Thu, 17 Jun 2010 15:18:41 -0400

Ah, just noticed the log file....  seems to build okay until it tries to pipe 
stuff through "O", not sure what O is though, perhaps I'm missing a package?

make[1]: Entering directory `/opt/mingw-cross-trunk'
rm -rf   '/opt/mingw-cross-trunk/tmp-zlib'
mkdir -p '/opt/mingw-cross-trunk/tmp-zlib'
cd '/opt/mingw-cross-trunk/tmp-zlib' &&   tar xjf 
'/opt/mingw-cross-trunk/pkg/zlib-1.2.5.tar.bz2'
cd '/opt/mingw-cross-trunk/tmp-zlib/zlib-1.2.5'
(cd '/opt/mingw-cross-trunk/tmp-zlib/zlib-1.2.5' && patch -p1 -u) < 
./src/zlib-1-win32-static.patch
patching file Makefile.in
patching file configure
cd '/opt/mingw-cross-trunk/tmp-zlib/zlib-1.2.5' && CHOST='i686-pc-mingw32' 
./configure --prefix='/opt/mingw-cross-trunk/usr/i686-pc-mingw32' --static
Using i686-pc-mingw32-ar
Using i686-pc-mingw32-ranlib
Using i686-pc-mingw32-nm
Checking for i686-pc-mingw32-gcc...
Building static library libz.a version 1.2.5 with .
Checking for off64_t... No.
Checking for fseeko... No.
Checking for unistd.h... No.
Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf().
Checking for snprintf() in stdio.h... No.
  WARNING: snprintf() not found, falling back to sprintf(). zlib
  can build but will be open to possible buffer-overflow security
  vulnerabilities.
Checking for return value of sprintf()... No.
  WARNING: apparently sprintf() does not return a value. zlib
  can build but will be open to possible string-format security
  vulnerabilities.
/usr/bin/make -C '/opt/mingw-cross-trunk/tmp-zlib/zlib-1.2.5' -j '1' install
make[2]: Entering directory `/opt/mingw-cross-trunk/tmp-zlib/zlib-1.2.5'
O -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void   -c -o adler32.o adler32.c
make[2]: O: Command not found
make[2]: [adler32.o] Error 127 (ignored)
O -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void   -c -o compress.o compress.c
make[2]: O: Command not found
make[2]: [compress.o] Error 127 (ignored)
.....






On 2010-06-17, at 3:11 PM, Garth Dahlstrom wrote:

> This happens on both mingw-cross-env-2.14 and hg/trunk on Ubuntu Linux 
> amd64...   It does build okay on OSX 10.6.3 though. 
> 
> Any idea how to troubleshoot or fix this?
> 
> -G
> 
> # make zlib
> [download] mingwrt
> [build]    mingwrt
> [done]     mingwrt
> [download] w32api
> [build]    w32api
> [done]     w32api
> [download] binutils
> [build]    binutils
> [done]     binutils
> [download] gcc-gmp
> [done]     gcc-gmp
> [download] gcc-mpc
> [done]     gcc-mpc
> [download] gcc-mpfr
> [done]     gcc-mpfr
> [download] gcc
> [build]    gcc
> [done]     gcc
> [download] zlib
> [build]    zlib
> 
> Failed to build package zlib!
> ------------------------------------------------------------
> i686-pc-mingw32-ar rc libz.a adler32.o compress.o crc32.o deflate.o gzclose.o 
> gzlib.o gzread.o gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o 
> uncompr.o zutil.o 
> i686-pc-mingw32-ar: adler32.o: No such file or directory
> make[2]: *** [libz.a] Error 1
> make[2]: Leaving directory `/opt/mingw-cross-trunk/tmp-zlib/zlib-1.2.5'
> make[1]: *** [build-only-zlib] Error 2
> make[1]: Leaving directory `/opt/mingw-cross-trunk'
> real    0m0.382s
> user    0m0.270s
> sys     0m0.080s
> ------------------------------------------------------------
> [log]      /opt/mingw/log/zlib
> 
> make: *** [/opt/mingw/usr/installed/zlib] Error 1
> 
> 
> 
> 




reply via email to

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