Menu

zLib Compiling Errors

Help
2008-04-11
2013-03-27
  • Kenneth Barnes

    Kenneth Barnes - 2008-04-11

    I seem to be having an issue where zLib is found, but the functions gz**** functions used in logging.cpp produce "Undefined reference to gz*****" I've successfully gotten the code to compile, but only through commenting these lines out, thus disabling logging. I have zLib.h and zConf.h in the includes folder and am compiling on Windows XP using Cygwin.

     
    • Curtis Olson

      Curtis Olson - 2008-04-12

      I've never tried compiling with cygwin, but it sounds like perhaps you are missing a zlib or zlib-devel package?

      Curt.

       
    • Kenneth Barnes

      Kenneth Barnes - 2008-05-16

      Updated: I've moved to a full linux distro because emulation just isn't as good. zLib works perfectly now.

       
    • vladimir

      vladimir - 2008-06-19

      which full linux distro would that be ?

      I have arm-linux 3.3.2 and and as I posted on the Make Errors Thread here
      zlib had to be installed seperately since it apparently did not come in this
      distribution.
      Even so the only way I can link to it is static with the libz.a path explicitly
      given to configure , which does clear up all the libz unresolved references
      but still....

      I wonder if anyone else encountered this problem ?

      Vladimir

       
      • Haiyang

        Haiyang - 2008-06-20

        I used have similar problem under cygwin. But I get all problems solved after I switched to Ubuntu and installed the gumstix-boot-root, which u can find on gumstix wiki website.

        Hope this can help u.

        Good Luck.

        Haiyang

         

Log in to post a comment.

MongoDB Logo MongoDB