Skip to content

compilation of library opus: #error "Configured to use ARM asm but no CPU detection method available for " "your platform. #64

@karawitan

Description

@karawitan

Hi !

when trying to compile libopus-1.3.1 (dependency for mpv), I get the following error:

make build-wip opus

(...)

make[1]: Entering directory '/berrymuch/work/opus-1.3.1'
make[2]: Entering directory '/berrymuch/work/opus-1.3.1'
  CC       celt/arm/armcpu.lo
celt/arm/armcpu.c:153:3: error: #error "Configured to use ARM asm but no CPU detection method available for " "your platform.  Reconfigure with --disable-rtcd (or send patches)."
celt/arm/armcpu.c: In function 'opus_select_arch':
celt/arm/armcpu.c:159:3: warning: implicit declaration of function 'opus_cpu_capabilities' [-Wimplicit-function-declaration]
celt/arm/armcpu.c:159:3: warning: nested extern declaration of 'opus_cpu_capabilities' [-Wnested-externs]
Makefile:2546: recipe for target 'celt/arm/armcpu.lo' failed
make[2]: *** [celt/arm/armcpu.lo] Error 1
make[2]: Leaving directory '/berrymuch/work/opus-1.3.1'
Makefile:2646: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/berrymuch/work/opus-1.3.1'
Makefile:1615: recipe for target 'all' failed
make: *** [all] Error 2
make: *** [Makefile:8: build-wip.opus] Error 2

Any suggestion / help welcome to fix this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions