Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kompilierprobs bei xorg-x11
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
_Poseidon_
n00b
n00b


Joined: 31 Aug 2006
Posts: 44

PostPosted: Thu Dec 14, 2006 12:29 pm    Post subject: Kompilierprobs bei xorg-x11 Reply with quote

also ich will
Code:


dimension5150 sven # emerge -av xorg-x11

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-libs/freeglut-2.4.0-r1  0 kB
[ebuild  N    ] x11-apps/mesa-progs-6.5  0 kB
[ebuild  N    ] x11-apps/xmodmap-1.0.2  USE="-debug" 93 kB
[ebuild  N    ] media-fonts/font-bh-type1-1.0.0  USE="X" 563 kB
[ebuild  N    ] x11-libs/libXcomposite-0.3.1  USE="-debug" 216 kB
[ebuild  N    ] x11-base/xorg-x11-7.1  0 kB

Total: 6 packages (6 new), Size of downloads: 871 kB

Would you like to merge these packages? [Yes/No] y


dann kommt der fehler:
Code:

In file included from ../include/GL/freeglut.h:17,
                 from freeglut_callbacks.c:28:
../include/GL/freeglut_std.h:114:19: error: GL/gl.h: No such file or directory
In file included from ../include/GL/freeglut_std.h:115,
                 from ../include/GL/freeglut.h:17,
                 from freeglut_callbacks.c:28:
/usr/include/GL/glu.h:280: error: expected '=', ',', ';', 'asm' or '__attribute_
_' before 'gluBuild1DMipmapLevels'
/usr/include/GL/glu.h:281: error: expected '=', ',', ';', 'asm' or '__attribute_
_' before 'gluBuild1DMipmaps'
/usr/include/GL/glu.h:282: error: expected '=', ',', ';', 'asm' or '__attribute_
_' before 'gluBuild2DMipmapLevels'
/usr/include/GL/glu.h:283: error: expected '=', ',', ';', 'asm' or '__attribute_
_' before 'gluBuild2DMipmaps'
/usr/include/GL/glu.h:284: error: expected '=', ',', ';', 'asm' or '__attribute_
_' before 'gluBuild3DMipmapLevels'
/usr/include/GL/glu.h:285: error: expected '=', ',', ';', 'asm' or '__attribute_
_' before 'gluBuild3DMipmaps'
/usr/include/GL/glu.h:286: error: expected '=', ',', ';', 'asm' or '__attribute_
_' before 'gluCheckExtension'
/usr/include/GL/glu.h:287: error: expected declaration specifiers or '...' befor
e 'GLdouble'
/usr/include/GL/glu.h:287: error: expected declaration specifiers or '...' befor
e 'GLdouble'
/usr/include/GL/glu.h:287: error: expected declaration specifiers or '...' befor



[b]davon kommen noch viele weitere fehler....[/b]

