alsa-project / alsa-lib

The Advanced Linux Sound Architecture (ALSA) - library
GNU Lesser General Public License v2.1
345 stars 176 forks source link

Fix symver build error on non-ELF platforms #334

Closed bkuhls closed 11 months ago

bkuhls commented 1 year ago

The following error is observed on Microblaze [1] build:

error: symver is only supported on ELF platforms

due to using attribute((symver)) on non-ELF platform.

[1] http://autobuild.buildroot.net/results/1e9/1e965d83d75615f35308440c5db044314a349357/build-end.log

ac_check_attribute_symver.m4 was downloaded from https://github.com/smuellerDD/libkcapi/blob/master/m4/ac_check_attribute_symver.m4