PipeWire fails to compile with latest commit of roc-toolkit develop branch
Version, Distribution, Desktop Environment: [master - 3509962f], ubuntu 20.04, Gnome
Description of Problem:
I was trying to compile with roc-toolkit [develop - 17sep] branch. There are lots of compilation error
[567/735] cc -Isrc/modules/libpipewire-module-roc-sink.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -flto=4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -fvisibility=hidden -Werror=suggest-attribute=format -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wold-style-declaration -Wunused-result -D_GNU_SOURCE -DFASTPATH -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/modules/libpipewire-module-roc-sink.so.p/module-roc-sink.c.o -MF src/modules/libpipewire-module-roc-sink.so.p/module-roc-sink.c.o.d -o src/modules/libpipewire-module-roc-sink.so.p/module-roc-sink.c.o -c ../src/modules/module-roc-sink.c
FAILED: src/modules/libpipewire-module-roc-sink.so.p/module-roc-sink.c.o
cc -Isrc/modules/libpipewire-module-roc-sink.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -flto=4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -fvisibility=hidden -Werror=suggest-attribute=format -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wold-style-declaration -Wunused-result -D_GNU_SOURCE -DFASTPATH -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/modules/libpipewire-module-roc-sink.so.p/module-roc-sink.c.o -MF src/modules/libpipewire-module-roc-sink.so.p/module-roc-sink.c.o.d -o src/modules/libpipewire-module-roc-sink.so.p/module-roc-sink.c.o -c ../src/modules/module-roc-sink.c
../src/modules/module-roc-sink.c:115:2: error: unknown type name ‘roc_address’
115 | roc_address local_addr;
| ^~~~~~~~~~~
../src/modules/module-roc-sink.c:116:2: error: unknown type name ‘roc_address’
116 | roc_address remote_source_addr;
| ^~~~~~~~~~~
../src/modules/module-roc-sink.c:117:2: error: unknown type name ‘roc_address’
117 | roc_address remote_repair_addr;
| ^~~~~~~~~~~
../src/modules/module-roc-sink.c: In function ‘roc_sink_setup’:
../src/modules/module-roc-sink.c:283:6: warning: implicit declaration of function ‘roc_address_init’ [-Wimplicit-function-declaration]
283 | if (roc_address_init(&data->local_addr, ROC_AF_AUTO, data->local_ip, 0)) {
...
...
...
.
.
.
here is the full log You can see there is lots of error
How Reproducible: Always.
Steps to Reproduce:
- build and install roc-toolkit from develop branch
- then try to build pipeiwire with roc module enabled
- You can see those errors
Actual Results:
compilation failed
Expected Results:
Should compile successfully with latest commit of roc-toolkit.
Additional Info (As Attachment Please):
here is the full log You can see there is lots of error