Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#66 CVS refuses to compile

open
nobody
None
5
2003-04-26
2003-04-26
Dugan Chen
No

I check out the source from CVS about ten minutes ago.
I typed:

./configure --prefix=/opt/winex/
make depend && make

and was reward with the following error message:

make[2]: Entering directory `/home/dugan/wine/dlls/dsound'
gcc -c -I. -I. -I../../include -I../../include -g -O2
-Wall -mpreferred-stack-boundary=2
-fno-keep-static-consts -D__int8=char -D__int16=short
-D__int32=int "-D__int64=long long" -fPIC -D__WINE__
-D_REENTRANT -I/usr/X11R6/include -o mixer.o mixer.c
mixer.c: In function `DSOUND_MixerVol':
mixer.c:290: parse error before `val'
mixer.c:300: `val' undeclared (first use in this function)
mixer.c:300: (Each undeclared identifier is reported
only once
mixer.c:300: for each function it appears in.)
mixer.c: In function
`DSOUND_MixInBuffer_DifferentSampleRate16':
mixer.c:379: parse error before `leftampfactor'
mixer.c:385: `leftampfactor' undeclared (first use in
this function)
mixer.c:386: `rightampfactor' undeclared (first use in
this function)
mixer.c:389: parse error before `size'
mixer.c:393: `size' undeclared (first use in this function)
mixer.c:395: `ipos' undeclared (first use in this function)
mixer.c:425: `adv' undeclared (first use in this function)
mixer.c: In function `DSOUND_MixInBuffer_DifferentBPS16':
mixer.c:487: parse error before `iAdvance'
mixer.c:494: parse error before `leftampfactor'
mixer.c:500: `leftampfactor' undeclared (first use in
this function)
mixer.c:501: `rightampfactor' undeclared (first use in
this function)
mixer.c:535: `iAdvance' undeclared (first use in this
function)
mixer.c:462: warning: `field' might be used
uninitialized in this function
mixer.c:462: warning: `field2' might be used
uninitialized in this function
make[2]: *** [mixer.o] Error 1
make[2]: Leaving directory `/home/dugan/wine/dlls/dsound'
make[1]: *** [dsound/libdsound.so] Error 2
make[1]: Leaving directory `/home/dugan/wine/dlls'
make: *** [dlls] Error 2

Discussion

  • Dugan Chen
    Dugan Chen
    2003-04-26

    Logged In: YES
    user_id=765596

    Okay, I upgraded my GCC from 2.95 to 3.2 and WineX
    compiles NOW. According to the README that
    comes with Transgaming's WineX, however, all that's
    needed to compile WineX is GCC 2.7.2. This
    README is clearly out of date.

     
  • Logged In: NO

    I have the same problem under an unstable debian 3.0 but it's
    with the flex.ppl.c file