[Mesa-dev] glapi linlking broken after convert to automake
Yaroslav Andrusyak
pontostroy at gmail.com
Sat Mar 3 01:49:36 PST 2012
After e5f895485e03ac60efcb3f6f83ec1d3e33ef7ec2 i can't build mesa-git in
OBS.
%configure --prefix=/usr \
--with-gallium-drivers=r300,r600,nouveau,swrast \
--enable-gbm --enable-gallium-gbm --enable-gallium-egl
--enable-shared-glapi \
--enable-texture-float --enable-openvg \
--enable-gles1 \
--enable-gles2 \
--with-egl-platforms=x11,wayland,drm
CC eglsurface.lo
/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc
-DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\"
-DPACKAGE_VERSION=\"8.0.0\" -DPACKAGE_STRING=\"Mesa\ 8.0.0\"
-DPACKAGE_BUGREPORT=\"
https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"8.0.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DHAVE_LIBXCB_DRI2=1 -I.
-I../../../include -I../../../src/gbm/main -D_GNU_SOURCE -DPTHREADS
-DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1
-DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV
-D__STDC_CONSTANT_MACROS -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_X11
-D_EGL_DRIVER_SEARCH_DIR=\"/usr/lib/egl\" -D_EGL_OS_UNIX=1
-DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_DRM_PLATFORM
-D_EGL_BUILT_IN_DRIVER_GLX -D_EGL_BUILT_IN_DRIVER_DRI2 -DHAVE_XCB_DRI2
-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall
-std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-strict-aliasing -fno-builtin-memcmp -fomit-frame-pointer
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -g -c -o eglsurface.lo
eglsurface.c
CC eglsync.lo
/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc
-DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\"
-DPACKAGE_VERSION=\"8.0.0\" -DPACKAGE_STRING=\"Mesa\ 8.0.0\"
-DPACKAGE_BUGREPORT=\"
https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"8.0.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -DHAVE_LIBXCB_DRI2=1 -I.
-I../../../include -I../../../src/gbm/main -D_GNU_SOURCE -DPTHREADS
-DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1
-DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV
-D__STDC_CONSTANT_MACROS -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_X11
-D_EGL_DRIVER_SEARCH_DIR=\"/usr/lib/egl\" -D_EGL_OS_UNIX=1
-DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_DRM_PLATFORM
-D_EGL_BUILT_IN_DRIVER_GLX -D_EGL_BUILT_IN_DRIVER_DRI2 -DHAVE_XCB_DRI2
-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall
-std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-strict-aliasing -fno-builtin-memcmp -fomit-frame-pointer
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -g -c -o eglsync.lo eglsync.c
CCLD libEGL.la
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: cannot
find -lglapi
collect2: ld returned 1 exit status
gmake[3]: *** [libEGL.la] Error 1
gmake[3]: Leaving directory `/home/abuild/rpmbuild/BUILD/mesa/src/egl/main'
gmake[2]: *** [subdirs] Error 1
gmake[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/mesa/src/egl'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/mesa/src'
make: *** [default] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.ym9bp7 (%build)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120303/eaf62c99/attachment.htm>
More information about the mesa-dev
mailing list