Error Deflate And Inflate With zLib

前端 未结 1 1890
失恋的感觉
失恋的感觉 2020-12-16 10:31

I\'m trying to compile the zpipe.c example in my Linux(Ubuntu 8.04) with gcc, but I\'m getting some errors, take a look:

[ubuntu@eeepc:~/Desktop] gc         


        
相关标签:
1条回答
  • 2020-12-16 11:11

    You need to link it with the zlib library as well. Just add -lz to near end of your command line.

    0 讨论(0)
提交回复
热议问题