LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 05-09-2016, 11:33 AM   #1
jowski
Member
 
Registered: Aug 2007
Posts: 117

Rep: Reputation: 9
omxplayer slackbuild error


I was trying to compile omxplayer on my Pi 3 with omxplayer.Slackbuild and got the following error:

make[2]: Leaving directory '/tmp/SBo/omxplayer-git/ffmpeg'
strip ffmpeg_compiled/usr/local/lib/*.so
make[1]: Leaving directory '/tmp/SBo/omxplayer-git'
/usr/bin/g++ -mfloat-abi=soft -march=native -mcpu=native -mtune=native -mabi=aapcs-linux -fomit-frame-pointer -Wno-psabi -mno-apcs-stack-check -O2 -mstructure-size-boundary=32 -mno-sched-prolog -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host -I/opt/vc/include/interface/vmcs_host/linux -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include -I/usr/include/freetype2 -I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ -I /usr/include/dbus-1.0 -I /usr/lib/arm-linux-gnueabihf/dbus-1.0/include -c linux/XMemUtils.cpp -o linux/XMemUtils.o -Wno-deprecated-declarations
*** Error in `/usr/bin/g++': double free or corruption (top): 0x0105c5a8 ***
Makefile:45: recipe for target 'linux/XMemUtils.o' failed
make: *** [linux/XMemUtils.o] Aborted

g++ --version gives -> g++ (GCC) 5.3.1 20160307.

Jim
 
Old 05-16-2016, 10:58 AM   #2
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
That's an internal error in g++, not an error in the SlackBuild.
 
Old 05-17-2016, 12:08 AM   #3
jowski
Member
 
Registered: Aug 2007
Posts: 117

Original Poster
Rep: Reputation: 9
Then I guess it's not going to compile. Is it me or have there been more "double free" issues showing up with version 5 of gcc? Maybe reverting to a version 4 flavor is the answer.

Jim
 
Old 06-20-2016, 02:44 AM   #4
Moscat
LQ Newbie
 
Registered: Jun 2016
Posts: 1

Rep: Reputation: Disabled
Hi, I'm completely new to the forum. Did you ever manage to solve this problem? I'm experiencing exactly the same issue.
 
Old 06-21-2016, 01:28 AM   #5
jowski
Member
 
Registered: Aug 2007
Posts: 117

Original Poster
Rep: Reputation: 9
Nope. I gave up on it.
 
Old 06-21-2016, 04:21 AM   #6
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
You could try using clang instead of gcc,

export CC=clang CXX=clang++

before running the SlackBuild is usually enough.
 
Old 06-21-2016, 05:16 AM   #7
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,542

Rep: Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310
Quote:
Originally Posted by 55020 View Post
You could try using clang instead of gcc,

export CC=clang CXX=clang++

before running the SlackBuild is usually enough.

I built gcc again with the last set of patches from Debian's set which apply against 5.3.x:-
http://armed.slackware.com/slackwarearm-current/test/d/
I have not tested these packages at all, and I've no reason to think they'll fix that problem apart from they contain updates from upstream and Debian.
 
  


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
compile omxplayer on rpi2 slackware qjyao Slackware - ARM 3 04-18-2020 04:52 PM
SlackBuild for OMXPlayer slacksam Slackware - ARM 36 06-04-2018 11:12 AM
LXer: HOWTO: Launch OMXPlayer via a GUI LXer Syndicated Linux News 0 08-03-2012 08:51 PM
LXer: Multimedia on the Raspberry Pi with omxplayer LXer Syndicated Linux News 0 06-17-2012 08:51 PM
Slackbuild handbrake error-[gtk.install] Error 2 Swift&Smart Slackware 8 08-17-2010 03:42 PM

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

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