Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Error compiling with ffmpeg 0.11 and patch from Issue 236 #245

Open
GoogleCodeExporter opened this issue Mar 29, 2015 · 4 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. Download source code
2. Apply patch for ffmpeg
3. Try to compile

What is the expected output? What do you see instead?

g++ -m64 -Wl,-O1 -o imageshack-uploader qtsingleapplication.o qtlocalpeer.o 
main.o mainwindow.o media.o medialistmodel.o medialistwidget.o loginwidget.o 
progresswidget.o mediawidget.o clickablelabel.o loginrequest.o fileuploader.o 
resultswindow.o copyablelineedit.o clickablelineedit.o medialoader.o 
tagwidget.o aboutwindow.o updatechecker.o imageinfowidget.o 
selectabletextedit.o talkingtreeview.o optionsdialog.o copyabletextedit.o 
twitterclient.o windowsexplorerintegrator.o twitterwindow.o gallerycreator.o 
limitedplaintextedit.o videopreviewcreator.o filesource.o ffmpeg_fas.o 
seek_indices.o advancedcheckbox.o trayicon.o pausedialog.o httprequest.o 
moc_qtsingleapplication.o moc_qtlocalpeer.o moc_mainwindow.o moc_media.o 
moc_medialistmodel.o moc_medialistwidget.o moc_loginwidget.o 
moc_progresswidget.o moc_mediawidget.o moc_clickablelabel.o moc_loginrequest.o 
moc_fileuploader.o moc_resultswindow.o moc_copyablelineedit.o 
moc_clickablelineedit.o moc_medialoader.o moc_tagwidget.o moc_aboutwindow.o 
moc_updatechecker.o moc_imageinfowidget.o moc_talkingtreeview.o 
moc_optionsdialog.o moc_copyabletextedit.o moc_twitterclient.o 
moc_windowsexplorerintegrator.o moc_twitterwindow.o moc_gallerycreator.o 
moc_limitedplaintextedit.o moc_filesource.o moc_advancedcheckbox.o 
moc_trayicon.o moc_pausedialog.o moc_httprequest.o qrc_images_rc.o    
-L/usr/lib64 -lavcodec -lavformat -lavutil -lswscale -lQtXml -L/usr/lib64 
-lQtGui -L/usr/X11R6/lib64 -lQtNetwork -lQtCore -lpthread
ffmpeg_fas.o: In function `fas_open_video':
ffmpeg_fas.c:(.text+0xe13): undefined reference to `av_open_input_file'
ffmpeg_fas.c:(.text+0xfb6): undefined reference to `dump_format'
collect2: ld returned 1 exit status
make: *** [imageshack-uploader] Ошибка 1

What version of the product are you using? On what operating system?

Latest trunk. openSUSE 12.1 x86_64

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 24 Jun 2012 at 2:44

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Same problem here with Mageia Cauldron Alpha 3 - i586

Original comment by [email protected] on 23 Sep 2012 at 7:55

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Here is a patch which fix this (in my system Mageia 3 64bits):
http://svnweb.mageia.org/packages/cauldron/imageshack-uploader/current/SOURCES/i
mageshack-uploader-2.3.0-mga-ffmpeg_fas.c.patch?view=markup&pathrev=473733

Original comment by [email protected] on 31 Aug 2013 at 3:52

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

g++ -m64 -Wl,-O1 -o imageshack-uploader qtsingleapplication.o qtlocalpeer.o 
main.o mainwindow.o media.o medialistmodel.o medialistwidget.o loginwidget.o 
progresswidget.o mediawidget.o clickablelabel.o loginrequest.o fileuploader.o 
resultswindow.o copyablelineedit.o clickablelineedit.o medialoader.o 
tagwidget.o aboutwindow.o updatechecker.o imageinfowidget.o 
selectabletextedit.o talkingtreeview.o optionsdialog.o copyabletextedit.o 
twitterclient.o windowsexplorerintegrator.o twitterwindow.o gallerycreator.o 
limitedplaintextedit.o videopreviewcreator.o filesource.o ffmpeg_fas.o 
seek_indices.o advancedcheckbox.o trayicon.o pausedialog.o httprequest.o 
moc_qtsingleapplication.o moc_qtlocalpeer.o moc_mainwindow.o moc_media.o 
moc_medialistmodel.o moc_medialistwidget.o moc_loginwidget.o 
moc_progresswidget.o moc_mediawidget.o moc_clickablelabel.o moc_loginrequest.o 
moc_fileuploader.o moc_resultswindow.o moc_copyablelineedit.o 
moc_clickablelineedit.o moc_medialoader.o moc_tagwidget.o moc_aboutwindow.o 
moc_updatechecker.o moc_imageinfowidget.o moc_talkingtreeview.o 
moc_optionsdialog.o moc_copyabletextedit.o moc_twitterclient.o 
moc_windowsexplorerintegrator.o moc_twitterwindow.o moc_gallerycreator.o 
moc_limitedplaintextedit.o moc_filesource.o moc_advancedcheckbox.o 
moc_trayicon.o moc_pausedialog.o moc_httprequest.o qrc_images_rc.o    
-L/usr/lib64 -lavcodec -lavformat -lavutil -lswscale -lQtXml -L/usr/lib64 
-lQtGui -L/usr/X11R6/lib64 -lQtNetwork -lQtCore -lpthread 
ffmpeg_fas.o: In function `fas_open_video':
ffmpeg_fas.c:(.text+0xe15): undefined reference to `avcodec_open'
collect2: ошибка: выполнение ld завершилось с 
кодом возврата 1
make: *** [imageshack-uploader] Ошибка 1

Also I can't use 1002-fix-FTBFS-libav-0.7.diff from Debian because of using 
libav instead of ffmpeg.

Original comment by [email protected] on 4 May 2014 at 4:14

  • Added labels: ****
  • Removed labels: ****

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant