LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-05-2005, 02:01 PM   #1
c--
Member
 
Registered: Sep 2004
Location: Oregon, USA
Distribution: Ubuntu/Debian
Posts: 82

Rep: Reputation: 15
cvscedega make errors: preloader.c has a parse error?


I'm running Ubuntu Warty Warthog, a debian based distribution, and have been strugling with getting any games working. I'm using a linux-gamer tutorial http://www.linux-gamers.net/modules/...p?articleid=45

The script seems to work, I got it to download and configure without any errors, but when it gets to the make, it gives me this error:
Code:
ompiling ...




--------- Error log - file /home/ian/.WineCVS/sources/cvscedega/ErrorLog : ---------
make[1]: Entering directory `/home/ian/.WineCVS/sources/cvscedega/winex/unicode'
make[1]: `libwine_unicode.so' is up to date.
make[1]: Leaving directory `/home/ian/.WineCVS/sources/cvscedega/winex/unicode'
make[1]: Entering directory `/home/ian/.WineCVS/sources/cvscedega/winex/tools'
make[2]: Entering directory `/home/ian/.WineCVS/sources/cvscedega/winex/tools/winebuild'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ian/.WineCVS/sources/cvscedega/winex/tools/winebuild'
make[2]: Entering directory `/home/ian/.WineCVS/sources/cvscedega/winex/tools/winedump'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ian/.WineCVS/sources/cvscedega/winex/tools/winedump'
make[2]: Entering directory `/home/ian/.WineCVS/sources/cvscedega/winex/tools/wmc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ian/.WineCVS/sources/cvscedega/winex/tools/wmc'
make[2]: Entering directory `/home/ian/.WineCVS/sources/cvscedega/winex/tools/wrc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ian/.WineCVS/sources/cvscedega/winex/tools/wrc'
make[2]: Entering directory `/home/ian/.WineCVS/sources/cvscedega/winex/tools/widl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ian/.WineCVS/sources/cvscedega/winex/tools/widl'
make[1]: Leaving directory `/home/ian/.WineCVS/sources/cvscedega/winex/tools'
make[1]: Entering directory `/home/ian/.WineCVS/sources/cvscedega/winex/port'
make[1]: `libwine_port.so' is up to date.
make[1]: Leaving directory `/home/ian/.WineCVS/sources/cvscedega/winex/port'
make[1]: Entering directory `/home/ian/.WineCVS/sources/cvscedega/winex/server'
make[1]: `libwineserver.so' is up to date.
make[1]: Leaving directory `/home/ian/.WineCVS/sources/cvscedega/winex/server'
make[1]: Entering directory `/home/ian/.WineCVS/sources/cvscedega/winex/server'
make[1]: `wineserver' is up to date.
make[1]: Leaving directory `/home/ian/.WineCVS/sources/cvscedega/winex/server'
make[1]: Entering directory `/home/ian/.WineCVS/sources/cvscedega/winex/miscemu'
gcc -MMD -c  -I. -I. -I../include -I../include  -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o preloader.o preloader.c
preloader.c:199: error: parse error before string constant
preloader.c:205: warning: return type defaults to `int'
preloader.c: In function `__ASM_GLOBAL_FUNC':
preloader.c:206: error: storage class specified for parameter `wld_exit'
preloader.c:206: error: parse error before '{' token
preloader.c:206: error: declaration for parameter `wld_exit' but no such parameter
preloader.c:216: error: `name' undeclared (first use in this function)
preloader.c:216: error: (Each undeclared identifier is reported only once
preloader.c:216: error: for each function it appears in.)
preloader.c:216: error: `flags' undeclared (first use in this function)
preloader.c: In function `fatal_error':
preloader.c:453: warning: implicit declaration of function `wld_exit'
preloader.c: In function `map_so_lib':
preloader.c:613: warning: implicit declaration of function `wld_open'
make[1]: *** [preloader.o] Error 1
make[1]: Leaving directory `/home/ian/.WineCVS/sources/cvscedega/winex/miscemu'
make: *** [miscemu/wine-preloader] Error 2


Error in Make

Try fixing the error based on the output above, and
run the script again, without paramaters (Eg: WineCVS.sh)
I've looked arround online and there dosn't seem to be any info on this error anywhere. what should I do now?
 
Old 03-06-2005, 07:05 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
post the line 199 of preloader.c
 
  


Reply



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
how to solve parse errors in C program?? divya Linux - Software 4 04-01-2004 11:19 AM
Driver compile parse errors Livia Linux - General 1 02-18-2004 09:25 AM
pthread problems and parse errors Stabby Red Hat 1 01-28-2004 10:56 PM
newbie compile problem: parse errors reetep Programming 8 01-09-2004 10:40 AM
Parse errors in kernel.h using gcc 2.95 hate_msft Programming 2 07-24-2002 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:33 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration