On Sat, 07 Jul 2007 13:03:47 +0200,Simon, wrote
> Janne Peräaho wrote:
> > On 2007-07-03 14:50:34 +0300, Simon <nospam@[EMAIL PROTECTED]
> said:
> >> Someone (god bless him) send me the source code (in C) of an game he
> >> made in 1990 for Amiga.
> >>
> >> Anyway: I installed VBCC on my PC (there's a cross-compiler),
> >> installed many Amiga include files, and tried to compile the MAIN.C
> >> file, but there are some strange errors.
> >
> > Can you list the error messages, please?
> > Do you know with which C compiler the game was originally written?
>
> Thanks for replying!
> I'm made some progess I guess, here are the messages I got now:
>
> warning 121 in line 23 of ".\q\main.c": return type of main is not int
> vc.lib(_main.c): In "__Exit":
> Error 21: vc.lib(_main.c) (CODE+0x6): Undefined reference to
> ___DTOR_LIST__. Error 21: vc.lib(_main.c) (CODE+0xc): Undefined
> reference to ___DTOR_LIST__. vc.lib(_main.c): In "___main":
> Error 21: vc.lib(_main.c) (CODE+0x8a): Undefined reference to
> ___CTOR_LIST__.
> Error 21: vc.lib(_main.c) (CODE+0x90): Undefined reference to
> ___CTOR_LIST__.
> \s3vvlrnf.o: In "_main":
> Error 21: \s3vvlrnf.o (CODE+0x8): Undefined reference to _Initialise.
> Error 21: \s3vvlrnf.o (CODE+0xe): Undefined reference to _Alloc_images.
> Error 21: \s3vvlrnf.o (CODE+0x18): Undefined reference to
> _load_wardrobe. Error 21: \s3vvlrnf.o (CODE+0x24): Undefined reference
> to _Setup_animates. Error 21: \s3vvlrnf.o (CODE+0x2a): Undefined
> reference to _Title_start. Error 21: \s3vvlrnf.o (CODE+0x30): Undefined
> reference to _Clear_bimarray. Error 21: \s3vvlrnf.o (CODE+0x36):
> Undefined reference to _Alloc_genesis. Error 21: \s3vvlrnf.o
> (CODE+0x3c): Undefined reference to _Setup_icons. Error 21: \s3vvlrnf.o
> (CODE+0x42): Undefined reference to _Load_high_score_table
> .
> Error 21: \s3vvlrnf.o (CODE+0x48): Undefined reference to
> _Single_player_game.
>
>
>
> It seems like some code is missing?
> I've asked the author about it but got no reply so far - he might be on
> holidays.
> I'll dig to see if the code is really missing or just not found when
> compiling - I may be wrong but I don't think there's much more to do?
>
> BTW, I've been told it was for SAS/C compiler but it's not certain.
>
> Cheers
> Simon
The OP should look for help in comp.sys.amiga.programmer
later
later
bliss -- C O C O A Powered... (at california dot com)
--
bobbie sellers - (Back to Angband) Team *AMIGA & SF-LUG*
Formerly of AWest - San Francisco's Amiga Users Group
"It is by will alone I set my mind in motion.
It is by the beans of cocoa that the thoughts acquire speed,
the thighs acquire girth, the girth become a warning.
It is by theobromine alone I set my mind in motion."
--from Someone else's Dune spoof ripped to my taste.


|