View previous topic :: View next topic |
Author |
Message |
silwerspawn Apprentice
Joined: 01 Feb 2007 Posts: 183
|
Posted: Sat Feb 02, 2008 6:06 pm Post subject: Mesa and ati driver compile problems |
|
|
Hey
I have som problems compiling the ati-driver and the Mesa-progs.
I get this error on emerge mesa-progs
Code: |
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-apps/mesa-progs-7.0.1/work/Mesa-7.0.1 ...
i686-pc-linux-gnu-gcc -I../../include -Wall -Wmissing-prototypes -std=c99 -ffast-math -march=pentium-m -O2 -pipe -fomit-frame-pointer -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM glxinfo.c -L../../lib -lglut -lGLU -lGL -lm -o glxinfo
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [glxinfo] Error 1
*
* ERROR: x11-apps/mesa-progs-7.0.1 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* mesa-progs-7.0.1.ebuild, line 68: Called die
* The specific snippet of code:
* emake glxinfo || die "glxinfo failed"
* The die message:
* glxinfo failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-apps/mesa-progs-7.0.1/temp/build.log'.
*
|
and on the ati-driver i get:
Code: |
/var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:484: warning: 'firegl_smp_func_parameter_wrap' defined but not used
LD [M] /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo'
* Building fgl_glxgears
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
*
* ERROR: x11-drivers/ati-drivers-8.40.4 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ati-drivers-8.40.4.ebuild, line 189: 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 || die "fgl_glxgears build failed"
* The die message:
* fgl_glxgears build failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.40.4/temp/build.log'.
*
|
i think it is my GCC thats the problem but it does not help to re-emerge it |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23082
|
Posted: Sat Feb 02, 2008 8:52 pm Post subject: |
|
|
What is the output of ls -l /usr/lib/libGL* ; eselect opengl list ; emerge --info? |
|
Back to top |
|
|
silwerspawn Apprentice
Joined: 01 Feb 2007 Posts: 183
|
Posted: Sat Feb 02, 2008 10:05 pm Post subject: |
|
|
this is what i get:
Code: |
localhost spawn # ls -l /usr/lib/libGL* ; eselect opengl list ; emerge --info
-rw-r--r-- 1 root root 743 Feb 2 06:06 /usr/lib/libGL.la
lrwxrwxrwx 1 root root 26 Feb 2 04:50 /usr/lib/libGL.so.1 -> /usr/lib/xorg/libGL.so.1.2
-rw-r--r-- 1 root root 752 Jan 30 04:30 /usr/lib/libGLU.la
lrwxrwxrwx 1 root root 11 Jan 30 04:30 /usr/lib/libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root 20 Jan 30 04:30 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.060502
lrwxrwxrwx 1 root root 20 Jan 30 04:30 /usr/lib/libGLU.so.1.3 -> libGLU.so.1.3.060502
-rwxr-xr-x 1 root root 538196 Jan 30 04:30 /usr/lib/libGLU.so.1.3.060502
lrwxrwxrwx 1 root root 11 Jan 30 04:30 /usr/lib/libGLw.so -> libGLw.so.1
lrwxrwxrwx 1 root root 15 Jan 30 04:30 /usr/lib/libGLw.so.1 -> libGLw.so.1.0.0
lrwxrwxrwx 1 root root 15 Jan 30 04:30 /usr/lib/libGLw.so.1.0 -> libGLw.so.1.0.0
-rwxr-xr-x 1 root root 10572 Jan 30 04:30 /usr/lib/libGLw.so.1.0.0
Available OpenGL implementations:
[1] xorg-x11 *
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.6.1-r0, 2.6.24-gentoo i686)
=================================================================
System uname: 2.6.24-gentoo i686 Intel(R) Pentium(R) M processor 2.13GHz
Timestamp of tree: Thu, 31 Jan 2008 23:30:01 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo/"
LANG="C"
MAKEOPTS="-j11"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib accessibility acl acpi adns aim alsa amr arts async audacious automount bash-completion berkdb bidi bindist bitmap-fonts bl bluetooth bzip2 bzlib cairo calendar caps cdb cddb cdio cdr cli cracklib crypt ctype cups curld dbus deprecated dga directfb divx dparanoia dri dts dv dvb dvd dvdr dvdread edl encode exif fam fbcon ffmpeg fftw firefox flac fluxbox foomaticdb fortran freetype ftp gcj gd gdbm ggi gif gimp ginac glib glut gpm gstreamer gtk gtkhtml hal hddtemp iconv icq ieee1394 imagemagick imap imlib ipod ipv6 isdnlog jabber jack java javascript jbig jpeg jpeg2k kde lame latex ldap libcaca libvisual libwww lirc live lzo mad matroska midi mmx mmxext mozdom mp2 mp3 mpd mpeg mpi msn mudflap mysql mythtv nas ncurses network nls nptl nptlonly objc objc++ objc-gc ogg opengl openmp pache2 pam pcmcia pcre pda pdf perl php png posix pppd python qt3 qt4 quicktime radius rar raw rdesktop readline real reflection regex replytolist rss rtc ruby samba scanner sdl session sharedext smartcard snmp sox spell spl sse ssl svga szip taglib tcpd teletext tetex tga theora threads tidy tiff timidity tk tokenizer truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vidix vnc vorbis wavpack wifi win32codecs winbind wxwindows x264 x86 xanim xine xinerama xml xmlrpc xorg xpm xprint xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
I also get the -lGL error on swt if that helps |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|