LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-02-2011, 04:00 AM   #1
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
git x264: final link failed: Nonrepresentable section on output


I have been building x264 from git for some time but I am stuck with the latest pull from git (on Slackware -current) :
Code:
/usr/lib/gcc/i486-slackware-linux/4.5.3/../../../../i486-slackware-linux/bin/ld: libx264.a(dct.o)(.text+0x2be8): unresolvable R_386_32 relocation against symbol `x264_dct4_weight2_zigzag'
/usr/lib/gcc/i486-slackware-linux/4.5.3/../../../../i486-slackware-linux/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make: *** [x264] Error 1
Anybody else having this error?
 
Old 08-02-2011, 04:37 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,130

Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
when I upgrade my x264 installs, usually first I try to build what I see tagged as stable on git: that seems to build fine here (on multilib).
maybe there's something that broke it in the last two commits.
 
Old 08-02-2011, 05:45 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Your error is exclusive to 64-bit I think?

I tried building yesterday's snapshot (ftp://ftp.videolan.org/pub/videolan/...1-2245.tar.bz2) on a clean 64-bit Slackware-current and it built fine using http://connie.slackware.com/~alien/s...264.SlackBuild .

I saw that there was also a "x264-snapshot-20110801-2245-stable.tar.bz2" at the download location bit I did not attempt to compile that one.

Eric
 
Old 08-02-2011, 06:19 AM   #4
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by Alien Bob View Post
Your error is exclusive to 64-bit I think?
No, I am running a 32bit system.

Quote:
I tried building yesterday's snapshot (ftp://ftp.videolan.org/pub/videolan/...1-2245.tar.bz2) on a clean 64-bit Slackware-current and it built fine using http://connie.slackware.com/~alien/s...264.SlackBuild .
I am using my own rather ugly script for x264 but I used your script on the same version, but on my 32bit system, and the error was the same as my original post. I have retreated to an older version at the moment but will keep a keen eye on the git repository for updates. Mind you it would be nice if somebody could reproduce my error message .
 
Old 08-02-2011, 06:32 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Hi Andrew

I could successfully compile a 32-bit package of x264 (20110801 snapshot) on 32-bit Slackware-current. No idea what's wrong with your setup.
I uploaded the build log here: http://pastebin.com/bVHZPFrG

Eric
 
1 members found this post helpful.
Old 08-02-2011, 03:16 PM   #6
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Thanks Eric, you gave me the clue to solve the problem!! On your build:

Code:
Platform:   X86
System:     LINUX
cli:        yes
libx264:    internal
shared:     yes
static:     no
asm:        yes
interlaced: yes
avs:        no
lavf:       no
ffms:       no
gpac:       no
gpl:        yes
thread:     posix
filters:    crop select_every
debug:      no
gprof:      no
strip:      no
PIC:        no
visualize:  yes
bit depth:  8
So your build does not have import support through FFmpeg libraries built in while my own draws support from the git FFmpeg I have installed. Once I ran my script with --disable-lavf compilation succeeded. Looks like a current git x264 vs current git FFmpeg issue. Thanks for helping out!
 
Old 08-11-2011, 05:42 PM   #7
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Issue now completely resolved with latest git x264 + git FFmpeg.....
 
Old 08-12-2011, 02:16 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by andrew.46 View Post
Issue now completely resolved with latest git x264 + git FFmpeg.....
I just built ffmpeg-0.8.2 with latest x264 snapshot and found no issues.

Eric
 
  


Reply



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
[SOLVED] Can't install Git repo (I don't git git ) Nemus Linux - Software 3 05-20-2011 02:09 PM
ld: final link failed: Memory exhausted errigour Linux - Hardware 7 07-02-2010 06:27 PM
Problem building subversion 1.4.6 "Nonrepresentable section on output" marconap Linux - Software 5 07-08-2008 02:36 AM
Linking error: "nonrepresentable section on output" GiantBucket Slackware 7 07-24-2007 07:38 PM
Broken link in Tutorials section carambar LQ Suggestions & Feedback 1 03-28-2006 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:09 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
Open Source Consulting | Domain Registration