[Mesa-dev] [Bug 36333] New: building demos complains about undefined reference to security and selinux

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 17 19:04:04 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=36333

           Summary: building demos complains about undefined reference to
                    security and selinux
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: Demos
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: alexandre.f.demers at gmail.com


Here is what happen when building the demos (using drm 2.6.25, kernel
2.6.39-rc3 and mesa git, Natty beta 2 64 bit)

...
Making all in opengl
make[3]: Entering directory `/home/dema1701/projects/mesa/demos/src/egl/opengl'
  CCLD   demo1
/usr/lib/libglapi.so.0: undefined reference to `security_get_boolean_pending'
/usr/lib/libglapi.so.0: undefined reference to `is_selinux_enabled'
/usr/lib/libglapi.so.0: undefined reference to `security_get_boolean_active'
collect2: ld returned 1 exit status
make[3]: *** [demo1] Error 1
make[3]: Leaving directory `/home/dema1701/projects/mesa/demos/src/egl/opengl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dema1701/projects/mesa/demos/src/egl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dema1701/projects/mesa/demos/src'
make: *** [all-recursive] Error 1

Not using the --enable-shared-glapi when compiling mesa doesn't solve the
problem when compiling the demos, only postponing it. The same error appears,
but instead of libglapi, it's looking in ligOpenVG. But compiling mesa without
--enable-selinux does solve the problem when compiling the demos.

Is it a bug or is something wrong in my mesa compilation?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list