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
You need to link it with the zlib library as well. Just add -lz to near end of your command line.