Summary: | libxcb 1.8 doesn't build/install on Solaris 10 and 11. xcb_str_sizeof undefined | ||
---|---|---|---|
Product: | XCB | Reporter: | mark |
Component: | Library | Assignee: | xcb mailing list dummy <xcb> |
Status: | RESOLVED WORKSFORME | QA Contact: | xcb mailing list dummy <xcb> |
Severity: | major | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Solaris | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
mark
2012-04-09 17:43:46 UTC
Strange, I don't remember ever seeing that when building xcb on Solaris 11, which I do regularly. This appears to be caused by your custom libtool translating "libxcb.la" into -lxcb and linking against the previously installed libxcb.so instead of the one you just built in the same directory, which has the xcb_str_sizeof symbol in it. I'll pay that :) Oh, and just for comparison, this is the output of the link line in my build: /bin/sh ../libtool --tag=CC --mode=link cc -v -I/usr/X11R7/include -I/usr/X11R7/include -v -xildoff -features=extensions -xF=%all -xO4 -xbuiltin=%none -xlibmil -m64 -version-info 0:0:0 -no-undefined -z lazyload -M /usr/lib/ld/map.pagealign -z guidance -L/net/also.us.oracle.com/export/alanc/X.Org/amd64/install/usr/X11R7/lib -R/usr/X11R7/lib -R/usr/lib/64 -L/usr/sfw/lib//64 -R/usr/sfw/lib//64 -o libxcb-render.la -rpath /usr/X11R7/lib render.lo libxcb.la -lsocket libtool: link: cc -G -z defs -h libxcb-render.so.0 -o .libs/libxcb-render.so.0.0.0 .libs/render.o -R/export/alanc/X.Org/amd64/xcb/libxcb/src/.libs -R/usr/X11R7/lib -R/usr/lib/64 -R/usr/sfw/lib//64 -L/net/also.us.oracle.com/export/alanc/X.Org/amd64/install/usr/X11R7/lib -L/usr/sfw/lib//64 ./.libs/libxcb.so -L/usr/X11R7/lib -lXau -lXdmcp -lsocket -lc -m64 Note that "libxcb.la" was translated into "./.libs/libxcb.so", not -lxcb using the -L/-R paths. (And yes, this is my private test build, which is why I haven't cleaned up the cruft like -R/export/alanc/... that's fixed in the official Solaris package builds.) Yeah removing that LIBTOOL= line solved it here as well... it's been required for other builds recently so I left it in there for this one. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.