| lionelv@gmail.com 2007-06-12, 3:56 am |
| On Jun 12, 11:43 am, "lion...@gmail.com" <lion...@gmail.com> wrote:
> Not sure if anyone here has compiled gzrecover. When I attempt to
> compile using "make" I get the following output:
>
> cc -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -lz -L.
> gzrecover.c -o gzrecover
> /cygdrive/c/DOCUME~1/VANDEN~1/LOCALS~1/Temp/cc4qf65Z.o:gzrecover.c:
> (.text+0x28c): undefined reference to `_inflateInit2_'
> /cygdrive/c/DOCUME~1/VANDEN~1/LOCALS~1/Temp/cc4qf65Z.o:gzrecover.c:
> (.text+0x67f): undefined reference to `_inflate'
> /cygdrive/c/DOCUME~1/VANDEN~1/LOCALS~1/Temp/cc4qf65Z.o:gzrecover.c:
> (.text+0x736): undefined reference to `_inflateEnd'
> /cygdrive/c/DOCUME~1/VANDEN~1/LOCALS~1/Temp/cc4qf65Z.o:gzrecover.c:
> (.text+0x78d): undefined reference to `_inflateEnd'
> /cygdrive/c/DOCUME~1/VANDEN~1/LOCALS~1/Temp/cc4qf65Z.o:gzrecover.c:
> (.text+0x962): undefined reference to `_inflateEnd'
> collect2: ld returned 1 exit status
> make: *** [gzrecover] Error 1
>
> I've placed libz.a in the current directory but it obviously doesn't
> work. I can't seem to get it to link, it seems to me that it isn't
> finding the zlib library. Any ideas?
>
> Thanks
>
> Lionel.
Never mind. I've given up on it as it turns out I don't need gzrecover.
|