LinuxQuestions.org
Visit Jeremy's Blog.
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-02-2003, 10:18 AM   #1
Pixel
LQ Newbie
 
Registered: Mar 2003
Distribution: Redhat 8.0 and Mandrake 9.0
Posts: 5

Rep: Reputation: 0
Frodo C64 Emulator


Has anybody managed to compile Frodo. The C64 emulator?

I have never compiled any software before so I don't know how. Can anybody help me with a guide to doing it. Especially for Frodo.

If you can't then maybe somebody could send me already compiled binaries.

Thanks

Btw. I'm using Mandrake 9

Last edited by Pixel; 03-02-2003 at 10:25 AM.
 
Old 03-02-2003, 11:56 AM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Re: Frodo C64 Emulator

Quote:
Originally posted by Pixel
I have never compiled any software before so I don't know how.
Then maybe you should be searching on how to compile sources.
Read the README and INSTALL files supplied with the package.
But usually it's
./configure
make
su
make install
 
Old 03-02-2003, 03:10 PM   #3
Pixel
LQ Newbie
 
Registered: Mar 2003
Distribution: Redhat 8.0 and Mandrake 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
I ran ./configure and it nearly generated the makefile. But it came up with the following error..

Neither X nor SVGAlib found, don't know which target to use

I downloaded SVGA libraries of their site and put them in the libs directory but I still get the same error.

Help!
 
