can't compile on gentoo
I can't compile the last drivers on gentoo amd64.
I'm using the official ebuild in portage.
In particular I get this error building fgl_glxgears:
Any ideas?
I can't compile the last drivers on gentoo amd64.
I'm using the official ebuild in portage.
In particular I get this error building fgl_glxgears:
Code:
Building modules, stage 2. MODPOST 1 modules CC /var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o LD [M] /var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko make[1]: Leaving directory `/usr/src/linux-2.6.23-gentoo-r2' * Building fgl_glxgears /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL collect2: ld returned 1 exit status * * ERROR: x11-drivers/ati-drivers-8.433 failed. * Call stack: * ebuild.sh, line 1762: Called dyn_compile * ebuild.sh, line 891: Called qa_call 'src_compile' * ebuild.sh, line 35: Called src_compile * environment, line 3259: Called die * The specific snippet of code: * "$(tc-getCC)" -o fgl_fglxgears ${CFLAGS} ${LDFLAGS} -DUSE_GLU -I"${S}"/common/usr/include fgl_glxgears.c -lGL -lGLU -lX11 -lm || diefunc "$FUNCNAME" "$LINENO" "$?" "fgl_glxgears build failed"; * The die message: * fgl_glxgears build failed
Comment