[Mesa-dev] [Bug 38716] Can't build, error: undefined reference to `_eglFilterConfigArray'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 18 21:56:55 PDT 2011


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

--- Comment #12 from Jos van Wolput <wolput at onsneteindhoven.nl> 2011-07-18 21:56:55 PDT ---
(In reply to comment #1)
> The command for linking wrongly put the local library search path after the
> system's.  It should be fixed with 24137af.  Please test.

I am using Debian Sid amd64 but still can't compile the gallium EGL driver.I
cloned the latest git and 'make' shows:
/usr/bin/ld: error: cannot open ../../../../x86_64-linux-gnu/libEGL.so: No such
file or directory
---
mklib: Making Linux shared library:  egl_gallium.so
/usr/bin/ld: error: cannot open ../../../../x86_64-linux-gnu/libEGL.so: No such
file or directory
egl.c:98: error: undefined reference to '_eglLog'
egl.c:150: error: undefined reference to '_eglLog'
egl.c:150: error: undefined reference to '_eglLog'
egl.c:78: error: undefined reference to '_eglLog'
egl_st.c:79: error: undefined reference to '_eglSearchPathForEach'
common/egl_g3d.c:469: error: undefined reference to
'_eglReleaseDisplayResources'
common/egl_g3d.c:472: error: undefined reference to '_eglDestroyArray'
common/egl_g3d.c:476: error: undefined reference to '_eglDestroyArray'
common/egl_g3d.c:480: error: undefined reference to '_eglCleanupDisplay'
common/egl_g3d.c:186: error: undefined reference to '_eglInitScreen'
common/egl_g3d.c:203: error: undefined reference to '_eglLinkScreen'
common/egl_g3d.c:526: error: undefined reference to '_eglError'
common/egl_g3d.c:581: error: undefined reference to '_eglError'
common/egl_g3d.c:510: error: undefined reference to '_eglError'
common/egl_g3d.c:429: error: undefined reference to '_eglInitConfig'
common/egl_g3d.c:307: error: undefined reference to '_eglValidateConfig'
common/egl_g3d.c:437: error: undefined reference to '_eglLinkConfig'
common/egl_g3d.c:521: error: undefined reference to '_eglError'
../../../../src/egl/main/eglimage.h:127: error: undefined reference to
'_eglCheckResource'
common/egl_g3d_api.c:639: error: undefined reference to '_eglGetAPIContext'
common/egl_g3d_api.c:584: error: undefined reference to '_eglGetCurrentContext'
common/egl_g3d_api.c:126: error: undefined reference to
'_eglParseConfigAttribList'
common/egl_g3d_api.c:140: error: undefined reference to '_eglFilterConfigArray'
common/egl_g3d_api.c:254: error: undefined reference to '_eglInitSurface'
common/egl_g3d_api.c:353: error: undefined reference to '_eglInitSurface'
common/egl_g3d_api.c:706: error: undefined reference to '_eglGetAPIContext'
common/egl_g3d_api.c:619: error: undefined reference to '_eglGetCurrentContext'
common/egl_g3d_api.c:552: error: undefined reference to '_eglGetCurrentContext'
../../../../src/egl/main/eglcontext.h:95: error: undefined reference to
'_eglPutResource'
common/egl_g3d_api.c:160: error: undefined reference to '_eglInitContext'
../../../../src/egl/main/eglsurface.h:118: error: undefined reference to
'_eglPutResource'
common/egl_g3d_api.c:493: error: undefined reference to '_eglBindContext'
../../../../src/egl/main/eglcontext.h:95: error: undefined reference to
'_eglPutResource'
../../../../src/egl/main/eglsurface.h:118: error: undefined reference to
'_eglPutResource'
common/egl_g3d_api.c:531: error: undefined reference to '_eglBindContext'
common/egl_g3d_api.c:823: error: undefined reference to
'_eglInitDriverFallbacks'
common/egl_g3d_api.c:103: error: undefined reference to '_eglCompareConfigs'
common/egl_g3d_api.c:117: error: undefined reference to '_eglMatchConfig'
cmklib: Making Linux shared library:  egl_gallium.so
/usr/bin/ld: error: cannot open ../../../../x86_64-linux-gnu/libEGL.so: No such
file or directory
egl.c:98: error: undefined reference to '_eglLog'
egl.c:150: error: undefined reference to '_eglLog'
egl.c:150: error: undefined reference to '_eglLog'
egl.c:78: error: undefined reference to '_eglLog'
egl_st.c:79: error: undefined reference to '_eglSearchPathForEach'
common/egl_g3d.c:469: error: undefined reference to
'_eglReleaseDisplayResources'
common/egl_g3d.c:472: error: undefined reference to '_eglDestroyArray'
common/egl_g3d.c:476: error: undefined reference to '_eglDestroyArray'
common/egl_g3d.c:480: error: undefined reference to '_eglCleanupDisplay'
common/egl_g3d.c:186: error: undefined reference to '_eglInitScreen'
common/egl_g3d.c:203: error: undefined reference to '_eglLinkScreen'
common/egl_g3d.c:526: error: undefined reference to '_eglError'
common/egl_g3d.c:581: error: undefined reference to '_eglError'
common/egl_g3d.c:510: error: undefined reference to '_eglError'
common/egl_g3d.c:429: error: undefined reference to '_eglInitConfig'
common/egl_g3d.c:307: error: undefined reference to '_eglValidateConfig'
common/egl_g3d.c:437: error: undefined reference to '_eglLinkConfig'
common/egl_g3d.c:521: error: undefined reference to '_eglError'
../../../../src/egl/main/eglimage.h:127: error: undefined reference to
'_eglCheckResource'
common/egl_g3d_api.c:639: error: undefined reference to '_eglGetAPIContext'
common/egl_g3d_api.c:584: error: undefined reference to '_eglGetCurrentContext'
common/egl_g3d_api.c:126: error: undefined reference to
'_eglParseConfigAttribList'
common/egl_g3d_api.c:140: error: undefined reference to '_eglFilterConfigArray'
common/egl_g3d_api.c:254: error: undefined reference to '_eglInitSurface'
common/egl_g3d_api.c:353: error: undefined reference to '_eglInitSurface'
common/egl_g3d_api.c:706: error: undefined reference to '_eglGetAPIContext'
common/egl_g3d_api.c:619: error: undefined reference to '_eglGetCurrentContext'
common/egl_g3d_api.c:552: error: undefined reference to '_eglGetCurrentContext'
../../../../src/egl/main/eglcontext.h:95: error: undefined reference to
'_eglPutResource'
common/egl_g3d_api.c:160: error: undefined reference to '_eglInitContext'
../../../../src/egl/main/eglsurface.h:118: error: undefined reference to
'_eglPutResource'
common/egl_g3d_api.c:493: error: undefined reference to '_eglBindContext'
../../../../src/egl/main/eglcontext.h:95: error: undefined reference to
'_eglPutResource'
../../../../src/egl/main/eglsurface.h:118: error: undefined reference to
'_eglPutResource'
common/egl_g3d_api.c:531: error: undefined reference to '_eglBindContext'
common/egl_g3d_api.c:823: error: undefined reference to
'_eglInitDriverFallbacks'
common/egl_g3d_api.c:103: error: undefined reference to '_eglCompareConfigs'
common/egl_g3d_api.c:117: error: undefined reference to '_eglMatchConfig'
common/egl_g3d_sync.c:157: error: undefined reference to
'_eglGetCurrentContext'
common/egl_g3d_sync.c:172: error: undefined reference to '_eglInitSync'
../../../../src/egl/main/eglsync.h:71: error: undefined reference to
'_eglGetResource'
common/egl_g3d_image.c:220: error: undefined reference to '_eglInitImage'
common/egl_g3d_image.c:144: error: undefined reference to
'_eglParseImageAttribList'
common/egl_g3d_image.c:297: error: undefined reference to '_eglInitImage'
common/egl_g3d_image.c:76: error: undefined reference to
'_eglParseImageAttribList'
collect2: ld returned 1 exit status
mklib: Installing egl_gallium.so in ../../../../x86_64-linux-gnu/egl
mv: cannot stat `egl_gallium.so': No such file or directory
make[3]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/targets/egl-static'
make[2]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/targets'
make[1]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src'
ommon/egl_g3d_sync.c:157: error: undefined reference to '_eglGetCurrentContext'
common/egl_g3d_sync.c:172: error: undefined reference to '_eglInitSync'
../../../../src/egl/main/eglsync.h:71: error: undefined reference to
'_eglGetResource'
common/egl_g3d_image.c:220: error: undefined reference to '_eglInitImage'
common/egl_g3d_image.c:144: error: undefined reference to
'_eglParseImageAttribList'
common/egl_g3d_image.c:297: error: undefined reference to '_eglInitImage'
common/egl_g3d_image.c:76: error: undefined reference to
'_eglParseImageAttribList'
collect2: ld returned 1 exit status
mklib: Installing egl_gallium.so in ../../../../x86_64-linux-gnu/egl
mv: cannot stat `egl_gallium.so': No such file or directory
make[3]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/targets/egl-static'
make[2]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/targets'
make[1]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src'
---
The configuration shows:
        EGL:             yes
        EGL platforms:   x11
        EGL drivers:     builtin:egl_glx builtin:egl_dri2 egl_gallium
        EGL Gallium STs: $(VG_LIB) $(GL_LIB)
---

-- 
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