Hi!

I'm maintaining snd for Arch Linux.
Upon upgrading to 22.4 I ran into issues and am unable to build the
project.

I noticed that `pulseaudio_sample_types` is implicitly declared:

```
audio.c: In function ‘mus_audio_device_sample_type’:
audio.c:5689:5: warning: implicit declaration of function 
‘pulseaudio_sample_types’; did you mean ‘alsa_sample_types’? 
[-Wimplicit-function-declaration]
 5689 |     pulseaudio_sample_types(dev, mixer_vals);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
      |     alsa_sample_types
```

Later on the linker is not able to find the reference:

```
/usr/bin/ld: /tmp/ccSWTc8d.ltrans32.ltrans.o: in function 
`mus_audio_device_sample_type':
/usr/src/debug/snd-22.4/audio.c:5689: undefined reference to 
`pulseaudio_sample_types'
collect2: error: ld returned 1 exit status
make: *** [makefile:83: snd] Error 1
```

For the entire build log please refer to 
https://pkgbuild.com/~dvzrv/logs/snd-22.4-build.log
The diff for audio.c between 22.3 and 22.4 can be found here: 
https://pkgbuild.com/~dvzrv/bugs/2022/06/snd-22.3-22.4-audio.c.diff

This is a regression from 22.3 to 22.4 (I am still able to build 22.3
successfully).

Any hints and patches are much welcomed.

Best,
David

-- 
https://sleepmap.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to