Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem compiling beryl
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Dreidy
n00b
n00b


Joined: 30 Jul 2006
Posts: 3

PostPosted: Wed Nov 22, 2006 11:17 am    Post subject: Problem compiling beryl Reply with quote

Hi! after hours looking for a solution I can't compile beryl on my computer.

I have the lastest xorg-server (x11-base/xorg-server-1.1.1-r2) installed with aiglx support and lastest fglrx drivers on my amd64 machine.


/etc/make.conf
Code:
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="fglrx"
ALSA_CARDS="emu10k1"
LINGUAS="es"
CFLAGS="-march=k8 -O2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="amd64 xvid dri kde dvd css nls spell vorbis ogg opengl xv mp3 noamazon alsa v4l ffmpeg glitz cairo fglrx dga matroska skins truetype dts hal xosd wxwindows unicode aiglx"


$emerge beryl
[...]
Code:
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=k8 -O2 -msse3 -pipe -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing   -o beryl-xgl -export-dynamic main.o privates.o texture.o display.o screen.o window.o event.o paint.o option.o plugin.o readpng.o session.o screen_options.o display_options.o type_mask.o ipcs.o -lpng12 -lz -lm -lXcomposite -lXdamage -lXfixes -lXrandr -lSM -lICE -lXinerama -lstartup-notification-1   ../mesa/lib/libGL.a -lm
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -msse3 -pipe -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -o beryl-xgl main.o privates.o texture.o display.o screen.o window.o event.o paint.o option.o plugin.o readpng.o session.o screen_options.o display_options.o type_mask.o ipcs.o -Wl,--export-dynamic  -lpng12 -lz /usr/lib64/libXcomposite.so /usr/lib64/libXdamage.so /usr/lib64/libXfixes.so /usr/lib64/libXrandr.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libXinerama.so /usr/lib64/libstartup-notification-1.so ../mesa/lib/libGL.a -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `../mesa/lib/libGL.a(dispatch.o)' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `../mesa/lib/libGL.a(glapi.o)' is incompatible with i386:x86-64 output
../mesa/lib/libGL.a(glapi.o): In function `_glapi_add_dispatch':
glapi.c:(.text+0x10891): undefined reference to `__stack_chk_fail_local'
collect2: ld returned 1 exit status
make[2]: *** [beryl-xgl] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-wm/beryl-core-0.1.2/work/beryl-core-0.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-wm/beryl-core-0.1.2/work/beryl-core-0.1.2'
make: *** [all] Error 2

!!! ERROR: x11-wm/beryl-core-0.1.2 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  beryl-core-0.1.2.ebuild, line 35:   Called die

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


it's a knowed problem? somebody get this error ?

Thank you for your help!

PD: sorry for my english :oops:
Back to top
View user's profile Send private message
Rajish
n00b
n00b


Joined: 23 Nov 2004
Posts: 14
Location: Poland

PostPosted: Wed Nov 22, 2006 12:08 pm    Post subject: Reply with quote

See https://forums.gentoo.org/viewtopic-t-517018.html
Back to top
View user's profile Send private message
Dreidy
n00b
n00b


Joined: 30 Jul 2006
Posts: 3

PostPosted: Wed Nov 22, 2006 2:00 pm    Post subject: Reply with quote

It works now, thank you :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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