Author Topic: Cant compile GH2- Ubuntu lucid lynx  (Read 622 times)

Offline ChairmanPoo

  • Newbie
  • *
  • Posts: 2
    • View Profile
Cant compile GH2- Ubuntu lucid lynx
« on: August 06, 2010, 11:05:17 AM »
I installed the requisite libraries as per the wiki's words, and tried to compile following the stated method, yet I get this:


Quote
$ fpc gearhead
Free Pascal Compiler version 2.4.0-2 [2010/03/06] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for i386
Compiling gearhead
gearhead(1,1) Fatal: illegal character "''" ($7F)
gearhead(1,1) Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)

Any ideas?

Edit: just for the record: FPC version:

Quote
Free Pascal Compiler version 2.4.0-2 [2010/03/06] for i386
Copyright (c) 1993-2009 by Florian Klaempfl

« Last Edit: August 06, 2010, 11:09:18 AM by ChairmanPoo »

Offline RadonPlasma

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Cant compile GH2- Ubuntu lucid lynx
« Reply #1 on: August 06, 2010, 11:21:37 AM »
No clue.  I was going to suggest a formatting issue, except that searching through a copy of gearhead.pas with XVI32 revealed no bytes with value 0x7F.  Do you have any experience with Pascal?  You might try compiling a 'hello world' program just to see if the compiler is willing to work with you at all.  If it isn't, then you'd be wanting the folks from the fpc community.

Offline ChairmanPoo

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Cant compile GH2- Ubuntu lucid lynx
« Reply #2 on: August 06, 2010, 11:54:15 AM »
I did sort of compile Gearhead 1. The end result didn't work, but it didnt give that "wrong character error" either

Offline Daemonward

  • Full Member
  • ***
  • Posts: 206
    • View Profile
Re: Cant compile GH2- Ubuntu lucid lynx
« Reply #3 on: August 06, 2010, 04:09:02 PM »
Quote
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)

Any ideas?


Did you make sure that you were in the GH2 directory when you typed 'fpc gearhead'?

EDIT: If you copied and pasted 'fpc gearhead' from the wiki, some strange formatting character may have been copied with it, try typing the command instead.
« Last Edit: August 06, 2010, 04:15:45 PM by Daemonward »