You are not logged in.
Pages: 1
Hey everyone,
Recently I acquired a new system and installed arch on it (as a linux-only gaming box), and built everything from the ground up using makeworld at first and then building my necessary packages (minimal X install and libs, etc). However I've run into a little problem while trying to build mesa from the main ABS tree.
Here is what happens during the compile:
make[2]: Leaving directory `/var/abs/extra/mesa/src/Mesa-7.0.3/src/glw'
make[1]: Leaving directory `/var/abs/extra/mesa/src/Mesa-7.0.3/src'
make[1]: Entering directory `/var/abs/extra/mesa/src/Mesa-7.0.3/progs'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/var/abs/extra/mesa/src/Mesa-7.0.3/progs'
gcc -march=native -mtune=generic -O2 -pipe -I/var/abs/extra/mesa/pkg/usr/include -I../../include glxinfo.c -L../../lib -L../../lib64 -lGL -lGLU -o glxinfo
gcc -march=native -mtune=generic -O2 -pipe -I/var/abs/extra/mesa/pkg/usr/include glxgears.c -lGL -o glxgears
/tmp/cc8iuPJg.o: In function `gear':
glxgears.c:(.text+0x11c): undefined reference to `sincos'
glxgears.c:(.text+0x1ed): undefined reference to `sincos'
glxgears.c:(.text+0x2b8): undefined reference to `sincos'
glxgears.c:(.text+0x2fc): undefined reference to `sincos'
glxgears.c:(.text+0x340): undefined reference to `sincos'
/tmp/cc8iuPJg.o:glxgears.c:(.text+0x384): more undefined references to `sincos' follow
/tmp/cc8iuPJg.o: In function `gear':
glxgears.c:(.text+0x735): undefined reference to `sincosf'
glxgears.c:(.text+0x757): undefined reference to `sincos'
glxgears.c:(.text+0x7e3): undefined reference to `sincos'
glxgears.c:(.text+0x8d9): undefined reference to `sincos'
glxgears.c:(.text+0x950): undefined reference to `sincos'
glxgears.c:(.text+0xaae): undefined reference to `sincosf'
glxgears.c:(.text+0xadf): undefined reference to `sincos'
collect2: ld returned 1 exit status
make: *** [glxgears] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: Build Failed.
Aborting...
I'm building mesa on a completely fresh system, and doing so exclusively using ABS/makepkg from the main abs tree - I don't know what I'm doing wrong. Your help would be appreciated
Thanks
The water never asked for a channel, and the channel never asked for water.
Offline
try adding a :
options=('!makeflags')
to the mesa PKGBUILD. That will probably fix it.
Offline
@Snowman, thanks for the response. Unfortunately, I tried your suggestion and tried to build the package from the PKGBUILD but it still does not build - it stops compiling at the very same place as it originally stopped.
The water never asked for a channel, and the channel never asked for water.
Offline
xaw, if you use ATI proprietary drivers, make this:
# pacman -Rd catalyst-utils
# pacman -S libgl
Compile the package Mesa 7.0.3, then:
# pacman -S catalyst-utils
It works!
Bruno Tsubouchi Yporti
http://yporti.archlinux-br.org/
Offline
Pages: 1