Matej Urbas wrote:
> Hi,
>
> I am trying to build mesa. I did this:
>
> ./autogen.sh
> gmake
>
> All dependencies are satisfied and 'autoreconf' passes without
> complaints.
>
> However, I get the following build-time error:
>
> mklib: Making Linux shared library: i810_dri.so.tmp
> gcc -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math
> -fvisibility=hidden -fno-strict-aliasing -fPIC -DUSE_X86_ASM
> -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
> -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1
> -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING
> -DHAVE_ALIAS -DFEATURE_GL=1 -o
> i810_dri.so.test ../../../../../src/mesa/drivers/dri/common/dri_test.o i810_dri.so.tmp -ldrm -lexpat -lm -lpthread -ldl
> i810_dri.so.tmp: undefined reference to `sl_pp_version'
> i810_dri.so.tmp: undefined reference to `sl_pp_context_destroy'
> i810_dri.so.tmp: undefined reference to `sl_cl_compile'
> i810_dri.so.tmp: undefined reference to `sl_pp_context_create'
> i810_dri.so.tmp: undefined reference to
> `sl_pp_context_error_message'
> i810_dri.so.tmp: undefined reference to
> `sl_pp_context_add_extension'
> collect2: ld returned 1 exit status
> gmake[6]: *** [i810_dri.so] Error 1
> gmake[6]: Leaving directory
> `myfolder/mesa/src/mesa/drivers/dri/i810'
> gmake[5]: *** [lib] Error 2
> gmake[5]: Leaving directory
> `myfolder/mesa/src/mesa/drivers/dri/i810'
> gmake[4]: *** [subdirs] Error 1
> gmake[4]: Leaving directory `myfolder/mesa/src/mesa/drivers/dri'
> gmake[3]: *** [default] Error 1
> gmake[3]: Leaving directory `myfolder/mesa/src/mesa/drivers'
> gmake[2]: *** [driver_subdirs] Error 2
> gmake[2]: Leaving directory `myfolder/mesa/src/mesa'
> gmake[1]: *** [subdirs] Error 1
> gmake[1]: Leaving directory `myfolder/mesa/src'
> gmake: *** [default] Error 1
>
> Could I please ask you for some info on how to alleviate the problem?
Nobody else has reported this, AFAIK. Did you try a 'make clean' first?
-Brian
|