[Mesa-dev] radeon fail to link to libdricore

Laurent Carlier lordheavym at gmail.com
Mon Jul 16 13:18:55 PDT 2012


mesa from git/x86_64;
with the following install script:

make -C src/mesa/drivers/dri/radeon DESTDIR="${pkgdir}" install
make -C src/mesa/drivers/dri/r200 DESTDIR="${pkgdir}" install
# gallium3D driver for r300,r600
make -C src/gallium/targets/dri-r300 DESTDIR="${pkgdir}" install
make -C src/gallium/targets/dri-r600 DESTDIR="${pkgdir}" install

Produce:

---8<---
make: Entering directory `/build/src/mesa-git/src/mesa/drivers/dri/radeon'
/bin/mkdir -p ../../../../../lib;
ln -f .libs/radeon_dri.so ../../../../../lib/radeon_dri.so;
make[1]: Entering directory `/build/src/mesa-git/src/mesa/drivers/dri/radeon'
make[1]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/build/pkg/ati-dri-git/usr/lib/xorg/modules/dri'
 /bin/sh ../../../../../libtool   --mode=install /usr/bin/install -c   
radeon_dri.la '/build/pkg/ati-dri-git/usr/lib/xorg/modules/dri'
libtool: install: warning: relinking `radeon_dri.la'
libtool: install: (cd /build/src/mesa-git/src/mesa/drivers/dri/radeon; /bin/sh 
/build/src/mesa-git/libtool  --silent --tag CC --mode=relink gcc -DRADEON_R100 
-I../../../../../include -I../../../../../src/ -I../../../../../src/mapi -
I../../../../../src/mesa/ -I../../../../../src/mesa/drivers/dri/common -
I../../../../../src/mesa/drivers/dri/radeon/server -D_GNU_SOURCE -DPTHREADS -
DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER 
-DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -
DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -
DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0301 -DFEATURE_GL=1 -DFEATURE_ES1=1 
-DFEATURE_ES2=1 -I/usr/include/libdrm -march=x86-64 -mtune=generic -O2 -pipe -
fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -std=c99 
-Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-
aliasing -fno-builtin-memcmp -march=x86-64 -mtune=generic -O2 -pipe -fstack-
protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -module -avoid-version 
-shared -Wl,-O1,--sort-common,--as-needed,-z,relro -o radeon_dri.la -rpath 
/usr/lib/xorg/modules/dri radeon_buffer_objects.lo radeon_common_context.lo 
radeon_common.lo radeon_dma.lo radeon_debug.lo radeon_fbo.lo radeon_fog.lo 
radeon_mipmap_tree.lo radeon_pixel_read.lo radeon_queryobj.lo radeon_span.lo 
radeon_texture.lo radeon_tex_copy.lo radeon_tile.lo radeon_context.lo 
radeon_ioctl.lo radeon_screen.lo radeon_state.lo radeon_state_init.lo 
radeon_tex.lo radeon_texstate.lo radeon_tcl.lo radeon_swtcl.lo radeon_maos.lo 
radeon_sanity.lo radeon_blit.lo 
../../../../../src/mesa/libdricore/libdricore8.1.0.la -ldrm -lexpat -lm -
lpthread -ldl -ldrm_radeon ../common/libdricommon.la -inst-prefix-dir 
/build/pkg/ati-dri-git)
/usr/bin/ld: cannot find -ldricore8.1.0
collect2: error: ld returned 1 exit status
libtool: install: error: relink `radeon_dri.la' with the above command before 
installing it
make[1]: *** [install-driLTLIBRARIES] Error 1
make[1]: Leaving directory `/build/src/mesa-git/src/mesa/drivers/dri/radeon'
make: *** [install-am] Error 2
make: Leaving directory `/build/src/mesa-git/src/mesa/drivers/dri/radeon'
---8<---

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120716/67c995d7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120716/67c995d7/attachment-0001.pgp>


More information about the mesa-dev mailing list