• Butterfly
    Butterfly
    Posts: 62 from 2004/9/8
    From: France
    I tried to compile dosbox0.70 for morphos but I have a little problem...

    configure of dosbox for do a makefile is ok...
    sdl-config is ok too...

    but If I compile with make, I have a mistake:

    Making all in core_full
    make[1]: Entering directory `/DEV/dosbox-0.70/src/cpu/core_full'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/DEV/dosbox-0.70/src/cpu/core_full'
    Making all in core_normal
    make[1]: Entering directory `/DEV/dosbox-0.70/src/cpu/core_normal'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/DEV/dosbox-0.70/src/cpu/core_normal'
    Making all in core_dyn_x86
    make[1]: Entering directory `/DEV/dosbox-0.70/src/cpu/core_dyn_x86'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/DEV/dosbox-0.70/src/cpu/core_dyn_x86'
    make[1]: Entering directory `/DEV/dosbox-0.70/src/cpu'
    source='cpu.cpp' object='cpu.o' libtool=no \
    depfile='.deps/cpu.Po' tmpdepfile='.deps/cpu.TPo' \
    depmode=gcc /bin/sh ../../depcomp \
    g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -noixemul -I/usr/include/SDL -g -O2 -c -o cpu.o `test -f 'cpu.cpp' || echo './'`cpu.cpp
    cpu.cpp:41: warning: invalid character in macro parameter name
    cpu.cpp:41: badly punctuated parameter list in `#define'
    make[1]: *** [cpu.o] Error 1
    make[1]: Leaving directory `/DEV/dosbox-0.70/src/cpu'
    make: *** [all-recursive] Error 1


    src of cpu.cpp :
    /*
    * Copyright (C) 2002-2007 The DOSBox Team
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation; either version 2 of the License, or
    * (at your option) any later version.
    *
    * This program is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    * GNU General Public License for more details.
    *
    * You should have received a copy of the GNU General Public License
    * along with this program; if not, write to the Free Software
    * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    */

    /* $Id: cpu.cpp,v 1.98 2007/02/22 08:35:34 qbix79 Exp $ */

    #include <assert.h>
    #include <sstream>
    #include "dosbox.h"
    #include "cpu.h"
    #include "memory.h"
    #include "debug.h"
    #include "mapper.h"
    #include "setup.h"
    #include "paging.h"
    #include "support.h"

    Bitu DEBUG_EnableDebugger(void);
    extern void GFX_SetTitle(Bit32s cycles ,Bits frameskip,bool paused);

    #if 1
    #undef LOG
    #if defined (_MSC_VER)
    #define LOG(X,Y)
    #else
    #define LOG(X,Y) CPU_LOG
    #define CPU_LOG(...) <--- here is my problem
    #endif
    #endif

    //etc....


    I don't understand why :(
    Can you help me ???

    PS: sorry for my bad english :(


    [ Edited by rusback on 2007/5/15 17:13 ]
    PegasosII G4 512Mo 80Go ATI RADEON 9200SE....
    Yeah! The best it's MorphOS :)
  • »15.05.07 - 05:56
    Profile Visit Website