[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compiling winex



I downloaded the latest cvs from sourceforge (which is getting almost
unreasonably congested, but thats another thread) on my sid box. Thus
far, I have had zero luck getting it to compile. I have tried it with
gcc-2.95 and gcc-3.3, and it seems to be having problems with flex. I
also backrevved flex to 2.5.4a from woody.

I get a few minutes into compiling (after doing a configure
--enable-opengl and make depend), then it fails with pages of errors
similar to the following. Can someone give me some idea of where the
problem lies? Is it bum source code or some issue with some package that
is keeping this from compiling properly? 

Thanks

======
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" -D__WINE__
-D_REENTRANT -I/usr/X11R6/include -o ppy.tab.o ppy.tab.c
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" -D__WINE__
-D_REENTRANT -I/usr/X11R6/include -o lex.ppl.o lex.ppl.c
./ppl.l:82:1: warning: "/*" within comment
./ppl.l:91:2: #endif without #if
./ppl.l: In function `pplex':
./ppl.l:305: error: `seen_junk' undeclared (first use in this function)
./ppl.l:305: error: (Each undeclared identifier is reported only once
./ppl.l:305: error: for each function it appears in.)
./ppl.l:305: error: `pp_pp' undeclared (first use in this function)
./ppl.l:310: error: `pp_ignore' undeclared (first use in this function)
./ppl.l:310: warning: implicit declaration of function `yy_pp_state'
./ppl.l:310: error: `pp_inc' undeclared (first use in this function)
./ppl.l:310: error: `tINCLUDE' undeclared (first use in this function)
./ppl.l:310: error: `pp_eol' undeclared (first use in this function)
./ppl.l:311: error: called object is not a function
./ppl.l:311: error: `pp_def' undeclared (first use in this function)

[Snip several screens of ppl.l errors]

./ppl.l: In function `put_buffer':
./ppl.l:1415: error: `pass_data' undeclared (first use in this function)
./ppl.l: In function `do_include':
./ppl.l:1439: error: `includelogicentry_t' undeclared (first use in this
function)
./ppl.l:1439: error: `iep' undeclared (first use in this function)
./ppl.l:1441: error: `includelogiclist' undeclared (first use in this
function)
./ppl.l:1462: warning: implicit declaration of function `open_include'
./ppl.l:1462: warning: assignment makes pointer from integer without a
cast
./ppl.l:1467: error: `seen_junk' undeclared (first use in this function)
./ppl.l:1468: error: `include_state' undeclared (first use in this
function)
./ppl.l:1469: error: `include_ppp' undeclared (first use in this
function)
./ppl.l:1470: error: `pass_data' undeclared (first use in this function)
./ppl.l:1473: error: `debuglevel' undeclared (first use in this
function)
./ppl.l:1473: error: `DEBUGLEVEL_PPMSG' undeclared (first use in this
function)
./ppl.l:1474: error: `input_name' undeclared (first use in this
function)
./ppl.l:1474: error: `line_number' undeclared (first use in this
function)
./ppl.l:1474: error: `include_ifdepth' undeclared (first use in this
function)
./ppl.l: In function `push_ignore_state':
./ppl.l:1488: error: `pp_ignore' undeclared (first use in this function)
/usr/include/stdlib.h: At top level:
lex.ppl.c:15102: warning: `yyunput' defined but not used
make[2]: Leaving directory `/usr/local/src/wine/tools/wrc'
make[2]: *** [lex.ppl.o] Error 1
make[1]: Leaving directory `/usr/local/src/wine/tools'
make[1]: *** [wrc] Error 2
make: *** [tools] Error 2

-- 
--Brad
============================================================================
Bradley M. Alexander                |
gTLD SysAdmin, Security Engineer    |   storm [at] tux.org
============================================================================
Key fingerprints:
DSA 0x54434E65: 37F6 BCA6 621D 920C E02E  E3C8 73B2 C019 5443 4E65
RSA 0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A  C8 9C F0 93 75 A0 01 34
============================================================================
How should I know if it works?  That's what beta testers are for.  I
only coded it.
        -- Attributed to Linus Torvalds, somewhere in a posting



Reply to: