LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-06-2006, 03:40 PM   #1
Ryupower
Member
 
Registered: Oct 2006
Posts: 75

Rep: Reputation: 16
Can't "make" Wine


hey there, I tried configuring and installing wine from source ( need to use a special patch ) but whenever I type in "make" at the end I get:

Quote:
ppl.l:234: error: syntax error before ‘YYSTYPE’
ppl.l: In function ‘ppy_lex’:
ppl.l:316: error: ‘tINCLUDE’ undeclared (first use in this function)
ppl.l:316: error: (Each undeclared identifier is reported only once
ppl.l:316: error: for each function it appears in.)
ppl.l:318: error: ‘tERROR’ undeclared (first use in this function)
ppl.l:319: error: ‘tWARNING’ undeclared (first use in this function)
ppl.l:320: error: ‘tPRAGMA’ undeclared (first use in this function)
ppl.l:321: error: ‘tPPIDENT’ undeclared (first use in this function)
ppl.l:322: error: ‘tUNDEF’ undeclared (first use in this function)
ppl.l:323: error: ‘tIFDEF’ undeclared (first use in this function)
ppl.l:324: error: ‘tIFNDEF’ undeclared (first use in this function)
ppl.l:325: error: ‘tIF’ undeclared (first use in this function)
ppl.l:326: error: ‘tELIF’ undeclared (first use in this function)
ppl.l:327: error: ‘tELSE’ undeclared (first use in this function)
ppl.l:328: error: ‘tENDIF’ undeclared (first use in this function)
ppl.l:329: error: ‘tLINE’ undeclared (first use in this function)
ppl.l:330: error: ‘tGCCLINE’ undeclared (first use in this function)
ppl.l:332: error: ‘tNL’ undeclared (first use in this function)
ppl.l:340: error: ‘ppy_lval’ undeclared (first use in this function)
ppl.l:368: error: ‘tDEFINED’ undeclared (first use in this function)
ppl.l:369: error: ‘tLSHIFT’ undeclared (first use in this function)
ppl.l:370: error: ‘tRSHIFT’ undeclared (first use in this function)
ppl.l:371: error: ‘tLOGAND’ undeclared (first use in this function)
ppl.l:372: error: ‘tLOGOR’ undeclared (first use in this function)
ppl.l:373: error: ‘tEQ’ undeclared (first use in this function)
ppl.l:374: error: ‘tNE’ undeclared (first use in this function)
ppl.l:375: error: ‘tLTE’ undeclared (first use in this function)
ppl.l:376: error: ‘tGTE’ undeclared (first use in this function)
ppl.l:389: error: ‘tIDENT’ undeclared (first use in this function)
ppl.l:420: error: ‘tLITERAL’ undeclared (first use in this function)
ppl.l:429: error: ‘tMACRO’ undeclared (first use in this function)
ppl.l:430: error: ‘tDEFINE’ undeclared (first use in this function)
ppl.l:449: error: ‘tMACROEND’ undeclared (first use in this function)
ppl.l:453: error: ‘tELIPSIS’ undeclared (first use in this function)
ppl.l:462: error: ‘tCONCAT’ undeclared (first use in this function)
ppl.l:463: error: ‘tSTRINGIZE’ undeclared (first use in this function)
ppl.l:559: error: ‘tDQSTRING’ undeclared (first use in this function)
ppl.l:579: error: ‘tSQSTRING’ undeclared (first use in this function)
ppl.l:589: error: ‘tIQSTRING’ undeclared (first use in this function)
ppl.l:641: error: ‘tRCINCLUDE’ undeclared (first use in this function)
ppl.l:686: error: ‘tRCINCLUDEPATH’ undeclared (first use in this function)
ppl.l: At top level:
ppl.l:789: error: syntax error before ‘YYSTYPE’
ppl.l: In function ‘make_number’:
ppl.l:797: error: ‘str’ undeclared (first use in this function)
ppl.l:797: error: ‘len’ undeclared (first use in this function)
ppl.l:832: error: ‘val’ undeclared (first use in this function)
ppl.l:832: error: ‘radix’ undeclared (first use in this function)
ppl.l:833: error: ‘tULONGLONG’ undeclared (first use in this function)
ppl.l:838: error: ‘tSLONGLONG’ undeclared (first use in this function)
ppl.l:847: error: ‘tULONG’ undeclared (first use in this function)
ppl.l:852: error: ‘tSLONG’ undeclared (first use in this function)
ppl.l:857: error: ‘tUINT’ undeclared (first use in this function)
ppl.l:862: error: ‘tSINT’ undeclared (first use in this function)
make[2]: *** [ppl.yy.o] Error 1
make[2]: Leaving directory `/home/claudia/wine-0.9.26/libs/wpp'
make[1]: *** [wpp] Error 2
make[1]: Leaving directory `/home/claudia/wine-0.9.26/libs'
make: *** [libs] Error 2


