LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-13-2007, 02:27 PM   #1
gfem
Member
 
Registered: Apr 2003
Distribution: Fedora
Posts: 126

Rep: Reputation: 15
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
 
Old 12-13-2007, 06:49 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Code:
gcc -lz cws2fws.c
Should give you an executable called a.out.
 
Old 12-17-2007, 06:50 PM   #3
gfem
Member
 
Registered: Apr 2003
Distribution: Fedora
Posts: 126

Original Poster
Rep: Reputation: 15
Sweet! Thanks!
 
Old 12-17-2007, 09:55 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by gfem View Post
Sweet!
Yes, I am! You're welcome.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling FFMPEG Manually mindrunner Linux - Software 2 06-08-2007 01:04 AM
where is the ffmpeg command line tool? leodemario Linux - Desktop 5 02-25-2007 04:11 PM
Compiling ffmpeg Valavien SUSE / openSUSE 1 02-22-2007 09:47 PM
Error while compiling IKE-SCAN tool jaisol Linux - Software 0 08-02-2006 02:32 PM
Transcode & FFMPEG compiling error CrEsPo Slackware 2 05-10-2005 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration