zpipe compiling error

Results 1 to 9 of 9
  1. #1
    Account Upgraded | Title Enabled! MaximumSatan is offline
    MemberRank
    May 2009 Join Date
    SwedenLocation
    317Posts

    zpipe compiling error

    Done this several times before without any errors.
    Code:
    gcc -o zpipe zlib-1.2.3/examples/zpipe.c -lz
    When im running that command in putty (Using centos 5.3 and chumpy's repack v2.5) Im getting this errors:



    Anyone knows why?


  2. #2
    Account Upgraded | Title Enabled! Daman2009 is offline
    MemberRank
    Feb 2009 Join Date
    GreenDespairLocation
    343Posts

    Re: zpipe compiling error

    Try gcc -o zpipe zpipe.c -lz directly from the same directory as zpipe.c without using directory names.

    Because looking at what you have shown, its not found the ZLIB.H file which is in that directory.

    This might help you. ;-)
    Last edited by Daman2009; 12-01-10 at 07:42 PM.

  3. #3
    Account Upgraded | Title Enabled! MaximumSatan is offline
    MemberRank
    May 2009 Join Date
    SwedenLocation
    317Posts

    Re: zpipe compiling error

    Didnt work.. also zlib.h isnt in the examples map in the first place. and if i move zlib.h into examples im getting similar errors, but more.
    Last edited by MaximumSatan; 12-01-10 at 07:56 PM.

  4. #4
    Account Upgraded | Title Enabled! Daman2009 is offline
    MemberRank
    Feb 2009 Join Date
    GreenDespairLocation
    343Posts

    Re: zpipe compiling error

    I know that using the -lz command introduces the ZLIB library. So something must have changed.

    Try re-installing ZLIB library(s)??

  5. #5
    Account Upgraded | Title Enabled! MaximumSatan is offline
    MemberRank
    May 2009 Join Date
    SwedenLocation
    317Posts

    Re: zpipe compiling error

    I just downloaded the zlib source and put in the correct zpipe.c. did nothing else.
    Last edited by MaximumSatan; 12-01-10 at 08:52 PM.

  6. #6
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: zpipe compiling error

    With my files you do not need to download the zlib source as it's included with v2.8 and so is a pre-compiled zpipe (which is called "encpack"). If you want to recompile it run /root/zlib-1.2.3/compile_encpack.sh.

    The errors you are getting are because you are in the wrong folder and it can't find the zlib libraries. Instead of being in the root folder you should be in /root/zlib-1.2.3/examples.

  7. #7
    Apprentice krazywhiteboy is offline
    MemberRank
    Aug 2008 Join Date
    11Posts

    Re: zpipe compiling error

    Quote Originally Posted by chumpywumpy View Post
    With my files you do not need to download the zlib source as it's included with v2.8 and so is a pre-compiled zpipe (which is called "encpack"). If you want to recompile it run /root/zlib-1.2.3/compile_encpack.sh.

    The errors you are getting are because you are in the wrong folder and it can't find the zlib libraries. Instead of being in the root folder you should be in /root/zlib-1.2.3/examples.
    When trying to recompile encpack using command u said chumpy it is saying on line 8 gcc command not found and doesn't compile.

    EDIT: installed gcc lol that was why the error was there but now when running command it says encpack.c file or directory not found. Yet i'm lookin right at it in the zlib-1.2.3 folder along with the compile_encpack.sh so i dunno what the problem is now : /
    Last edited by krazywhiteboy; 05-05-10 at 09:25 AM.

  8. #8
    ┌П┐(•_•)┌П┐ allocen is offline
    MemberRank
    Dec 2009 Join Date
    Deep AbyssLocation
    1,003Posts

    Re: zpipe compiling error

    man try to use balq tools

  9. #9
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: zpipe compiling error

    I would agree, use either COZip or balq's packer. I have had some odd results using Phantom*'s code.



Advertisement