error compiling ffmpeg tool cws2fws
I am trying to compile cws2fws in the ffmpeg tools folder, but i get the following errors....
[root@fc7 tools]# gcc cws2fws.c /tmp/ccQ5sYMk.o: In function `main': cws2fws.c:(.text+0x23a): undefined reference to `inflateInit_' cws2fws.c:(.text+0x2b0): undefined reference to `inflate' cws2fws.c:(.text+0x2e0): undefined reference to `inflateEnd' cws2fws.c:(.text+0x3f4): undefined reference to `inflateEnd' collect2: ld returned 1 exit status Can someone tell me how to fix it? Thanks |
Code:
gcc -lz cws2fws.c |
Sweet! Thanks!
|
Quote:
|
All times are GMT -5. The time now is 06:36 PM. |