[Mesa-dev] Can't compile Mesa with --with-gallium-drivers=radeonsi, swrast (undefined reference)

Rafał Miłecki zajec5 at gmail.com
Mon Dec 17 13:02:22 UTC 2018


Hi,

I'd like to report the master branch doesn't compile with:
--with-gallium-drivers=radeonsi,swrast

It seems there are hardcoded references to the symbols that are
available only when also compiling r300, r600 and svga.

/usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: .libs/gallium_dri_la-target.o: in function `pipe_r300_create_screen':
/home/rmilecki/mesa/src/gallium/targets/dri/../../../../src/gallium/auxiliary/target-helpers/drm_helper.h:119: undefined reference to `r300_screen_create'
/usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: .libs/gallium_dri_la-target.o: in function `pipe_r600_create_screen':
/home/rmilecki/mesa/src/gallium/targets/dri/../../../../src/gallium/auxiliary/target-helpers/drm_helper.h:144: undefined reference to `r600_screen_create'
/usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: .libs/gallium_dri_la-target.o: in function `pipe_vmwgfx_create_screen':
/home/rmilecki/mesa/src/gallium/targets/dri/../../../../src/gallium/auxiliary/target-helpers/drm_helper.h:224: undefined reference to `svga_drm_winsys_screen_create'
/usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: /home/rmilecki/mesa/src/gallium/targets/dri/../../../../src/gallium/auxiliary/target-helpers/drm_helper.h:228: undefined reference to `svga_screen_create'

If someone would care to fix that I'd appreciate it :)


More information about the mesa-dev mailing list