[llvm-announce] Re: [LLVMdev] Compilation problem with 1.2 release

John T. Criswell criswell at cs.uiuc.edu
Tue Mar 23 16:27:07 PST 2004


On Mon, 22 Mar 2004, Umar Janjua wrote:

> Well, I compiled release but it gave error while making png library.
>
> The inclusion of zlib.h in the file png.h cannot locate file zlib.h.
> If you change the inclusion to
>
> include "../zlib/zlib.h" instead of just "zlib.h" in png.h
>
> then compilation succeeds.

I haven't seen a reply to this on LLVM Dev, so I'm assuming it's been left
unanswered.

First, unless you want zlib and libpng as bytcode libraries, this error should
not interfere with what you're doing (unless you're using the "make install" or
"make install-bytecode" targerts, in which case use make -k to get over
the errors).  I imported these libraries because they're used by some of our
favorite benchmarking programs. :)

Second, I'm not sure why this is happening.  My best guess is that the build
works on our internal machines here at UIUC because we have native zlib and
libpng headers installed on our systems.  It's possible that it's grabbing
the headers installed on the system instead of using the ones in the LLVM
source tree.

If your work-around works fine, then please feel free to use it.  I'll
investigate this problem as soon as I return from vacation and will file a bug
report on it if my suspicion is correct.

My apologies for the inconvenience.

Regards,

-- John T.

>
>
> regards,
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>

*********************************************************************
* John T. Criswell                         Email: criswell at uiuc.edu *
* Research Programmer                                               *
* University of Illinois at Urbana-Champaign                        *
*                                                                   *
* "It's today!" said Piglet. "My favorite day," said Pooh.          *
*********************************************************************




More information about the llvm-announce mailing list