LinuxQuestions.org
Review your favorite Linux distribution.
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-02-2013, 06:06 AM   #1
carlitoco
Member
 
Registered: Jan 2008
Location: Berlin
Distribution: Slackware / Arch
Posts: 132

Rep: Reputation: 15
motion arm


I want to compile motion for arm raspberry pi.
I get these errors.

Code:
Wcpp]
/tmp/cc6EFLqv.s: Assembler messages:
/tmp/cc6EFLqv.s:1444: Error: bad instruction `emms'
make: *** [ffmpeg.o] Error 1

Last edited by carlitoco; 04-02-2013 at 06:07 AM.
 
Old 04-02-2013, 11:45 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 867

Rep: Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750
Quote:
Originally Posted by carlitoco View Post
I want to compile motion for arm raspberry pi.
I get these errors.

Code:
Wcpp]
/tmp/cc6EFLqv.s: Assembler messages:
/tmp/cc6EFLqv.s:1444: Error: bad instruction `emms'
make: *** [ffmpeg.o] Error 1
Comment these lines out in ffmpeg.c:

Code:
#ifndef __SSE_MATH__
    __asm__ __volatile__ ( "emms");
#endif
 
1 members found this post helpful.
Old 04-04-2013, 02:29 AM   #3
carlitoco
Member
 
Registered: Jan 2008
Location: Berlin
Distribution: Slackware / Arch
Posts: 132

Original Poster
Rep: Reputation: 15
It doesn't help:

ffmpeg.c: In function 'ffmpeg_deinterlace':
ffmpeg.c:1003:1: error: stray '##' in program
ffmpeg.c:1003:3: error: unknown type name 'ifndef'
ffmpeg.c:1004:1: error: stray '##' in program
ffmpeg.c:1004:15: error: expected '(' before '__volatile__'
ffmpeg.c:1005:1: error: stray '##' in program
ffmpeg.c:1005:3: error: 'endif' undeclared (first use in this function)
ffmpeg.c:1005:3: note: each undeclared identifier is reported only once for each function it appears in
ffmpeg.c:1007:5: error: expected ';' before 'return'
ffmpeg.c:1003:10: warning: unused variable '__SSE_MATH__' [-Wunused-variable]
make: *** [ffmpeg.o] Error 1

Last edited by carlitoco; 04-04-2013 at 02:50 AM.
 
Old 04-05-2013, 09:13 AM   #4
carlitoco
Member
 
Registered: Jan 2008
Location: Berlin
Distribution: Slackware / Arch
Posts: 132

Original Poster
Rep: Reputation: 15
done

Hey, I comment out to much, now it works fine.

Thank You
 
  


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
Motion help please (Motion only supports mmap) ?? RaeMarvin Linux - Software 4 09-06-2012 12:25 PM
Why and What is the best" Motion" or "ZoneMinder" for motion detection? MODYSAMA Linux - Newbie 3 07-06-2011 07:16 PM
Compiling debian arm for NSLU2 - arm-linux-gnueabi-objdump not found ergosteur Linux - Kernel 3 10-30-2010 11:24 AM
Compile the linux2.6.14.1 for arm must ues the arm-linux-gcc-3.4.4? frankyue Linux - Embedded & Single-board computer 2 12-20-2008 07:28 AM
Error with "SDL_MouseMotionEvent *motion = event->motion;" aatwell Programming 3 11-30-2007 01:46 PM


All times are GMT -5. The time now is 09:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration