You are not logged in.

#1 2005-08-14 09:54:16

sula
Member
Registered: 2005-08-07
Posts: 93

Can't compile win CVS with gcc4

.:dibble - split from Trouble compiling Wine with DX9 patches [solved] :.

I have problems with compiling.This is what i get:

directx.c:706: warning: pointer targets in passing argument 1 of 'glXGetProcAddressARB' differ in signedness
make[2]: *** [directx.o] Błąd 1
make[2]: Leaving directory `/var/abs/local/dx9wine-cvs/src/wine/dlls/wined3d'
make[1]: *** [wined3d] Błąd 2
make[1]: Leaving directory `/var/abs/local/dx9wine-cvs/src/wine/dlls'
make: *** [dlls] Błąd 2
==> ERROR: Build Failed.  Aborting...

I really have no idea what to do :?

Offline

#2 2005-08-14 09:58:35

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Can't compile win CVS with gcc4

CVS code maybe broken - wait and try another day

Offline

#3 2005-08-14 10:01:47

sula
Member
Registered: 2005-08-07
Posts: 93

Re: Can't compile win CVS with gcc4

I already tried 4 times ,so i really doubt it is about CVS code broken.

Besides i'm using this PKGBUILD here so CVS i use is from 13-06-2005 ,so how can it be broken?Or if you implying that it corrupted while donloading CvS tree ,i already dl it 4 times so i dont think so.

Offline

#4 2005-08-14 10:29:53

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Can't compile win CVS with gcc4

Well, are you using gcc4 or something like that?

Offline

#5 2005-08-14 10:48:40

sula
Member
Registered: 2005-08-07
Posts: 93

Re: Can't compile win CVS with gcc4

Oh i'm using gcc4.You think think this could be a problem?
If yes is there way to compile wine without removing gcc4 ,and replacing it with gcc 3.X?
Gcc4 is dependancy with couple of other things i have so it would be problematic...

Offline

#6 2005-08-14 10:58:11

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Can't compile win CVS with gcc4

Well, yup, I certainly think that that is the problem.  You'll need to find a gcc4 patch for wine basically but the patch may not work either after that

Offline

#7 2005-08-14 11:20:22

sula
Member
Registered: 2005-08-07
Posts: 93

Re: Can't compile win CVS with gcc4

Isnt there any way to compile it with Cgg 3.X ?You know like having second compilator in system?To run compilation with somethink like --use ggc3

If i cannot find gcc patch for wine (if it exist) ,and even if i can find it this may cause dx9 patch to dont work ,so i would have to:
a) downgrade gcc4 to gcc3.X (veeeeeery problematic),even dont know how to do it
b) dont use wine with dx9

Shit ,those are times when i curse at linux...

Offline

#8 2005-08-14 11:35:34

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Can't compile win CVS with gcc4

downgrade gcc4 to gcc3.X (veeeeeery problematic),even dont know how to do it

may be you should have thought of that before wink - there is a good reason why it is not in [current]

Offline

#9 2005-08-14 11:53:42

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Can't compile win CVS with gcc4

sula wrote:

b) dont use wine with dx9

Shit ,those are times when i curse at linux...


Well, it aint Linux fault that you upgraded to an unsafe package is it....


but hey you may use http://www.linuxportalen.com/archlinux/ … pkg.tar.gz

And download an already working version big_smile


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#10 2005-08-14 13:01:09

sula
Member
Registered: 2005-08-07
Posts: 93

Re: Can't compile win CVS with gcc4

Heh ,5 min too late smile
I already downgraded my gcc and compiled wine+dx9
but thanks anyway ,nice page i will bookmark it.

I still thinks that it should be possible to have two ver. of gcc newer(default) and older one(in cases like mine).Ehh i'm just babbling.

Offline

Board footer

Powered by FluxBB