Date: Sat, 20 May 2017 17:45:59 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 219420] graphics/libdrm - libcairo.so: undefined reference Message-ID: <bug-219420-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219420 Bug ID: 219420 Summary: graphics/libdrm - libcairo.so: undefined reference Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: maficccc@gmail.com Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) hello i compile libdrm as dependence for qt5 but libcairo from libdrm is undefined. FreeBSD 11.0-RELEASE-p9 FreeBSD 11.0-RELEASE-p9 #0: Tue Apr 11 08:48:40 UTC 2017=20 FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) libtool: link: cc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=3D2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -O2 -pipe -fstack-protect= or -fno-strict-aliasing -fstack-protector -o .libs/kms-steal-crtc kms-steal-cr= tc.o ./.libs/libkms-test.a /usr/ports/graphics/libdrm/work/libdrm-2.4.80/.libs/libdrm.so ../util/.libs/libutil.a -L/usr/local/lib -lcairo -lpthread -lm -pthread -Wl,-rpath -Wl,/usr/local/lib /usr/bin/ld: warning: libGL.so.1, needed by /usr/local/lib/libcairo.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libGL.so.1, needed by /usr/local/lib/libcairo.so, not found (try using -rpath or -rpath-link) /usr/local/lib/libcairo.so: undefined reference to `glXMakeCurrent' /usr/local/lib/libcairo.so: undefined reference to `glXMakeCurrent' /usr/local/lib/libcairo.so: undefined reference to `glEnable' /usr/local/lib/libcairo.so: undefined reference to `glIsEnabled' /usr/local/lib/libcairo.so: undefined reference to `glBlendFuncSeparate' /usr/local/lib/libcairo.so: undefined reference to `glDisable' /usr/local/lib/libcairo.so: undefined reference to `glClear' /usr/local/lib/libcairo.so: undefined reference to `glClearStencil' /usr/local/lib/libcairo.so: undefined reference to `glReadBuffer' /usr/local/lib/libcairo.so: undefined reference to `glXChooseFBConfig' /usr/local/lib/libcairo.so: undefined reference to `glGetError' /usr/local/lib/libcairo.so: undefined reference to `glStencilFunc' /usr/local/lib/libcairo.so: undefined reference to `glClearColor' /usr/local/lib/libcairo.so: undefined reference to `glReadPixels' /usr/local/lib/libcairo.so: undefined reference to `glDrawBuffer' /usr/local/lib/libcairo.so: undefined reference to `glActiveTexture' /usr/local/lib/libcairo.so: undefined reference to `glEnable' /usr/local/lib/libcairo.so: undefined reference to `glIsEnabled' /usr/local/lib/libcairo.so: undefined reference to `glBlendFuncSeparate' /usr/local/lib/libcairo.so: undefined reference to `glDisable' /usr/local/lib/libcairo.so: undefined reference to `glClear' /usr/local/lib/libcairo.so: undefined reference to `glClearStencil' /usr/local/lib/libcairo.so: undefined reference to `glReadBuffer' /usr/local/lib/libcairo.so: undefined reference to `glXChooseFBConfig' /usr/local/lib/libcairo.so: undefined reference to `glGetError' /usr/local/lib/libcairo.so: undefined reference to `glStencilFunc' /usr/local/lib/libcairo.so: undefined reference to `glClearColor' /usr/local/lib/libcairo.so: undefined reference to `glReadPixels' /usr/local/lib/libcairo.so: undefined reference to `glDrawBuffer' /usr/local/lib/libcairo.so: undefined reference to `glActiveTexture' /usr/local/lib/libcairo.so: undefined reference to `glXGetCurrentContext' /usr/local/lib/libcairo.so: undefined reference to `glXGetCurrentContext' /usr/local/lib/libcairo.so: undefined reference to `glXSwapBuffers' /usr/local/lib/libcairo.so: undefined reference to `glColorMask' /usr/local/lib/libcairo.so: undefined reference to `glBlendFunc' /usr/local/lib/libcairo.so: undefined reference to `glBindTexture' /usr/local/lib/libcairo.so: undefined reference to `glXGetVisualFromFBConfi= g' /usr/local/lib/libcairo.so: undefined reference to `glDepthMask' /usr/local/lib/libcairo.so: undefined reference to `glStencilOp' /usr/local/lib/libcairo.so: undefined reference to `glDeleteTextures' /usr/local/lib/libcairo.so: undefined reference to `glPixelStorei' /usr/local/lib/libcairo.so: undefined reference to `glGetIntegerv' /usr/local/lib/libcairo.so: undefined reference to `glXGetCurrentDrawable' /usr/local/lib/libcairo.so: undefined reference to `glDrawElements' /usr/local/lib/libcairo.so: undefined reference to `glTexImage2D' /usr/local/lib/libcairo.so: undefined reference to `glXSwapBuffers' /usr/local/lib/libcairo.so: undefined reference to `glColorMask' /usr/local/lib/libcairo.so: undefined reference to `glBlendFunc' /usr/local/lib/libcairo.so: undefined reference to `glBindTexture' /usr/local/lib/libcairo.so: undefined reference to `glXGetVisualFromFBConfi= g' /usr/local/lib/libcairo.so: undefined reference to `glDepthMask' /usr/local/lib/libcairo.so: undefined reference to `glStencilOp' /usr/local/lib/libcairo.so: undefined reference to `glDeleteTextures' /usr/local/lib/libcairo.so: undefined reference to `glPixelStorei' /usr/local/lib/libcairo.so: undefined reference to `glGetIntegerv' /usr/local/lib/libcairo.so: undefined reference to `glXGetCurrentDrawable' /usr/local/lib/libcairo.so: undefined reference to `glDrawElements' /usr/local/lib/libcairo.so: undefined reference to `glTexImage2D' /usr/local/lib/libcairo.so: undefined reference to `glDrawArrays' /usr/local/lib/libcairo.so: undefined reference to `glScissor' /usr/local/lib/libcairo.so: undefined reference to `glDrawArrays' /usr/local/lib/libcairo.so: undefined reference to `glScissor' /usr/local/lib/libcairo.so: undefined reference to `glTexSubImage2D' /usr/local/lib/libcairo.so: undefined reference to `glXQueryContext' /usr/local/lib/libcairo.so: undefined reference to `glGetString' /usr/local/lib/libcairo.so: undefined reference to `glXGetProcAddress' /usr/local/lib/libcairo.so: undefined reference to `glViewport' /usr/local/lib/libcairo.so: undefined reference to `glTexParameteri' /usr/local/lib/libcairo.so: undefined reference to `glGenTextures' /usr/local/lib/libcairo.so: undefined reference to `glXQueryExtensionsStrin= g' /usr/local/lib/libcairo.so: undefined reference to `glTexSubImage2D' /usr/local/lib/libcairo.so: undefined reference to `glXQueryContext' /usr/local/lib/libcairo.so: undefined reference to `glGetString' /usr/local/lib/libcairo.so: undefined reference to `glXGetProcAddress' /usr/local/lib/libcairo.so: undefined reference to `glViewport' /usr/local/lib/libcairo.so: undefined reference to `glTexParameteri' /usr/local/lib/libcairo.so: undefined reference to `glGenTextures' /usr/local/lib/libcairo.so: undefined reference to `glXQueryExtensionsStrin= g' cc: error: linker command failed with exit code 1 (use -v to see invocation) cc: error: linker command failed with exit code 1 (use -v to see invocation) --- kms-universal-planes --- *** [kms-universal-planes] Error code 1 make[5]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.80/tests/kms --- kms-steal-crtc --- *** [kms-steal-crtc] Error code 1 make[5]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.80/tests/kms 2 errors make[5]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.80/tests/kms --- all-recursive --- *** [all-recursive] Error code 1 make[4]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.80/tests 1 error make[4]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.80/tests --- all-recursive --- *** [all-recursive] Error code 1 make[3]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.80 1 error make[3]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.80 *** [all] Error code 2 make[2]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.80 1 error make[2]: stopped in /usr/ports/graphics/libdrm/work/libdrm-2.4.80 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/libdrm *** Error code 1 Stop. make: stopped in /usr/ports/graphics/libdrm =3D=3D=3D>>> make build failed for graphics/libdrm =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for libdrm-2.4.75_3,1 failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for graphics/mesa-libs failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for qt5-quick-5.7.1 failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for qt5-connectivity-5.7.1 failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for qt5-5.7.1 failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> There are messages from installed ports to display, but first take a moment to review the error messages above. Then press Enter when ready to proceed. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219420-7141>