FreeBSD Port: gpac-libgpac-1.0.0_1,1 error build

Alex V. Petrov alexvpetrov at gmail.com
Sun Aug 2 05:15:12 UTC 2020


  CC ../modules/x11_out/x11_out.c
../modules/x11_out/x11_out.c:978:11: warning: implicit declaration of
function 'glXMakeCurrent' is invalid in C99
      [-Wimplicit-function-declaration]
                        if ( ! glXMakeCurrent(xWindow->display,
xWindow->fullscreen ? xWindow->full_wnd : xWindow->wnd, xWindow->glx_...
                               ^
../modules/x11_out/x11_out.c:978:109: error: no member named
'glx_context' in 'XWindow'
  ...if ( ! glXMakeCurrent(xWindow->display, xWindow->fullscreen ?
xWindow->full_wnd : xWindow->wnd, xWindow->glx_context) ) {

                             ~~~~~~~  ^
1 warning and 1 error generated.
gmake[3]: *** [../config.mak:147: ../modules/x11_out/x11_out.o] Error 1
gmake[3]: Leaving directory
'/usr/ports/multimedia/gpac-libgpac/work/gpac-1.0.0/src'
gmake[2]: *** [Makefile:40: lib] Error 2
gmake[2]: Leaving directory
'/usr/ports/multimedia/gpac-libgpac/work/gpac-1.0.0'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/multimedia/gpac-libgpac
*** Error code 1

Stop.
-- 
-----
Alex.


More information about the freebsd-multimedia mailing list