You are not logged in.

#1 2006-05-01 13:14:33

adamk
Member
Registered: 2006-03-09
Posts: 36

Trouble compiling X11r6.8.0

I'm having a problem compiling this version (trying to build a driver with a change.)

Here's the error I get:

fbmmx.c: In function 'negate':
fbmmx.c:107: error: incompatible type for argument 1 of '__builtin_ia32_pxor'
fbmmx.c:107: error: incompatible type for argument 2 of '__builtin_ia32_pxor'
fbmmx.c: In function 'expand_alpha':
fbmmx.c:166: error: incompatible type for argument 1 of '__builtin_ia32_por'
fbmmx.c:166: error: incompatible type for argument 2 of '__builtin_ia32_por'
fbmmx.c:166: error: incompatible types in assignment
fbmmx.c:168: error: incompatible type for argument 1 of '__builtin_ia32_por'
fbmmx.c:168: error: incompatible type for argument 2 of '__builtin_ia32_por'
fbmmx.c:168: error: incompatible types in assignment
...

I'm building with this gcc and Arch 0.7.1

L%  gcc --version
gcc (GCC) 4.0.3 20051222 (prerelease)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Any ideas?

   Thanks.


Adam Krolnik
Co-author "Assertion-Based Design"

Offline

#2 2006-05-01 19:34:19

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Trouble compiling X11r6.8.0

Err... Try using Xorg 7? Just do 'pacman -S xorg' plus whatever video and input drivers you need...

Offline

#3 2006-05-01 20:21:06

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Trouble compiling X11r6.8.0

Just look in our CVS Attic, fbmmx has compile problems with gcc4, we used to have a patch for that.

Offline

#4 2006-05-01 21:19:08

adamk
Member
Registered: 2006-03-09
Posts: 36

Re: Trouble compiling X11r6.8.0

Thanks for the tip.

I presume that downgrading gcc to the 3.4.6 version would allow it to compile ?

I was thinking about Xorg 7 but have seen many people with problems...
Hoping to do this when it is more straightforward.


Adam Krolnik
Co-author "Assertion-Based Design"

Offline

#5 2006-05-01 21:20:07

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Trouble compiling X11r6.8.0

Maybe you should try Debian. wink

Offline

#6 2006-05-01 21:29:03

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Trouble compiling X11r6.8.0

I think that most problems with xorg 7 come from people with bad configs or those that use things like composite.

Offline

#7 2006-05-01 22:04:30

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Trouble compiling X11r6.8.0

I'd say bad configs, composite never gave me any problems... If you keep your Xorg 6.8.x config when going to Xorg 7, you will meet trouble. Better to make a new one using 'X -configure'.

Offline

#8 2006-05-01 23:42:03

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Trouble compiling X11r6.8.0

Well, it's worth a note that some proprietary display drivers don't like composite and render. The nVidia ones seem to be working pretty well, but ATI always gave trouble with these things. I'm not using composite currently but I did in the past with no problems on nVidia hardware.

Maybe the above should be stated as "issues with xorg7 tend to be caused by unstable drivers and bad configs."

Offline

#9 2006-05-02 07:43:01

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Trouble compiling X11r6.8.0

ATI works fine with Xorg7. One thing you should take not of: applications on your system will break as soon as apps try to use newer features in the updated libraries supplied by Xorg7 and Xorg7.1.

Offline

#10 2006-05-02 15:08:31

adamk
Member
Registered: 2006-03-09
Posts: 36

Re: Trouble compiling X11r6.8.0

Thanks for the help. I found the patch for the fbmmx code and was able to
compile all of it. Now for finishing the driver mods.

   Thanks.


Adam Krolnik
Co-author "Assertion-Based Design"

Offline

Board footer

Powered by FluxBB