From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32387 invoked by alias); 20 Apr 2011 12:44:07 -0000 Received: (qmail 32379 invoked by uid 22791); 20 Apr 2011 12:44:07 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-px0-f182.google.com (HELO mail-px0-f182.google.com) (209.85.212.182) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Apr 2011 12:43:52 +0000 Received: by pxi20 with SMTP id 20so452510pxi.13 for ; Wed, 20 Apr 2011 05:43:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.29.234 with SMTP id n10mr9912242pbh.94.1303303432392; Wed, 20 Apr 2011 05:43:52 -0700 (PDT) Received: by 10.68.40.99 with HTTP; Wed, 20 Apr 2011 05:43:52 -0700 (PDT) Date: Wed, 20 Apr 2011 12:44:00 -0000 Message-ID: Subject: binutils prerequisites (recent zlib version - what else?) From: Steffen Dettmer To: binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00289.txt.bz2 Hi, I'm trying to build gcc-4.6.0 with binutils-2.21 in the same source directory which fails with cc1: warnings being treated as errors ../../../gcc-4.6.0/binutils/bfd/compress.c: In function `bfd_compress_section_contents': ../../../gcc-4.6.0/binutils/bfd/compress.c:100: warning: implicit declaration of function `compressBound' make[7]: *** [compress.lo] Error 1 (I guess without -Werror it won't link). Google told that this is a zlib symbol and my zlib would be too old. Do I need more libraries and stuff? (Also I'm afraid I could be unable to compile zlib because my gcc-3.2 is too old...) I looked http://gcc.gnu.org/install/prerequisites.html and ../gcc-4.6.0/binutils-2.21/configure --help|grep zlib but did not find --disable-zlib or alike. Why do I need zlib at all? Do I have a conflict of ../gcc-4.6.0/zlib/ (which seems to have strange subdirs only, there is no "unix" or so) and /usr/include/zlib.h? I think binutils has low prerequisites and wonder why it does not compile on linux, probably I did something wrong. I extracted binutils to extracted gcc src dir and symlinked it to "binutils" and configured gcc: ../gcc-4.6.0/configure \ --prefix=/usr/local/exp/gcc-4.6.0/ \ --enable-languages=c,c++,go Any hints how to progress or pointers to some documentation I missed are appreciated. oki, Steffen