LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-07-2014, 10:12 AM   #16
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,220

Original Poster
Rep: Reputation: 172Reputation: 172

Thanks phenixia, that was the issue. Here is the raw log file.
And here is the output of "./checkpkg -l /tmp/build_2.2.log":

Code:
++ Checking logfile 'build_2.2.log' (no news is good news):
19273  :Skipping patch.
19275  :1 out of 1 hunk ignored -- saving rejects to file lib/fribidi-common.h.rej
22244  :/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: /tmp/build/tmp-ffmpeg/ffmpegdeps/usr/lib64/libvdpau.a(mesa_dri2.o): undefined reference to symbol 'XextFindDisplay'
22247  :collect2: error: ld returned 1 exit status
22357  :/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: /tmp/build/tmp-ffmpeg/ffmpegdeps/usr/lib64/libvdpau.a(mesa_dri2.o): undefined reference to symbol 'XextFindDisplay'
22360  :collect2: error: ld returned 1 exit status
 
Old 04-07-2014, 10:16 AM   #17
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,220

Original Poster
Rep: Reputation: 172Reputation: 172
I am generating a log in english, should be here in a few minutes.

EDIT: Here it is

Output of checkpkg
Code:
<ts$ ./checkpkg.sh -l ~/Documentos/build_2.2_en.log                  
++ Checking logfile 'build_2.2_en.log' (no news is good news):
16366  :make: [lib/libgsm.a] Error 1 (ignored)
16373  :make: [bin/tcat] Error 1 (ignored)
16376  :make: [bin/untoast] Error 1 (ignored)
19273  :Skipping patch.
19275  :1 out of 1 hunk ignored -- saving rejects to file lib/fribidi-common.h.rej
22244  :/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: /tmp/build/tmp-ffmpeg/ffmpegdeps/usr/lib64/libvdpau.a(mesa_dri2.o): undefined reference to symbol 'XextFindDisplay'
22247  :collect2: error: ld returned 1 exit status
22248  :make: *** [ffmpeg_g] Error 1
22357  :/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: /tmp/build/tmp-ffmpeg/ffmpegdeps/usr/lib64/libvdpau.a(mesa_dri2.o): undefined reference to symbol 'XextFindDisplay'
22360  :collect2: error: ld returned 1 exit status
22361  :make: *** [ffmpeg_g] Error 1

Last edited by moisespedro; 04-07-2014 at 10:23 AM.
 
Old 04-07-2014, 12:58 PM   #18
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 308

Rep: Reputation: 68
about your log posted in #17, make links ffprobe against static libvdpau, try adding LDFLAGS="-lXext" or LDFLAGS="/usr/lib64/libXext.so" to ffmpeg configure

sorry but i can't replicate your problem as i have all these libraries installed system-wide
 
2 members found this post helpful.
Old 04-07-2014, 07:54 PM   #19
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,220

Original Poster
Rep: Reputation: 172Reputation: 172
Thank you gengisdave, adding "/usr/lib64/libXext.so" to ffmpeg's LDFLAGS fixed the issue. I got a complete package now. That is a bit odd since I didn't have to do this before but I am glad it worked.
 
Old 04-07-2014, 10:43 PM   #20
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 308

Rep: Reputation: 68
it's a thing related to static/dynamic linking: (short way) ffmpeg links to a static libvdpau who refers to a function in libXext, linker can't find it because it's external to libvdpau and none said where to find it; in an all-dynamic scenario this shouldn't happen
 
2 members found this post helpful.
  


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
ffmpeg encoding script. error MystKid Linux - Newbie 6 02-27-2011 04:13 AM
ffmpeg: symbol lookup error: ffmpeg: undefined symbol: avformat_alloc_context YeeHaa4LINUX Linux - Software 2 10-16-2009 11:09 PM
Problem building dirac schroedinger support in ffmpeg and mplayer ordealbyfire83 Linux - Software 3 02-08-2009 06:57 PM
Make target problem building ffmpeg ordealbyfire83 Linux - Software 1 01-14-2009 11:28 AM
building a main menu icon/ manual updating/installing alien arena johnsshadow Linux - Games 1 09-25-2008 06:19 AM


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

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