I tried " make clean" and " make clean dist" after configuring it as well as after "making" ( make depend && make; or trying one after the other ), but it still gives me all these errors....HELP!
 
Old 12-06-2006, 03:45 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
you need to find the first error that occurs, not the end fall out.
 
Old 12-08-2006, 04:28 PM   #3
Ryupower
Member
 
Registered: Oct 2006
Posts: 75

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by acid_kewpie
you need to find the first error that occurs, not the end fall out.
The first error is:
Quote:
bison -p ppy_ -o ppy.tab.c -d ppy.y
ppy.y:138 parser name defined to default :"parse"
bison -p ppy_ -o ppy.tab.c ppy.y
ppy.y:138 parser name defined to default :"parse"
gcc -c -I. -I. -I../../include -I../../include -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o ppy.tab.o ppy.tab.c
gcc -c -I. -I. -I../../include -I../../include -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o ppl.yy.o ppl.yy.c
ppl.l:167:21: error: ppy.tab.h: No such file or directory
ppl.l:234: error: syntax error before ‘YYSTYPE’
ppl.l: In function ‘ppy_lex’:
ppl.l:316: error: ‘tINCLUDE’ undeclared (first use in this function)
ppl.l:316: error: (Each undeclared identifier is reported only once
ppl.l:316: error: for each function it appears in.)
ppl.l:318: error: ‘tERROR’ undeclared (first use in this function)
ppl.l:319: error: ‘tWARNING’ undeclared (first use in this function)
ppl.l:320: error: ‘tPRAGMA’ undeclared (first use in this function)
ppl.l:321: error: ‘tPPIDENT’ undeclared (first use in this function)
ppl.l:322: error: ‘tUNDEF’ undeclared (first use in this function)
ppl.l:323: error: ‘tIFDEF’ undeclared (first use in this function)
ppl.l:324: error: ‘tIFNDEF’ undeclared (first use in this function)
ppl.l:325: error: ‘tIF’ undeclared (first use in this function)
ppl.l:326: error: ‘tELIF’ undeclared (first use in this function)
ppl.l:327: error: ‘tELSE’ undeclared (first use in this function)
ppl.l:328: error: ‘tENDIF’ undeclared (first use in this function)
ppl.l:329: error: ‘tLINE’ undeclared (first use in this function)
ppl.l:330: error: ‘tGCCLINE’ undeclared (first use in this function)
ppl.l:332: error: ‘tNL’ undeclared (first use in this function)
ppl.l:340: error: ‘ppy_lval’ undeclared (first use in this function)
ppl.l:368: error: ‘tDEFINED’ undeclared (first use in this function)
ppl.l:369: error: ‘tLSHIFT’ undeclared (first use in this function)
ppl.l:370: error: ‘tRSHIFT’ undeclared (first use in this function)
ppl.l:371: error: ‘tLOGAND’ undeclared (first use in this function)
ppl.l:372: error: ‘tLOGOR’ undeclared (first use in this function)
ppl.l:373: error: ‘tEQ’ undeclared (first use in this function)
ppl.l:374: error: ‘tNE’ undeclared (first use in this function)
ppl.l:375: error: ‘tLTE’ undeclared (first use in this function)
ppl.l:376: error: ‘tGTE’ undeclared (first use in this function)
ppl.l:389: error: ‘tIDENT’ undeclared (first use in this function)
ppl.l:420: error: ‘tLITERAL’ undeclared (first use in this function)
ppl.l:429: error: ‘tMACRO’ undeclared (first use in this function)
ppl.l:430: error: ‘tDEFINE’ undeclared (first use in this function)
ppl.l:449: error: ‘tMACROEND’ undeclared (first use in this function)
ppl.l:453: error: ‘tELIPSIS’ undeclared (first use in this function)
ppl.l:462: error: ‘tCONCAT’ undeclared (first use in this function)
ppl.l:463: error: ‘tSTRINGIZE’ undeclared (first use in this function)
ppl.l:559: error: ‘tDQSTRING’ undeclared (first use in this function)
ppl.l:579: error: ‘tSQSTRING’ undeclared (first use in this function)
ppl.l:589: error: ‘tIQSTRING’ undeclared (first use in this function)
ppl.l:641: error: ‘tRCINCLUDE’ undeclared (first use in this function)
ppl.l:686: error: ‘tRCINCLUDEPATH’ undeclared (first use in this function)
ppl.l: At top level:
ppl.l:789: error: syntax error before ‘YYSTYPE’
ppl.l: In function ‘make_number’:
ppl.l:797: error: ‘str’ undeclared (first use in this function)
ppl.l:797: error: ‘len’ undeclared (first use in this function)
ppl.l:832: error: ‘val’ undeclared (first use in this function)
ppl.l:832: error: ‘radix’ undeclared (first use in this function)
ppl.l:833: error: ‘tULONGLONG’ undeclared (first use in this function)
ppl.l:838: error: ‘tSLONGLONG’ undeclared (first use in this function)
ppl.l:847: error: ‘tULONG’ undeclared (first use in this function)
ppl.l:852: error: ‘tSLONG’ undeclared (first use in this function)
ppl.l:857: error: ‘tUINT’ undeclared (first use in this function)
ppl.l:862: error: ‘tSINT’ undeclared (first use in this function)
make[2]: *** [ppl.yy.o] Error 1
make[2]: Leaving directory `/home/claudia/Desktop/Programs/wine-0.9.24/libs/wpp'make[1]: *** [wpp] Error 2
make[1]: Leaving directory `/home/claudia/Desktop/Programs/wine-0.9.24/libs'
make: *** [libs] Error 2

)
Thanks anyone out there willing to help!
running Ubuntu Dapper Drake CE
 
