Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Aug 2020 12:15:05 +0700
From:      "Alex V. Petrov" <alexvpetrov@gmail.com>
To:        multimedia@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: gpac-libgpac-1.0.0_1,1 error build
Message-ID:  <6a01ee17-6d85-979a-5d98-9fe9b8a5e41c@gmail.com>

next in thread | raw e-mail | index | archive | help
  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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a01ee17-6d85-979a-5d98-9fe9b8a5e41c>