[Bug fastjar/24562] New: makebootstrap failed: make[3]: *** No rule to make target `../zlib/libz.a'
When make bootstrap gcc4.0.2, I receive error: make[3]: *** No rule to make target `../zlib/libz.a', needed by `fastjar'. Stop. What's error? How I do to fix? Thank you. This is my configure command: CXXFLAGS='-Xassembler gstabs' ../src/gcc-4.0.2/configure --prefix=/usr/local/binut/ --with-as=/usr/local/binut/sparc-sun-solaris2.8/bin/as --with-ld=/usr/local/binut/sparc-sun-solaris2.8/bin/ld -- Summary: makebootstrap failed: make[3]: *** No rule to make target `../zlib/libz.a' Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: critical Priority: P4 Component: fastjar AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: luongductruong at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24562
[Bug bootstrap/24562] makebootstrap failed: make[3]: *** No rule to make target `../zlib/libz.a'
--- Comment #3 from luongductruong at gmail dot com 2005-10-28 02:32 --- Created an attachment (id=10070) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10070&action=view) GCC 4.0.2 Full Log -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24562
[Bug bootstrap/24562] makebootstrap failed: make[3]: *** No rule to make target `../zlib/libz.a'
--- Comment #4 from luongductruong at gmail dot com 2005-10-28 02:39 --- (In reply to comment #2) > Second can you show how you build gcc? > And attached the full build log. > Following the instruction at gcc.gnu.org/install/configure.html I attached the full build log. The error occured: Links are now set up to build a native compiler for sparc-sun-solaris2.8. make[3]: *** No rule to make target `../zlib/libz.a', needed by `fastjar'. Stop. make[2]: *** [all] Error 2 make[1]: *** [all-fastjar] Error 2 make: *** [bootstrap] Error 2 Help me to check it. Thank you! P/S: SunOS vn 5.8 Generic_117350-05 sun4u sparc SUNW,Ultra-5_10 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24562
[Bug bootstrap/24562] makebootstrap failed: make[3]: *** No rule to make target `../zlib/libz.a'
--- Comment #6 from luongductruong at gmail dot com 2005-10-28 04:33 --- (In reply to comment #5) > What tar file did you download? > > You should have a zlib directory in the src directory. > Following your way, I download zlib at http://www.zlib.net, gunzip and untar it at GCC'src directory. That error 's fixed. But, now, another error appear: Configuring in zlib /data/home/tdluong/src/gcc-4.0.2/zlib/configure: zlib.h: cannot open /data/home/tdluong/src/gcc-4.0.2/zlib/configure: zlib.h: cannot open /data/home/tdluong/src/gcc-4.0.2/zlib/configure: zlib.h: cannot open unknown option: --cache-file=./config.cache /data/home/tdluong/src/gcc-4.0.2/zlib/configure --help for help make: *** [configure-zlib] Error 1 What I wrong? Thanks for reply. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24562
[Bug bootstrap/24562] makebootstrap failed: make[3]: *** No rule to make target `../zlib/libz.a'
--- Comment #8 from luongductruong at gmail dot com 2005-10-28 08:24 --- (In reply to comment #7) > > Following your way, I download zlib at http://www.zlib.net, gunzip and untar > > it at GCC'src directory. > > Don't do that, everything should be included in the GCC archive. > > What GCC archive do you use and where does it come from? What does 'make -v' > print? > I download GCC 4.0.2 from http://gcc.gnu.org. When I untar that source in many times, It always notices : the directory checksum error. I try another FTP server, download again but that error doesn't fix. bash-2.03# make -v GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24562