Bug 228157 - emulators/virtualbox-ose-additions compilation failure when opengl enabled
Summary: emulators/virtualbox-ose-additions compilation failure when opengl enabled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Virtualbox Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-11 13:03 UTC by Otacílio de Araújo Ramos Neto
Modified: 2018-07-03 11:10 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments
patch to apply in /usr/ports (965 bytes, patch)
2018-05-12 08:28 UTC, Martin Birgmeier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Otacílio de Araújo Ramos Neto 2018-05-11 13:03:15 UTC
When opengl option is enabled, virtualbox-ose-additions 5.2.12 fails with this message

kBuild: Compiling VBoxOGL - /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxOGLgen/getprocaddress.c
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxOGLgen/getprocaddress.c:72:45: error: use of undeclared identifier 'glBindFramebuffer'
        { "glBindFramebuffer", (CR_PROC) VBOXGLTAG(glBindFramebuffer) },
                                                   ^
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxOGLgen/getprocaddress.c:113:45: error: use of undeclared identifier 'glBlitFramebuffer'
        { "glBlitFramebuffer", (CR_PROC) VBOXGLTAG(glBlitFramebuffer) },
                                                   ^
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxOGLgen/getprocaddress.c:133:52: error: use of undeclared identifier
      'glCheckFramebufferStatus'
        { "glCheckFramebufferStatus", (CR_PROC) VBOXGLTAG(glCheckFramebufferStatus) },
                                                          ^
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxOGLgen/getprocaddress.c:310:48: error: use of undeclared identifier
      'glDeleteFramebuffers'
        { "glDeleteFramebuffers", (CR_PROC) VBOXGLTAG(glDeleteFramebuffers) },
                                                      ^
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxOGLgen/getprocaddress.c:453:50: error: use of undeclared identifier
      'glFramebufferTexture2D'
        { "glFramebufferTexture2D", (CR_PROC) VBOXGLTAG(glFramebufferTexture2D) },
                                                        ^
/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxOGLgen/getprocaddress.c:473:45: error: use of undeclared identifier 'glGenFramebuffers'
        { "glGenFramebuffers", (CR_PROC) VBOXGLTAG(glGenFramebuffers) },
                                                   ^
6 errors generated.
Comment 1 Martin Birgmeier 2018-05-12 08:28:31 UTC
Created attachment 193317 [details]
patch to apply in /usr/ports

Please try to apply the attached patch in /usr/ports.

-- Martin
Comment 2 Otacílio de Araújo Ramos Neto 2018-05-13 14:27:13 UTC
(In reply to Martin Birgmeier from comment #1)
Build and works fine here. Thank you