[Top][All Lists]
[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:37:00 -0400 |
I'm guessing it has something to do with my having colorgcc installed... When
I manually execute the build steps, it appears to build and install fine.
Weird, sorry for the false alarm.
$ 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 ar
Building static library libz.a version 1.2.5 with colorgcc.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
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 attribute(visibility) support... Yes.
/opt/mingw-cross-trunk/tmp-zlib/zlib-1.2.5$ /usr/bin/make -C
'/opt/mingw-cross-trunk/tmp-zlib/zlib-1.2.5' -j '1' install
make: Entering directory `/opt/mingw-cross-trunk/tmp-zlib/zlib-1.2.5'
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o adler32.o adler32.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o compress.o compress.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o crc32.o crc32.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o deflate.o deflate.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o gzclose.o gzclose.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o gzlib.o gzlib.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o gzread.o gzread.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o gzwrite.o gzwrite.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o infback.o infback.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o inffast.o inffast.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o inflate.o inflate.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o inftrees.o inftrees.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o trees.o trees.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o uncompr.o uncompr.c
colorgcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o zutil.o zutil.c
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
[ -z 'libz.a' ] || cp libz.a /opt/mingw-cross-trunk/usr/i686-pc-mingw32/lib
[ -z '' ] || cp /opt/mingw-cross-trunk/usr/i686-pc-mingw32/lib
cd /opt/mingw-cross-trunk/usr/i686-pc-mingw32/lib; chmod u=rw,go=r libz.a
cp zlib.3 /opt/mingw-cross-trunk/usr/i686-pc-mingw32/share/man/man3
chmod 644 /opt/mingw-cross-trunk/usr/i686-pc-mingw32/share/man/man3/zlib.3
cp zlib.pc /opt/mingw-cross-trunk/usr/i686-pc-mingw32/lib/pkgconfig
chmod 644 /opt/mingw-cross-trunk/usr/i686-pc-mingw32/lib/pkgconfig/zlib.pc
cp zlib.h zconf.h /opt/mingw-cross-trunk/usr/i686-pc-mingw32/include
chmod 644 /opt/mingw-cross-trunk/usr/i686-pc-mingw32/include/zlib.h
/opt/mingw-cross-trunk/usr/i686-pc-mingw32/include/zconf.h
make: Leaving directory `/opt/mingw-cross-trunk/tmp-zlib/zlib-1.2.5'
On 2010-06-17, at 3:18 PM, Garth Dahlstrom wrote:
>
> 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
>>
>>
>>
>>
>
- [Mingw-cross-env-list] zlib 1.2.5 fails on Ubuntu Linux (amd64) -- adler32.o: No such file or directory, Garth Dahlstrom, 2010/06/17
- [Mingw-cross-env-list] Re: zlib 1.2.5 fails on Ubuntu Linux (amd64) -- adler32.o: No such file or directory, Garth Dahlstrom, 2010/06/17
- [Mingw-cross-env-list] Re: zlib 1.2.5 fails on Ubuntu Linux (amd64) -- adler32.o: No such file or directory,
Garth Dahlstrom <=
- Re: [Mingw-cross-env-list] Re: zlib 1.2.5 fails on Ubuntu Linux (amd64) -- adler32.o: No such file or directory, Tony Theodore, 2010/06/18
- Re: [Mingw-cross-env-list] Re: zlib 1.2.5 fails on Ubuntu Linux (amd64) -- adler32.o: No such file or directory, Garth Dahlstrom, 2010/06/18
- Re: [Mingw-cross-env-list] Re: zlib 1.2.5 fails on Ubuntu Linux (amd64) -- adler32.o: No such file or directory, Tony Theodore, 2010/06/18
- Re: [Mingw-cross-env-list] Re: zlib 1.2.5 fails on Ubuntu Linux (amd64) -- adler32.o: No such file or directory, Garth Dahlstrom, 2010/06/18
- Re: [Mingw-cross-env-list] Re: zlib 1.2.5 fails on Ubuntu Linux (amd64) -- adler32.o: No such file or directory, Tony Theodore, 2010/06/18
- [Mingw-cross-env-list] Re: zlib 1.2.5 fails on Ubuntu Linux (amd64) -- adler32.o: No such file or directory -> Solved, Garth Dahlstrom, 2010/06/18
- Re: [Mingw-cross-env-list] Re: zlib 1.2.5 fails on Ubuntu Linux (amd64) -- adler32.o: No such file or directory -> Solved, Volker Grabsch, 2010/06/19
- Re: [Mingw-cross-env-list] Re: zlib 1.2.5 fails on Ubuntu Linux (amd64) -- adler32.o: No such file or directory -> Solved, Volker Grabsch, 2010/06/19
- Re: [Mingw-cross-env-list] Re: zlib 1.2.5 fails on Ubuntu Linux (amd64) -- adler32.o: No such file or directory -> Solved, Volker Grabsch, 2010/06/19