LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   error compiling ffmpeg tool cws2fws (https://www.linuxquestions.org/questions/linux-software-2/error-compiling-ffmpeg-tool-cws2fws-606577/)

gfem 12-13-2007 01:27 PM

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

weibullguy 12-13-2007 05:49 PM

Code:

gcc -lz cws2fws.c
Should give you an executable called a.out.

gfem 12-17-2007 05:50 PM

Sweet! Thanks!

weibullguy 12-17-2007 08:55 PM

Quote:

Originally Posted by gfem (Post 2993971)
Sweet!

Yes, I am! ;) You're welcome.


All times are GMT -5. The time now is 06:36 PM.