freeglut_cursor.c: In function 'fgSetCursor':
freeglut_cursor.c:213: error: 'SFG_WindowState' has no member named 'Cursor'
freeglut_cursor.c: In function 'glutSetCursor':
freeglut_cursor.c:223: error: 'SFG_State' has no member named 'Initialised'
freeglut_cursor.c: In function 'glutWarpPointer':
freeglut_cursor.c:234: error: 'SFG_State' has no member named 'Initialised'
make[2]: *** [libglut_la-freeglut_cursor.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/f                                                                                                  reeglut-2.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/f                                                                                                  reeglut-2.4.0'
make: *** [all] Error 2

!!! ERROR: media-libs/freeglut-2.4.0-r1 failed.
Call stack:
  ebuild.sh, line 1576:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  ebuild.sh, line 609:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if rel                                                                                                  evant.


woran könnte das liegen??

selbst wenn ich alternativ glut nehme bekomme ich nen fehler

Code:

emerge -av media-libs/glut

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-libs/glut-3.7.1  0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y


der fehler:
Code:

/bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -O2 -march=pentium4 -pipe -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -version-info 10:1:7 -L../si-glu  -o libglut.la -rpath /usr/lib glut_8x13.lo glut_9x15.lo glut_bitmap.lo glut_bwidth.lo glut_cindex.lo glut_cmap.lo glut_cursor.lo glut_dials.lo glut_dstr.lo glut_event.lo glut_ext.lo glut_fbc.lo glut_fullscrn.lo glut_gamemode.lo glut_get.lo glut_glxext.lo glut_hel10.lo glut_hel12.lo glut_hel18.lo glut_init.lo glut_input.lo glut_joy.lo glut_key.lo glut_keyctrl.lo glut_keyup.lo glut_menu.lo glut_menu2.lo glut_mesa.lo glut_modifier.lo glut_mroman.lo glut_overlay.lo glut_roman.lo glut_shapes.lo glut_space.lo glut_stroke.lo glut_swap.lo glut_swidth.lo glut_tablet.lo glut_teapot.lo glut_tr10.lo glut_tr24.lo glut_util.lo glut_vidresize.lo glut_warp.lo glut_win.lo glut_winmisc.lo layerutil.lo -lGLU  -lSM -lICE -lXmu -lXext -lXi -lX11
i686-pc-linux-gnu-gcc -shared  .libs/glut_8x13.o .libs/glut_9x15.o .libs/glut_bitmap.o .libs/glut_bwidth.o .libs/glut_cindex.o .libs/glut_cmap.o .libs/glut_cursor.o .libs/glut_dials.o .libs/glut_dstr.o .libs/glut_event.o .libs/glut_ext.o .libs/glut_fbc.o .libs/glut_fullscrn.o .libs/glut_gamemode.o .libs/glut_get.o .libs/glut_glxext.o .libs/glut_hel10.o .libs/glut_hel12.o .libs/glut_hel18.o .libs/glut_init.o .libs/glut_input.o .libs/glut_joy.o .libs/glut_key.o .libs/glut_keyctrl.o .libs/glut_keyup.o .libs/glut_menu.o .libs/glut_menu2.o .libs/glut_mesa.o .libs/glut_modifier.o .libs/glut_mroman.o .libs/glut_overlay.o .libs/glut_roman.o .libs/glut_shapes.o .libs/glut_space.o .libs/glut_stroke.o .libs/glut_swap.o .libs/glut_swidth.o .libs/glut_tablet.o .libs/glut_teapot.o .libs/glut_tr10.o .libs/glut_tr24.o .libs/glut_util.o .libs/glut_vidresize.o .libs/glut_warp.o .libs/glut_win.o .libs/glut_winmisc.o .libs/layerutil.o  -L/var/tmp/portage/media-libs/glut-3.7.1/work/Mesa-5.0/si-glu -lGLU /usr/lib/libSM.so -L/usr/lib /usr/lib/libICE.so /usr/lib/libXmu.so /usr/lib/libXext.so /usr/lib/libXi.so /usr/lib/libX11.so  -march=pentium4 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -Wl,-soname -Wl,libglut.so.3 -o .libs/libglut.so.3.7.1
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
make: *** [libglut.la] Error 1

!!! ERROR: media-libs/glut-3.7.1 failed.
Call stack:
  ebuild.sh, line 1576:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  glut-3.7.1.ebuild, line 48:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


mhhh sehr komisch...ich kann leider nix mit anfangen und googlen brauchte erstma auch nix...

gruß sven
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Thu Dec 14, 2006 5:12 pm    Post subject: Reply with quote

Code:
emerge --info
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Thu Dec 14, 2006 5:12 pm    Post subject: Reply with quote

Hast du gcc ubgedatet und da evtl Fehler gemacht?
Geh nochmal den Upgrade Guide durch.

Mach vorher ein: eselect opengl set xorg-x11

Und installier es dann nochmal.

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
_Poseidon_
n00b
n00b


Joined: 31 Aug 2006
Posts: 44

PostPosted: Fri Dec 15, 2006 3:24 pm    Post subject: Reply with quote

emerge --info
Code:

ortage 2.1.2_rc3-r4 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.7
Last Sync: Wed, 13 Dec 2006 12:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ "
LINGUAS="de"
MAKEOPTS="-j2"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dfx X a52 aac acpi alsa apm ati berkdb bitmap-fonts bzip2 cdinstall cdparamoia cdr cli cracklib crypt cups dlloader dri dvd dvdr elibc_glibc encode fbcon fglrx fortran ftp gdbm gpm gtk gtk2 hal iconv icq icw ieee1394 input_devices_elo2300 input_devices_fglrx input_devices_kdb input_devices_keyboard input_devices_magellan input_devices_microtouch input_devices_mouse input_devices_spaceorb input_devices_vga ipv6 isdnlog java javaskript jpeg jpeg2k kde kernel_linux libg++ linguas_de mozilla mpeg mplayer msn ncurses nls nptl nptlonly opengl oss pam pcre pdf perl ppds pppd python qt3 radeon readline reflection session smardcard source spl ssl tcpd truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_radeon video_cards_vesa win32codecs xml xorg xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Ich habe ein Kompilerupdate von 3.4 auf 4.1 gemacht da ich jetzt auf den instabilen Zweig gewechselt bin...dazu habe ich das HowTo benutzt:
http://www.gentoo.org/doc/de/gcc-upgrading.xml

ich habe die Schritte nochmal wiederholt und bin grad dabei ein
Code:
emerge -eav world

zu machen..
aber ich denke wenn er an das Glut Paket kommt wird er wieder abbrechen...Nach emerge -eav system funktionierte dieses Paket immer noch nicht!

Gruß Sven

EDIT:

Ach nochwas nur so zur Info: Wenn ich mein System neu machen will also nur alle Programme entfernen und wieder neu mit xorg anfange...wie mach ich das?
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Fri Dec 15, 2006 4:05 pm    Post subject: Reply with quote

Keine gute Idee:
den instabilen Zweig zu verwenden.
Besser ACCEPT_KEYWORDS="x86" setzen.

Da hat man dann ein stabil laufendes System.

Quote:
Ach nochwas nur so zur Info: Wenn ich mein System neu machen will also nur alle Programme entfernen und wieder neu mit xorg anfange...wie mach ich das?


Ich verstehe die Frage nicht. Alle Programme des Betriebssystems kann man gar nicht entfernen. Da läuft dann das Betriebssystem nicht mehr.
Wenn das so gemeint ist, daß nur das Basisbetriebssystem übrig bleiben soll, dann eben emerge --unmerge "Desktop" xorg.
Dann emerge --depclean ausführen und dann revdep-rebuild.
Back to top
View user's profile Send private message
_Poseidon_
n00b
n00b


Joined: 31 Aug 2006
Posts: 44

PostPosted: Sat Dec 16, 2006 12:55 pm    Post subject: Reply with quote

Wieso keine gute Idee....mehrere Kollegen fahren auch den instabilen Zwerg, ohne Probleme!

Habe das Kompilerupdate nochmal versucht...

emerge -ave system lief noch ohne probleme, aber beim world update gabs wieder den gleichen fehler beim freeglut update...und jetzt?

Woran könnte es noch liegen?

gruß Sven
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Sun Dec 17, 2006 7:22 am    Post subject: Reply with quote

Wozu gibt es ECC RAM?
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Sun Dec 17, 2006 9:00 am    Post subject: Reply with quote

Keruskerfuerst wrote:
Wozu gibt es ECC RAM?


Was hat die Frage mit einer möglichen Lösung für das Problem zu tun?
Bin grad aufgeschmissen ;)

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Sun Dec 17, 2006 10:41 am    Post subject: Reply with quote

