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: unassig...@sources.redhat.com
        ReportedBy: r...@techfak.uni-bielefeld.de
              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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to