Pipewire error

vajra

New Member
I received a pipewire error while trying to build from source on Rocky Linux. The error is posted below

1648593047367.png


This is where the code is called from
1648593163007.png


but there is no other place that the ```SPA_POD_PROP_FLAG_MANDATORY``` is called from or set as. Do I need to change some build setting?
 

PitXDeb

New Member
Hi, just today I decided to compile for debian bullseye and I found the same thing, searching and searching I found nothing, as the error says that it is undefined, I looked in the code "SPA_POD_PROP_PROP_FLAG_DONT_FIXATE" which, at the beginning of that file from which you took the capture, is defined by a condition:

#ifndef SPA_POD_PROP_PROP_FLAG_DONT_FIXATE
#define SPA_POD_PROP_PROP_FLAG_DONT_FIXATE (1 << 4)
#endif

So I decided to do the same with the one that doesn't work for us and that's it, I managed to compile OBS.


#ifndef SPA_POD_PROP_FLAG_MANDATORY
#define SPA_POD_PROP_FLAG_MANDATORY (1u<<3)
#endif

I hope this is helpful.

Greetings!!!
 
Top