Die Strukturbreite der RAM ist heutzutage so klein, daß auf eine DRAM-Speicherzelle (=basierend auf einem Kondensator) gerade ein Elektron (1,6*10E-19 C) paßt.

Durch geladene Teilchen werden die Speicherzellen umgeladen. ECC kompensiert diese Fehler.

8)
Back to top
View user's profile Send private message
astaecker
Guru
Guru


Joined: 28 Apr 2003
Posts: 403
Location: Hamburg / Germany

PostPosted: Sun Dec 17, 2006 10:50 am    Post subject: Reply with quote

Keruskerfuerst wrote:
... ECC kompensiert diese Fehler.

Und, was hat dies mit der Lösung des Problemes zu tun? Der Fehler bei freeglut wird scheinbar nicht durch einen Hardwarefehler herbeigeführt.
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Sun Dec 17, 2006 12:48 pm    Post subject: Reply with quote

Ich hatte schon oft mit MAKEOPTS="-j2" Probleme beim kompilieren.
Mal probeweise MAKEOPTS="-j1" setzen.

Ich hatte erst kürzlich auch Speicherzugriffsfehler beim Kompilieren von alsa-libs.
Mit emerge --resume dann den Kompiliervorgang mit demselben Paket neu gestartet und dann gab es keinen Fehler.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
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