sex_king

Untitled

Dec 14th, 2022 (edited)
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.57 KB | None | 0 0
  1. # This is after a couple retries, sorry. Also, pastebin syntax highlighting for this is a little cringe, so don't let the blue fool you.
  2.  
  3. ninja: Entering directory `build'
  4. [4/29] Compiling C object subprojects/openhmd/libopenhmd.a.p/src_drv_oculus_rift_ohmd-pipewire.c.o
  5. FAILED: subprojects/openhmd/libopenhmd.a.p/src_drv_oculus_rift_ohmd-pipewire.c.o
  6. cc -Isubprojects/openhmd/libopenhmd.a.p -Isubprojects/openhmd -I../subprojects/openhmd -I../subprojects/openhmd/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/hidapi -I/usr/include/libusb-1.0 -I/usr/include/opencv4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O3 -fPIC -D_REENTRANT -pthread -DOHMD_DEBUGGING_MODE -DHAVE_PIPEWIRE=1 -DHAVE_DEBUG_STREAM=1 -DHAVE_LIBJPEG -DDRIVER_OCULUS_RIFT -DHAVE_OPENCV=1 -DDRIVER_OCULUS_RIFT_S -DDRIVER_DEEPOON -DDRIVER_PSVR -DDRIVER_HTC_VIVE -DDRIVER_NOLO -DDRIVER_WMR -DDRIVER_XGVR -DDRIVER_VRTEK -DDRIVER_EXTERNAL -MD -MQ subprojects/openhmd/libopenhmd.a.p/src_drv_oculus_rift_ohmd-pipewire.c.o -MF subprojects/openhmd/libopenhmd.a.p/src_drv_oculus_rift_ohmd-pipewire.c.o.d -o subprojects/openhmd/libopenhmd.a.p/src_drv_oculus_rift_ohmd-pipewire.c.o -c ../subprojects/openhmd/src/drv_oculus_rift/ohmd-pipewire.c
  7. In file included from /usr/include/pipewire-0.3/pipewire/properties.h:35,
  8.                 from /usr/include/pipewire-0.3/pipewire/core.h:87,
  9.                 from /usr/include/pipewire-0.3/pipewire/context.h:67,
  10.                 from /usr/include/pipewire-0.3/pipewire/protocol.h:46,
  11.                 from /usr/include/pipewire-0.3/pipewire/proxy.h:108,
  12.                 from /usr/include/pipewire-0.3/pipewire/client.h:35,
  13.                 from /usr/include/pipewire-0.3/pipewire/pipewire.h:35,
  14.                 from ../subprojects/openhmd/src/drv_oculus_rift/ohmd-pipewire.c:14:
  15. /usr/include/spa-0.2/spa/utils/string.h: In function ‘spa_strtof’:
  16. /usr/include/spa-0.2/spa/utils/string.h:279:16: error: unknown type name ‘locale_t’
  17.  279 |         static locale_t locale = NULL;
  18.      |                ^~~~~~~~
  19. /usr/include/spa-0.2/spa/utils/string.h:279:34: warning: initialization of ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
  20.  279 |         static locale_t locale = NULL;
  21.      |                                  ^~~~
  22. /usr/include/spa-0.2/spa/utils/string.h:280:9: error: unknown type name ‘locale_t’
  23.  280 |         locale_t prev;
  24.      |         ^~~~~~~~
  25. In file included from /usr/include/spa-0.2/spa/pod/pod.h:32,
  26.                 from /usr/include/spa-0.2/spa/pod/iter.h:35,
  27.                 from /usr/include/spa-0.2/spa/pod/parser.h:35,
  28.                 from /usr/include/spa-0.2/spa/param/video/format-utils.h:36,
  29.                 from ../subprojects/openhmd/src/drv_oculus_rift/ohmd-pipewire.c:8:
  30. /usr/include/spa-0.2/spa/utils/string.h:284:33: warning: comparison between pointer and integer
  31.  284 |         if (SPA_UNLIKELY(locale == NULL))
  32.      |                                 ^~
  33. /usr/include/spa-0.2/spa/utils/defs.h:244:46: note: in definition of macro ‘SPA_UNLIKELY’
  34.  244 | #define SPA_UNLIKELY(x) (__builtin_expect(!!(x),0))
  35.      |                                              ^
  36. /usr/include/spa-0.2/spa/utils/string.h:285:26: warning: implicit declaration of function ‘newlocale’; did you mean ‘setlocale’? [-Wimplicit-function-declaration]
  37.  285 |                 locale = newlocale(LC_ALL_MASK, "C", NULL);
  38.      |                          ^~~~~~~~~
  39.      |                          setlocale
  40. /usr/include/spa-0.2/spa/utils/string.h:285:36: error: ‘LC_ALL_MASK’ undeclared (first use in this function)
  41.  285 |                 locale = newlocale(LC_ALL_MASK, "C", NULL);
  42.      |                                    ^~~~~~~~~~~
  43. /usr/include/spa-0.2/spa/utils/string.h:285:36: note: each undeclared identifier is reported only once for each function it appears in
  44. /usr/include/spa-0.2/spa/utils/string.h:286:16: warning: implicit declaration of function ‘uselocale’; did you mean ‘setlocale’? [-Wimplicit-function-declaration]
  45.  286 |         prev = uselocale(locale);
  46.      |                ^~~~~~~~~
  47.      |                setlocale
  48. /usr/include/spa-0.2/spa/utils/string.h: In function ‘spa_strtod’:
  49. /usr/include/spa-0.2/spa/utils/string.h:329:16: error: unknown type name ‘locale_t’
  50.  329 |         static locale_t locale = NULL;
  51.      |                ^~~~~~~~
  52. /usr/include/spa-0.2/spa/utils/string.h:329:34: warning: initialization of ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
  53.  329 |         static locale_t locale = NULL;
  54.      |                                  ^~~~
  55. /usr/include/spa-0.2/spa/utils/string.h:330:9: error: unknown type name ‘locale_t’
  56.  330 |         locale_t prev;
  57.      |         ^~~~~~~~
  58. /usr/include/spa-0.2/spa/utils/string.h:334:33: warning: comparison between pointer and integer
  59.  334 |         if (SPA_UNLIKELY(locale == NULL))
  60.      |                                 ^~
  61. /usr/include/spa-0.2/spa/utils/defs.h:244:46: note: in definition of macro ‘SPA_UNLIKELY’
  62.  244 | #define SPA_UNLIKELY(x) (__builtin_expect(!!(x),0))
  63.      |                                              ^
  64. /usr/include/spa-0.2/spa/utils/string.h:335:36: error: ‘LC_ALL_MASK’ undeclared (first use in this function)
  65.  335 |                 locale = newlocale(LC_ALL_MASK, "C", NULL);
  66.      |                                    ^~~~~~~~~~~
  67. [10/29] Compiling C object subprojects/openhmd/libopenhmd.a.p/src_drv_wmr_wmr.c.o
  68. ../subprojects/openhmd/src/drv_wmr/wmr.c: In function ‘open_device’:
  69. ../subprojects/openhmd/src/drv_wmr/wmr.c:422:44: warning: ‘resolution_v’ may be used uninitialized [-Wmaybe-uninitialized]
  70.  422 |                 priv->base.properties.vres = resolution_v;
  71.      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
  72. ../subprojects/openhmd/src/drv_wmr/wmr.c:347:27: note: ‘resolution_v’ was declared here
  73.  347 |         int resolution_h, resolution_v;
  74.      |                           ^~~~~~~~~~~~
  75. ../subprojects/openhmd/src/drv_wmr/wmr.c:421:44: warning: ‘resolution_h’ may be used uninitialized [-Wmaybe-uninitialized]
  76.  421 |                 priv->base.properties.hres = resolution_h;
  77.      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
  78. ../subprojects/openhmd/src/drv_wmr/wmr.c:347:13: note: ‘resolution_h’ was declared here
  79.  347 |         int resolution_h, resolution_v;
  80.      |             ^~~~~~~~~~~~
  81. [13/29] Compiling C object subprojects/openhmd/libopenhmd.a.p/src_drv_htc_vive_packet.c.o
  82. ninja: build stopped: subcommand failed.
  83.  
Advertisement
Add Comment
Please, Sign In to add comment