LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   motion arm (https://www.linuxquestions.org/questions/slackware-14/motion-arm-4175456488/)

carlitoco 04-02-2013 06:06 AM

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


volkerdi 04-02-2013 11:45 PM

Quote:

Originally Posted by carlitoco (Post 4923382)
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


carlitoco 04-04-2013 02:29 AM

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

carlitoco 04-05-2013 09:13 AM

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

Thank You


All times are GMT -5. The time now is 02:17 AM.