bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/12263] New: Compiling bfd/compress.c fails on Solaris 8 with in


From: ro at TechFak dot Uni-Bielefeld.DE
Subject: [Bug gas/12263] New: Compiling bfd/compress.c fails on Solaris 8 with included zlib.h
Date: Wed, 24 Nov 2010 18:33:18 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12263

           Summary: Compiling bfd/compress.c fails on Solaris 8 with
                    included zlib.h
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: address@hidden
        ReportedBy: address@hidden
              Host: *-*-solaris2.8
            Target: *-*-solaris2.8
             Build: *-*-solaris2.8


bfd/compress.c fails to compile on Solaris 8 with the included
zlib.h/libz.so.1:

cc1: warnings being treated as errors
/vol/src/gnu/binutils/binutils/bfd/compress.c: In function
'bfd_compress_section
_contents':
/vol/src/gnu/binutils/binutils/bfd/compress.c:100: error: implicit declaration
o
f function 'compressBound'
make[4]: *** [compress.lo] Error 1

The function is neither declared in <zlib.h> nor present in libz.so.1, so the
zlib configure test needs to be adapted to check for this function as well.

For the time being, I've configured with --without-zlib as a workaround.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

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