Simple, you transfered the files to linux in dos mode.  What you need to do,
is edit each file from within linux, and do a save as and replace the files.
I'm not certain if 'touch' will do the same thing. worth a shot, and a lot
faster.  'touch *.[ch]'

Rheede



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael
Weiss
Sent: Wednesday, May 29, 2002 3:06 PM
To: [email protected]
Subject: Migrating from Cygwin to Linux - Compile problems


I'm migrating a codebase I am building from cygwin to a linux server.   It
compiles and runs fine on the cygwin server.   I am running Rom2.4b6, OLC
2.01, Lopes 2.0.   I get the following errors on compiling on the linux
server:

act_comm.c:2263: stray '\' in program
act_comm.c:2264: parse error before `}'
act_comm.c:2267: stray '\' in program
act_comm.c:2268: parse error before `}'
act_comm.c:2271: stray '\' in program
act_comm.c:2272: parse error before `}'
act_comm.c:2275: stray '\' in program
act_comm.c:2276: parse error before `}'
act_comm.c:2279: stray '\' in program
act_comm.c:2280: parse error before `}'
act_comm.c:2283: stray '\' in program
act_comm.c:2284: parse error before `}'
act_comm.c:2287: stray '\' in program
act_comm.c:2288: parse error before `}'
act_comm.c:2291: stray '\' in program
act_comm.c:2292: parse error before `}'
act_comm.c:2295: stray '\' in program
act_comm.c:2296: parse error before `}'
make: *** [act_comm.o] Error 1

When I compile a version with Rom2.4b6/OLC 2.01 without Lopes, it seems to
work ok.   The code the error is referencing is listed below:

   {
        ALTER_COLOUR( room_exits )
    }
    else if( !str_cmp( arg, "room_things" ) )
    {
        ALTER_COLOUR( room_things )
    }
    else if( !str_cmp( arg, "prompt" ) )
    {
        ALTER_COLOUR( prompt )
    }
    else if( !str_cmp( arg, "fight_death" ) )
    {
        ALTER_COLOUR( fight_death )
    }
    else if( !str_cmp( arg, "fight_yhit" ) )
    {
        ALTER_COLOUR( fight_yhit )
    }


I'm wondering if my Makefile is wrong, but I'm not sure because it works
without the color added in.  Any suggestions on how to fix this?  I've
attached the makefile as well.

Thanks for any/all help you can provide.

-Mike


Reply via email to