Old 12-08-2006, 06:24 PM   #4
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Desktop- Debian Lenny, Laptops- Ubuntu 8.10, Debian Lenny UMPC- Ubuntu 8.10
Posts: 1,297

Rep: Reputation: 55
Quote:
Originally Posted by Ryupower
The first error is:


Thanks anyone out there willing to help!
running Ubuntu Dapper Drake CE
Uhh, ok I understand learning source, etc,. Why not just add the Wine repository to your source list and use Apt-get?

IGF
 
Old 12-19-2006, 11:47 AM   #5
Ryupower
Member
 
Registered: Oct 2006
Posts: 75

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by IndyGunFreak
Uhh, ok I understand learning source, etc,. Why not just add the Wine repository to your source list and use Apt-get?

IGF
Because I need to use some patches for wine. And those only work when you recompile the whole thing. Or so I am told.

Last edited by Ryupower; 12-19-2006 at 11:49 AM.
 
Old 12-20-2006, 12:10 AM   #6
Chiprunner
LQ Newbie
 
Registered: Dec 2006
Distribution: suse 10.1 GM
Posts: 2

Rep: Reputation: 0
did you install the linux source for the compiler.
 
Old 12-30-2006, 10:46 AM   #7
Ryupower
Member
 
Registered: Oct 2006
Posts: 75

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Chiprunner
did you install the linux source for the compiler.
what do you mean? ( n00b )

I downloaded the source and tried making it. But it won't make, let alone install because of those dumb errors!
 
Old 12-30-2006, 11:54 PM   #8
bookgekgom
Member
 
Registered: Dec 2006
Posts: 41

Rep: Reputation: 15
no....just forget about that stupid looking wine..
install cedega
it's also wine but with direct x ....i guess.
it works better than wine(dunno why)
but it does.
it even runs on 64 bit pc.
forget about wine and stop wine.
now go get cedega for free and install
NOW.
 
Old 01-02-2007, 12:59 AM   #9
Chiprunner
LQ Newbie
 
Registered: Dec 2006
Distribution: suse 10.1 GM
Posts: 2

Rep: Reputation: 0
Quote:
what do you mean? ( n00b )

I downloaded the source and tried making it. But it won't make, let alone install because of those dumb errors!
ya i'm a n00b,but this n00b has his wine running
hey good luck
 
Old 01-03-2007, 12:13 AM   #10
Ryupower
Member
 
Registered: Oct 2006
Posts: 75

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by bookgekgom
no....just forget about that stupid looking wine..
install cedega
it's also wine but with direct x ....i guess.
it works better than wine(dunno why)
but it does.
it even runs on 64 bit pc.
forget about wine and stop wine.
now go get cedega for free and install
NOW.
Cadega costs money. XD
But I think this is an ubuntu-related issue, In Suse I had errors, but totally different ones.
 
  


Reply

Tags
compile, error, install, wine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 02:33 PM
window maker "make" / "make install" problem xiekke Fedora 2 08-08-2007 10:55 AM
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 06:25 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
how do i compile or make "Wine" work in slackware? Tod_Con Linux - Software 2 06-21-2004 02:53 AM


All times are GMT -5. The time now is 08:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration