LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-13-2016, 03:52 PM   #1
aihaike
Member
 
Registered: Feb 2006
Location: Paris, France
Distribution: Slackware, CentOS
Posts: 270

Rep: Reputation: 20
Question lensfun on ARMv7


Hey,

I've installed the release 14.2 on RPI2 and Cubox-i and I'm having an issue compiling lensfun from SBo.
On both system I get the following error:

...

-- -------------------------------------------------------------------------------------
-- Building Lensfun 0.3.2.0
-- -------------------------------------------------------------------------------------
-- Build as dynamic/shared library
-- Build type: Release
-- Build doc: OFF
-- Build test suite: OFF
-- Build lenstool: OFF
-- Build with support for SSE: ON
-- Build with support for SSE2: ON
-- Install helper scripts: ON

...

Scanning dependencies of target lensfun
[ 7%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/camera.cpp.o
c++: error: unrecognized command line option '-msse'
c++: error: unrecognized command line option '-msse2'
libs/lensfun/CMakeFiles/lensfun.dir/build.make:62: recipe for target 'libs/lensfun/CMakeFiles/lensfun.dir/camera.cpp.o' failed
make[2]: *** [libs/lensfun/CMakeFiles/lensfun.dir/camera.cpp.o] Error 1
CMakeFiles/Makefile2:103: recipe for target 'libs/lensfun/CMakeFiles/lensfun.dir/all' failed
make[1]: *** [libs/lensfun/CMakeFiles/lensfun.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

the GCC version is 5.4.0.

Can someone tell whether it is an hardware issue or whether it can be fixed.
Thank you.
 
Old 09-13-2016, 05:28 PM   #2
lazardo
Member
 
Registered: Feb 2010
Location: SD Bay Area
Posts: 276

Rep: Reputation: Disabled
SSE instructions are native to x86 but not arm7. Turn them off in the lensfun configuration and see if the build gets farther.
 
Old 09-14-2016, 03:01 AM   #3
aihaike
Member
 
Registered: Feb 2006
Location: Paris, France
Distribution: Slackware, CentOS
Posts: 270

Original Poster
Rep: Reputation: 20
Thumbs up

Thanks lazardo,

I removed the conditional part about msse and msse2 in CMakeLists.txt and everything worked smoothly.
 
  


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
Cross-compiler to ARMv7 mackowiakp Mageia 2 09-10-2016 09:00 AM
How to update the LensFun database in Darktable? cryan Linux - Software 1 03-12-2015 02:31 PM
Cross Compiling from x86_64 to ARMv7 markcgriffiths Linux - Software 2 04-16-2014 08:13 AM
LXer: LLVM/Clang On The ARMv7 PandaBoard ES LXer Syndicated Linux News 0 12-29-2011 09:50 PM
lensfun-0.2.5 causing segfaults in digikam and ufraw Franklin Slackware 3 01-02-2011 06:39 PM

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

All times are GMT -5. The time now is 08:27 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