Old 03-03-2003, 08:06 PM   #4
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Quote:
Originally posted by Pixel
[BI downloaded SVGA libraries of their site and put them in the libs directory but I still get the same error.[/B]
You don't put stuff in a directoy, you compile and install it.
What's the filename? If it's a tar.gz or tar.bz2 use tar -zxvf / tar -jxvf. Then ./configure, make, su, make install
If it's an rpm: rpm -ivh <rpmname> (as root)
 
Old 08-16-2009, 02:47 PM   #5
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbang
Posts: 602
Blog Entries: 1

Rep: Reputation: 138Reputation: 138
Unhappy Frodo make errors

Well, I've gone as far as 'make' with this package, but that just throws up a ton of errors!
Mostly, they appear to be syntacticall in nature which suggests that they are programming errors in the source. I don't know how this can be since surely someone has compiled and use Frodo before?
 
Old 08-16-2009, 04:21 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
What version of frodo are you trying to compile?
 
Old 08-16-2009, 04:38 PM   #7
:::
Member
 
Registered: Aug 2009
Distribution: slackware 12.2
Posts: 51

Rep: Reputation: 17
i hate frodo anyway!

"i don't want to go to mordor"
"but you have to"
"but i don't want to go to mordor"
"shut up and go you halfwit halfling and don't show me that whiney face again or i tell sauron where his fucking ring is!"

only illiteracy is an excuse for not reading! there's a Docs/ directory in the root directory of the source. if you go there you'll find a html file called Main.html. it tells you how to compile Frodo.

"make" complains about missing svgalib or X? you most likely haven't installed the header files which are needed to compile source code. many "modern" distros don't install header files because they don't expect their users to compile stuff from source (which is why they suck btw). if you have a packet manager with your distro look for something like X11-dev, X-header or so.
 
Old 08-16-2009, 07:18 PM   #8
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
This could end up being a veeerrry long thread,,, and I think I saw the same thread started elsewhere in this forum.
You first need to make sure all the dependencies for the package are installed.
Installed doesn't mean they're dropped somewhere.
Installed means installed and normally the dependencies can be installed from the repository of whatever distro you're running.
You then find the readme that normally comes with the package you downloaded you wish to install for any special instructions, or possibly installation instructions that appear on the site such as Frodo has.
Once the above two requirements are fullfilled, you open a terminal in the installation folder and then type ./configure.
When ./configure finishes, if it doesn't say explicitly to now type make,, you didn't satisfy either step one with the dependencies or do as the readme suggested.

edit: btw, If someone does have Frodo installed to their box, there isn't much to send to someone else because ./configure configures the package for that particular box.
This isn't windows, this is Linux.

Last edited by windtalker10; 08-16-2009 at 07:20 PM.
 
Old 08-17-2009, 08:59 PM   #9
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbang
Posts: 602
Blog Entries: 1

Rep: Reputation: 138Reputation: 138
I configured without problems but I received the following errors from make.
Code:
Configuration done. Now type "make".
[user@localhost Src]$ make
cc  -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -D__svgalib__ -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o main.o -c main.cpp
cc  -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -D__svgalib__ -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o Display.o -c Display.cpp
In file included from Display.cpp:79:
Display_svga.i:156:1: warning: "KEY_F10" redefined
In file included from /usr/include/linux/joystick.h:33,
                 from sysdeps.h:115,
                 from Display.cpp:7:
/usr/include/linux/input.h:183:1: warning: this is the location of the previous definition
In file included from Display.cpp:79:
Display_svga.i:157:1: warning: "KEY_F11" redefined
In file included from /usr/include/linux/joystick.h:33,
                 from sysdeps.h:115,
                 from Display.cpp:7:
/usr/include/linux/input.h:202:1: warning: this is the location of the previous definition
In file included from Display.cpp:79:
Display_svga.i:158:1: warning: "KEY_F12" redefined
In file included from /usr/include/linux/joystick.h:33,
                 from sysdeps.h:115,
                 from Display.cpp:7:
/usr/include/linux/input.h:203:1: warning: this is the location of the previous definition
In file included from Display.cpp:79:
Display_svga.i:166:1: warning: "KEY_NUMLOCK" redefined
In file included from /usr/include/linux/joystick.h:33,
                 from sysdeps.h:115,
                 from Display.cpp:7:
/usr/include/linux/input.h:184:1: warning: this is the location of the previous definition
In file included from Display.cpp:79:
Display_svga.i:168:1: warning: "KEY_KPPLUS" redefined
In file included from /usr/include/linux/joystick.h:33,
                 from sysdeps.h:115,
                 from Display.cpp:7:
/usr/include/linux/input.h:193:1: warning: this is the location of the previous definition
In file included from Display.cpp:79:
Display_svga.i:169:1: warning: "KEY_KPMINUS" redefined
In file included from /usr/include/linux/joystick.h:33,
                 from sysdeps.h:115,
                 from Display.cpp:7:
/usr/include/linux/input.h:189:1: warning: this is the location of the previous definition
Display_svga.i:140: error: ‘UBYTE’ does not name a type
Display_svga.i: In function ‘void my_kbd_handler(int, int)’:
Display_svga.i:360: error: ‘key_matrix’ was not declared in this scope
Display_svga.i:361: error: ‘rev_matrix’ was not declared in this scope
Display_svga.i:363: error: ‘key_matrix’ was not declared in this scope
Display_svga.i:364: error: ‘rev_matrix’ was not declared in this scope
Display_svga.i:399: error: ‘key_matrix’ was not declared in this scope
Display_svga.i:400: error: ‘rev_matrix’ was not declared in this scope
Display_svga.i:402: error: ‘key_matrix’ was not declared in this scope
Display_svga.i:403: error: ‘rev_matrix’ was not declared in this scope
Display_svga.i: In function ‘int init_graphics()’:
Display_svga.i:471: error: ‘key_matrix’ was not declared in this scope
Display_svga.i:472: error: ‘rev_matrix’ was not declared in this scope
Display_svga.i: In member function ‘void C64Display::Update()’:
Display_svga.i:485: error: invalid conversion from ‘char*’ to ‘unsigned char*’
Display_svga.i:485: error:   initializing argument 2 of ‘int vga_drawscanline(int, unsigned char*)’
Display_svga.i: At global scope:
Display_svga.i:490: error: expected constructor, destructor, or type conversion before ‘*’ token
Display_svga.i:502: error: variable or field ‘PollKeyboard’ declared void
Display_svga.i:502: error: ‘int C64Display::PollKeyboard’ is not a static member of ‘class C64Display’
Display_svga.i:502: error: ‘UBYTE’ was not declared in this scope
Display_svga.i:502: error: ‘CIA_key_matrix’ was not declared in this scope
Display_svga.i:502: error: ‘UBYTE’ was not declared in this scope
Display_svga.i:502: error: ‘CIA_rev_matrix’ was not declared in this scope
Display_svga.i:502: error: ‘UBYTE’ was not declared in this scope
Display_svga.i:502: error: ‘joystick’ was not declared in this scope
Display_svga.i:502: error: initializer expression list treated as compound expression
Display_svga.i:Configuration done. Now type "make".
[user@localhost Src]$ make
cc  -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -D__svgalib__ -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o main.o -c main.cpp
cc  -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -D__svgalib__ -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0 -o Display.o -c Display.cpp
In file included from Display.cpp:79:
Display_svga.i:156:1: warning: "KEY_F10" redefined
In file included from /usr/include/linux/joystick.h:33,
                 from sysdeps.h:115,
                 from Display.cpp:7:
/usr/include/linux/input.h:183:1: warning: this is the location of the previous definition
In file included from Display.cpp:79:
Display_svga.i:157:1: warning: "KEY_F11" redefined
In file included from /usr/include/linux/joystick.h:33,
                 from sysdeps.h:115,
                 from Display.cpp:7:
/usr/include/linux/input.h:202:1: warning: this is the location of the previous definition
In file included from Display.cpp:79:
Display_svga.i:158:1: warning: "KEY_F12" redefined
In file included from /usr/include/linux/joystick.h:33,
                 from sysdeps.h:115,
                 from Display.cpp:7:
/usr/include/linux/input.h:203:1: warning: this is the location of the previous definition
In file included from Display.cpp:79:
Display_svga.i:166:1: warning: "KEY_NUMLOCK" redefined
In file included from /usr/include/linux/joystick.h:33,
                 from sysdeps.h:115,
                 from Display.cpp:7:
/usr/include/linux/input.h:184:1: warning: this is the location of the previous definition
In file included from Display.cpp:79:
Display_svga.i:168:1: warning: "KEY_KPPLUS" redefined
In file included from /usr/include/linux/joystick.h:33,
                 from sysdeps.h:115,
                 from Display.cpp:7:
/usr/include/linux/input.h:193:1: warning: this is the location of the previous definition
In file included from Display.cpp:79:
Display_svga.i:169:1: warning: "KEY_KPMINUS" redefined
In file included from /usr/include/linux/joystick.h:33,
                 from sysdeps.h:115,
                 from Display.cpp:7:
/usr/include/linux/input.h:189:1: warning: this is the location of the previous definition
Display_svga.i:140: error: ‘UBYTE’ does not name a type
Display_svga.i: In function ‘void my_kbd_handler(int, int)’:
Display_svga.i:360: error: ‘key_matrix’ was not declared in this scope
Display_svga.i:361: error: ‘rev_matrix’ was not declared in this scope
Display_svga.i:363: error: ‘key_matrix’ was not declared in this scope
Display_svga.i:364: error: ‘rev_matrix’ was not declared in this scope
Display_svga.i:399: error: ‘key_matrix’ was not declared in this scope
Display_svga.i:400: error: ‘rev_matrix’ was not declared in this scope
Display_svga.i:402: error: ‘key_matrix’ was not declared in this scope
Display_svga.i:403: error: ‘rev_matrix’ was not declared in this scope
Display_svga.i: In function ‘int init_graphics()’:
Display_svga.i:471: error: ‘key_matrix’ was not declared in this scope
Display_svga.i:472: error: ‘rev_matrix’ was not declared in this scope
Display_svga.i: In member function ‘void C64Display::Update()’:
Display_svga.i:485: error: invalid conversion from ‘char*’ to ‘unsigned char*’
Display_svga.i:485: error:   initializing argument 2 of ‘int vga_drawscanline(int, unsigned char*)’
Display_svga.i: At global scope:
Display_svga.i:490: error: expected constructor, destructor, or type conversion before ‘*’ token
Display_svga.i:502: error: variable or field ‘PollKeyboard’ declared void
Display_svga.i:502: error: ‘int C64Display::PollKeyboard’ is not a static member of ‘class C64Display’
Display_svga.i:502: error: ‘UBYTE’ was not declared in this scope
Display_svga.i:502: error: ‘CIA_key_matrix’ was not declared in this scope
Display_svga.i:502: error: ‘UBYTE’ was not declared in this scope
Display_svga.i:502: error: ‘CIA_rev_matrix’ was not declared in this scope
Display_svga.i:502: error: ‘UBYTE’ was not declared in this scope
Display_svga.i:502: error: ‘joystick’ was not declared in this scope
Display_svga.i:502: error: initializer expression list treated as compound expression
Display_svga.i:503: error: expected ‘,’ or ‘;’ before ‘{’ token
Display_svga.i:537: error: variable or field ‘InitColors’ declared void
Display_svga.i:537: error: ‘int C64Display::InitColors’ is not a static member of ‘class C64Display’
Display_svga.i:537: error: ‘UBYTE’ was not declared in this scope
Display_svga.i:537: error: ‘colors’ was not declared in this scope
Display_svga.i:538: error: expected ‘,’ or ‘;’ before ‘{’ token
make: *** [Display.o] Error 1
[user@localhost Src]$ 

503: error: expected ‘,’ or ‘;’ before ‘{’ token
Display_svga.i:537: error: variable or field ‘InitColors’ declared void
Display_svga.i:537: error: ‘int C64Display::InitColors’ is not a static member of ‘class C64Display’
Display_svga.i:537: error: ‘UBYTE’ was not declared in this scope
Display_svga.i:537: error: ‘colors’ was not declared in this scope
Display_svga.i:538: error: expected ‘,’ or ‘;’ before ‘{’ token
make: *** [Display.o] Error 1
[user@localhost Src]$
I hope someone can help me resolve this.
 
Old 08-17-2009, 09:05 PM   #10
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
Again, what version of frodo are you trying to install? 4.1b has major advances in the handling pf SDL.
 
Old 08-18-2009, 04:48 AM   #11
:::
Member
 
Registered: Aug 2009
Distribution: slackware 12.2
Posts: 51

Rep: Reputation: 17
don't open two threads for the same problem!
 
Old 08-18-2009, 03:45 PM   #12
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbang
Posts: 602
Blog Entries: 1

Rep: Reputation: 138Reputation: 138
Sorry about the two threads thing. my bad!
 
  


Reply


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
VICE C64 emulator v1.16 freezes during startup - Ubuntu hoary fif Linux - Games 1 07-06-2005 01:49 PM
C64 Emulator with GTK? sausagejohnson Linux - Software 0 05-20-2005 09:16 AM
C64 Emulator for Linux? Ion Silverbolt Linux - Games 1 09-26-2004 12:50 AM
Epson C64 will not print E-Oreo Linux - Newbie 5 04-20-2004 03:23 PM
Epson C64 on RH 9.0 mac0439 Linux - Hardware 4 01-26-2004 10:21 PM


All times are GMT -5. The time now is 12:01 PM.

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