Menu

#3 cvs compile error

open
nobody
None
5
2003-05-07
2003-05-07
No

gcc -DHAVE_CONFIG_H -I. -I. -I. -O -g -pipe -Wall
-I/usr/X11R6/include -I/usr/local/include -D__USE_BSD
-c `test -f emulator_c_iface.c || echo
'./'`emulator_c_iface.c
source='emulator_x86.c' object='emulator_x86.o'
libtool=no \
depfile='.deps/emulator_x86.Po'
tmpdepfile='.deps/emulator_x86.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -O -g -pipe -Wall
-I/usr/X11R6/include -I/usr/local/include -D__USE_BSD
-c `test -f emulator_x86.c || echo './'`emulator_x86.c
emulator_x86.c: In function `DoNMIX86':
emulator_x86.c:74: `RAM' undeclared (first use in this
function)
emulator_x86.c:74: (Each undeclared identifier is
reported only once
emulator_x86.c:74: for each function it appears in.)
emulator_x86.c: In function `InitMapperSubsystemX86':
emulator_x86.c:88: `MapperInit' undeclared (first use in
this function)
emulator_x86.c:89: `Mapper' undeclared (first use in this
function)
emulator_x86.c: In function `InitMemoryX86':
emulator_x86.c:176: `RAM' undeclared (first use in this
function)
emulator_x86.c:183: warning: implicit declaration of
function `exit'
emulator_x86.c:204: warning: implicit declaration of
function `translate'
make[1]: *** [emulator_x86.o] Error 1
make[1]: Leaving directory `/home/smileaf/tuxnes'
make: *** [all] Error 2

Discussion

  • David Aldridge

    David Aldridge - 2003-05-14

    Logged In: YES
    user_id=550130

    I have the same errors (RedHat 8 system). I managed to get
    past these particular errors by doing the following:

    1) Change all occurances of 'RAM' to 'emulator->RAM' in
    defines.h
    2) Change all occurances of 'MapperInit' to
    'emulator->MapperInit' in emulator_x86.c
    3) Change all occurances of 'Mapper' to 'emulator->Mapper'
    in emulator_x86.c

    All that remains if fixing the assembly code, but I'm no
    good at that...

     
  • Nobody/Anonymous

    Logged In: NO

    nor am I .. not really even that good @ C yet :-/ ... but thank
    you for the patches .. hopefully someone will come around
    and fix the assembly code ... or perhaps the developers will
    come back tuxnes is really good but IMO has a few more
    things that need to be fix or could be improved on.

    SMiLeaf

     
  • Mike Mestnik

    Mike Mestnik - 2003-12-04

    Logged In: YES
    user_id=534340

    This should be fixed in CVS.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.