Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[XGL] ERROR emerge compiz
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Goldenice
n00b
n00b


Joined: 08 Mar 2005
Posts: 9

PostPosted: Fri Mar 31, 2006 12:06 am    Post subject: [XGL] ERROR emerge compiz Reply with quote

Hi everyone, and first of all sorry for my bad english.

I have searched in the forum about compiz and xgl but all problems were in executing time not in compiling time so I couldn't find anything useful.

I have followed de wiki to get XGL and is in the last emerge where i've got problems. The wiki says that compiz has to be compiled with CFLAGS="-march=k8 -O0" so I have edited my make.conf and then emerge compiz.

That is what I get:

Code:
blur.c:23:27: compiz/compiz.h: No such file or directory
blur.c:63: error: parse error before "blurInit"
blur.c:63: error: parse error before '*' token
blur.c:63: warning: type defaults to `int' in declaration of `blurInit'
blur.c:63: warning: function declaration isn't a prototype
blur.c:63: warning: data definition has no type or storage class
blur.c:64: error: parse error before '*' token
blur.c:64: warning: function declaration isn't a prototype
blur.c:65: error: parse error before "blurInitDisplay"
blur.c:65: error: parse error before '*' token
blur.c:66: warning: type defaults to `int' in declaration of `blurInitDisplay'
blur.c:66: warning: function declaration isn't a prototype
blur.c:66: warning: data definition has no type or storage class
blur.c:67: error: parse error before '*' token
blur.c:68: warning: function declaration isn't a prototype
blur.c:69: error: parse error before "blurInitScreen"
blur.c:69: error: parse error before '*' token
blur.c:70: warning: type defaults to `int' in declaration of `blurInitScreen'
blur.c:70: warning: function declaration isn't a prototype
blur.c:70: warning: data definition has no type or storage class
blur.c:71: error: parse error before '*' token
blur.c:72: warning: function declaration isn't a prototype
blur.c:73: error: parse error before "blurInitWindow"
blur.c:73: error: parse error before '*' token
blur.c:74: warning: type defaults to `int' in declaration of `blurInitWindow'
blur.c:74: warning: function declaration isn't a prototype
blur.c:74: warning: data definition has no type or storage class
blur.c:75: error: parse error before '*' token
blur.c:76: warning: function declaration isn't a prototype
blur.c:78: error: parse error before "blurDamageWindowRect"
blur.c:78: error: parse error before '*' token
blur.c:80: warning: type defaults to `int' in declaration of `blurDamageWindowRect'
blur.c:80: warning: function declaration isn't a prototype
blur.c:80: warning: data definition has no type or storage class
blur.c:81: error: parse error before '*' token
blur.c:81: warning: function declaration isn't a prototype
blur.c:82: error: parse error before '*' token
blur.c:82: warning: function declaration isn't a prototype
blur.c:83: error: parse error before "blurPaintWindow"
blur.c:83: error: parse error before '*' token
blur.c:86: warning: type defaults to `int' in declaration of `blurPaintWindow'
blur.c:86: warning: function declaration isn't a prototype
blur.c:86: warning: data definition has no type or storage class
blur.c:105: error: parse error before "DrawWindowGeometryProc"
blur.c:105: warning: no semicolon at end of struct or union
blur.c:106: warning: type defaults to `int' in declaration of `damageWindowRect'
blur.c:106: warning: data definition has no type or storage class
blur.c:107: error: parse error before "windowResizeNotify"
blur.c:107: warning: type defaults to `int' in declaration of `windowResizeNotify'
blur.c:107: warning: data definition has no type or storage class
blur.c:108: error: parse error before "paintWindow"
blur.c:108: warning: type defaults to `int' in declaration of `paintWindow'
blur.c:108: warning: data definition has no type or storage class
blur.c:109: warning: type defaults to `int' in declaration of `BlurScreen'
blur.c:109: warning: data definition has no type or storage class
blur.c:120: error: parse error before "blurDeps"
blur.c:120: warning: type defaults to `int' in declaration of `blurDeps'
blur.c:121: warning: braces around scalar initializer
blur.c:121: warning: (near initialization for `blurDeps[0]')
blur.c:121: error: `CompPluginRuleAfter' undeclared here (not in a function)
blur.c:121: error: initializer element is not constant
blur.c:121: error: (near initialization for `blurDeps[0]')
blur.c:121: warning: excess elements in scalar initializer
blur.c:121: warning: (near initialization for `blurDeps[0]')
blur.c:121: error: initializer element is not constant
blur.c:121: error: (near initialization for `blurDeps[0]')
blur.c:122: warning: data definition has no type or storage class
blur.c:128: error: parse error before "blurVTable"
blur.c:128: warning: type defaults to `int' in declaration of `blurVTable'
blur.c:130: warning: initialization makes integer from pointer without a cast
blur.c:130: error: initializer element is not computable at load time
blur.c:130: error: (near initialization for `blurVTable')
blur.c:133: warning: excess elements in scalar initializer
blur.c:133: warning: (near initialization for `blurVTable')
blur.c:137: warning: excess elements in scalar initializer
blur.c:137: warning: (near initialization for `blurVTable')
blur.c:139: warning: excess elements in scalar initializer
blur.c:139: warning: (near initialization for `blurVTable')
blur.c:140: warning: excess elements in scalar initializer
blur.c:140: warning: (near initialization for `blurVTable')
blur.c:142: warning: excess elements in scalar initializer
blur.c:142: warning: (near initialization for `blurVTable')
blur.c:143: warning: excess elements in scalar initializer
blur.c:143: warning: (near initialization for `blurVTable')
blur.c:145: warning: excess elements in scalar initializer
blur.c:145: warning: (near initialization for `blurVTable')
blur.c:146: warning: excess elements in scalar initializer
blur.c:146: warning: (near initialization for `blurVTable')
blur.c:148: warning: excess elements in scalar initializer
blur.c:148: warning: (near initialization for `blurVTable')
blur.c:149: warning: excess elements in scalar initializer
blur.c:149: warning: (near initialization for `blurVTable')
blur.c:151: warning: excess elements in scalar initializer
blur.c:151: warning: (near initialization for `blurVTable')
blur.c:152: warning: excess elements in scalar initializer
blur.c:152: warning: (near initialization for `blurVTable')
blur.c:153: warning: excess elements in scalar initializer
blur.c:153: warning: (near initialization for `blurVTable')
blur.c:154: warning: excess elements in scalar initializer
blur.c:154: warning: (near initialization for `blurVTable')
blur.c:156: warning: excess elements in scalar initializer
blur.c:156: warning: (near initialization for `blurVTable')
blur.c:157: warning: excess elements in scalar initializer
blur.c:157: warning: (near initialization for `blurVTable')
blur.c:158: warning: data definition has no type or storage class
blur.c:160: error: parse error before '*' token
blur.c:162: warning: return type defaults to `int'
blur.c:162: warning: no previous prototype for 'getCompPluginInfo'
blur.c:167: error: parse error before "blurInit"
blur.c:167: error: parse error before '*' token
blur.c:168: warning: return type defaults to `int'
blur.c:168: warning: function declaration isn't a prototype
blur.c: In function `blurInit':
blur.c:171: warning: implicit declaration of function `allocateDisplayPrivateIndex'
blur.c:171: warning: nested extern declaration of `allocateDisplayPrivateIndex'
blur.c: At top level:
blur.c:189: error: parse error before '*' token
blur.c:190: warning: function declaration isn't a prototype
blur.c: In function `blurFini':
blur.c:192: warning: implicit declaration of function `freeDisplayPrivateIndex'
blur.c:192: warning: nested extern declaration of `freeDisplayPrivateIndex'
blur.c: At top level:
blur.c:196: error: parse error before "blurInitDisplay"
blur.c:196: error: parse error before '*' token
blur.c:197: warning: return type defaults to `int'
blur.c:197: warning: function declaration isn't a prototype
blur.c: In function `blurInitDisplay':
blur.c:203: warning: implicit declaration of function `allocateScreenPrivateIndex'
blur.c:203: warning: nested extern declaration of `allocateScreenPrivateIndex'
blur.c:203: error: `display' undeclared (first use in this function)
blur.c:203: error: (Each undeclared identifier is reported only once
blur.c:203: error: for each function it appears in.)
blur.c: At top level:
blur.c:215: error: parse error before '*' token
blur.c:216: warning: function declaration isn't a prototype
blur.c: In function `blurFiniDisplay':
blur.c:217: error: `display' undeclared (first use in this function)
blur.c:220: warning: implicit declaration of function `freeScreenPrivateIndex'
blur.c:220: warning: nested extern declaration of `freeScreenPrivateIndex'
blur.c: At top level:
blur.c:226: error: parse error before "blurInitScreen"
blur.c:226: error: parse error before '*' token
blur.c:227: warning: return type defaults to `int'
blur.c:227: warning: function declaration isn't a prototype
blur.c: In function `blurInitScreen':
blur.c:228: error: `bs' undeclared (first use in this function)
blur.c:231: error: `screen' undeclared (first use in this function)
blur.c:233: error: parse error before ')' token
blur.c:236: warning: implicit declaration of function `allocateWindowPrivateIndex'
blur.c:236: warning: nested extern declaration of `allocateWindowPrivateIndex'
blur.c:242: warning: implicit declaration of function `WRAP'
blur.c:242: warning: nested extern declaration of `WRAP'
blur.c:242: error: `drawWindowGeometry' undeclared (first use in this function)
blur.c: At top level:
blur.c:252: error: parse error before '*' token
blur.c:253: warning: function declaration isn't a prototype
blur.c: In function `blurFiniScreen':
blur.c:254: error: `bs' undeclared (first use in this function)
blur.c:254: error: parse error before ')' token
blur.c:254: error: `screen' undeclared (first use in this function)
blur.c:256: warning: implicit declaration of function `UNWRAP'
blur.c:256: warning: nested extern declaration of `UNWRAP'
blur.c:256: error: `drawWindowGeometry' undeclared (first use in this function)
blur.c:261: warning: implicit declaration of function `freeWindowPrivateIndex'
blur.c:261: warning: nested extern declaration of `freeWindowPrivateIndex'
blur.c: At top level:
blur.c:267: error: parse error before "blurInitWindow"
blur.c:267: error: parse error before '*' token
blur.c:268: warning: return type defaults to `int'
blur.c:268: warning: function declaration isn't a prototype
blur.c: In function `blurInitWindow':
blur.c:270: error: `bs' undeclared (first use in this function)
blur.c:272: error: parse error before ')' token
blur.c:272: error: `window' undeclared (first use in this function)
blur.c: At top level:
blur.c:295: error: parse error before '*' token
blur.c:296: warning: function declaration isn't a prototype
blur.c: In function `blurFiniWindow':
blur.c:299: error: `window' undeclared (first use in this function)
blur.c:299: error: parse error before ')' token
blur.c: At top level:
blur.c:308: error: parse error before "blurDamageWindowRect"
blur.c:308: error: parse error before '*' token
blur.c:309: warning: return type defaults to `int'
blur.c:309: warning: function declaration isn't a prototype
blur.c: In function `blurDamageWindowRect':
blur.c:310: error: `bs' undeclared (first use in this function)
blur.c:312: error: `Bool' undeclared (first use in this function)
blur.c:312: error: parse error before "result"
blur.c:323: error: `window' undeclared (first use in this function)
blur.c:323: error: parse error before ')' token
blur.c:324: error: parse error before ')' token
blur.c:326: warning: nested extern declaration of `UNWRAP'
blur.c:327: error: `result' undeclared (first use in this function)
blur.c:327: error: `initial' undeclared (first use in this function)
blur.c:327: error: `rect' undeclared (first use in this function)
blur.c:328: warning: nested extern declaration of `WRAP'
blur.c: At top level:
blur.c:357: error: parse error before '*' token
blur.c:358: warning: function declaration isn't a prototype
blur.c: In function `blurDrawWindowGeometry':
blur.c:360: error: `bs' undeclared (first use in this function)
blur.c:361: error: `window' undeclared (first use in this function)
blur.c:361: error: parse error before ')' token
blur.c:362: error: parse error before ')' token
blur.c:369: warning: nested extern declaration of `UNWRAP'
blur.c:369: error: `drawWindowGeometry' undeclared (first use in this function)
blur.c:371: warning: nested extern declaration of `WRAP'
blur.c: At top level:
blur.c:375: error: parse error before '*' token
blur.c:376: warning: function declaration isn't a prototype
blur.c: In function `blurWindowResizeNotify':
blur.c:378: error: `bs' undeclared (first use in this function)
blur.c:380: error: `window' undeclared (first use in this function)
blur.c:380: error: parse error before ')' token
blur.c:381: error: parse error before ')' token
blur.c:383: warning: nested extern declaration of `UNWRAP'
blur.c:385: warning: nested extern declaration of `WRAP'
blur.c: At top level:
blur.c:399: error: parse error before "blurPaintWindow"
blur.c:399: error: parse error before '*' token
blur.c:400: warning: return type defaults to `int'
blur.c:400: warning: function declaration isn't a prototype
blur.c: In function `blurPaintWindow':
blur.c:402: error: `bs' undeclared (first use in this function)
blur.c:403: error: `Bool' undeclared (first use in this function)
blur.c:403: error: parse error before "result"
blur.c:407: error: `window' undeclared (first use in this function)
blur.c:407: error: parse error before ')' token
blur.c:408: error: parse error before ')' token
blur.c:410: warning: nested extern declaration of `UNWRAP'
blur.c:411: error: `result' undeclared (first use in this function)
blur.c:411: error: `attrib' undeclared (first use in this function)
blur.c:411: error: `region' undeclared (first use in this function)
blur.c:411: error: `mask' undeclared (first use in this function)
blur.c:412: warning: nested extern declaration of `WRAP'
make[2]: *** [blur.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../include -march=k8 -O0 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT trailfocus.lo -MD -MP -MF .deps/trailfocus.Tpo -c trailfocus.c  -fPIC -DPIC -o .libs/trailfocus.o
trailfocus.c:130: warning: function declaration isn't a prototype
trailfocus.c:132: warning: function declaration isn't a prototype
trailfocus.c:664: warning: function declaration isn't a prototype
trailfocus.c:699: warning: function declaration isn't a prototype
trailfocus.c: In function `recalcWindowEffects':
trailfocus.c:711: warning: unused variable `trailStep'
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../include -march=k8 -O0 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT trailfocus.lo -MD -MP -MF .deps/trailfocus.Tpo -c trailfocus.c -o trailfocus.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/compiz-0.0.7_p20060322-r4/work/compiz/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/compiz-0.0.7_p20060322-r4/work/compiz'
make: *** [all] Error 2

!!! ERROR: x11-wm/compiz-0.0.7_p20060322-r4 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  compiz-0.0.7_p20060322-r4.ebuild, line 83:   Called die

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


Sorry, its a bit long but i wanted to take it from the first error.

I have an AMD64 X2 3800+, Motherboard is A8N-SLI Premium, 2gb ram and 2 Geforce 6600

Can Anyone help me?

Thankyou very much!
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Fri Mar 31, 2006 12:23 am    Post subject: Reply with quote

I cannot find compiz in portage. What is it? If it's not in the portage tree, this might be better off in the 'unsupported software' forum.
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
Goldenice
n00b
n00b


Joined: 08 Mar 2005
Posts: 9

PostPosted: Fri Mar 31, 2006 6:13 am    Post subject: Reply with quote

This is something that is needed to instal XGL. Its from a overlay. The wiki says:
Code:
A note on CFLAGS

AMD64 users should compile compiz with CFLAGS="-march=k8 -O0" as it fixes crashes with the rotate and wobbly extensions. If you experience crashes on any platform, the first thing you should try is recompiling compiz with -O0, as compiz does not seem to optimize very stably.

The newest compiz ebuilds from Hanno and CoffeeBuzz should correctly filter CFLAGS on amd64


So I decided to post it here in AMD64 forum, sorry for the mistake.
Back to top
View user's profile Send private message
fakeid
n00b
n00b


Joined: 23 Jan 2006
Posts: 4

PostPosted: Fri Mar 31, 2006 7:04 am    Post subject: Reply with quote

btw
I have the problem as you say when I emerged glibc2.4r1 and many other packages is show the same error as yours
Code:

  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  *********   Called die

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

I don't know what's the problem is
Back to top
View user's profile Send private message
gonEH
n00b
n00b


Joined: 16 Jan 2005
Posts: 15
Location: Incheon Korea

PostPosted: Sat Apr 01, 2006 6:33 pm    Post subject: Reply with quote

You'd better use this option.
Code:
CFLAGS="-march=k8 -O2"


Have you seen this articles?
http://gentoo-wiki.com/Safe_Cflags
http://gentoo-wiki.com/HOWTO_XGL

And just use the Overlay xgl-coffee.
Back to top
View user's profile Send private message
kabage
Guru
Guru


Joined: 31 Jan 2005
Posts: 340

PostPosted: Sat Apr 22, 2006 1:44 am    Post subject: Try the test portage Reply with quote

Try installing the test version of portage

Code:

echo "sys-apps/portage ~amd64" >> /etc/portage/package.keywords
emerge portage -av

_________________
The solutions are easy. Its finding them that is hard.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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