|
From: | Sunny |
Subject: | Re: Compiling GNU-RCS on Windows |
Date: | Wed, 01 Oct 2008 15:52:47 +0200 |
User-agent: | Internet Messaging Program (IMP) H3 (4.1.3) |
Hi Hugh,Thank you for your response. Maybe I should explain why I needed to know how to compile GNU-RCS on Windows. I am currently using CS-RCS front-end on Windows and CVS on Linux for accessing the RCS repository running on a Windows system. The problem I am encountering is that when I when I check-in a file with an underscore(_), tilde(~), or dash(-) using CVS, CS-RCS is display an error message when I try to view it on CS-RCS.
The displayed error is as follows: file-name,v - unknown character `-' or file_name,v - unknown character `_' or filename~,v - unknown character `~', depending on the character in the file name.I then traced the "unknown character" in the RCS source code and find it the rcslex.c file. Inside a switch statement on line 573 and 574, there's cases for COLON, DIGIT, LETTER, Letter, PERIOD and SPACE, but not for IDCHAR. Sincer '_', '~' and '-' are all grouped as IDCHAR, and IDCHAR is missing from those case statements, I thought it could be the problem. So, I wanted to be able to compile and test it first to confirm my assumption before reporting it as a bug if it is a bug, that's why I needed to find out if someone had compile RCS in Windows before.
Just to explain the problem a bit further, using CS-RCS on its own is not a problem, file names with the mentioned characters can be checked-in and out without any problems. Also, using CVS on its own is not a problem, checking in and out works fine, in fact CVS does show any problems at all. If a file is added using CS-RCS, checked-out using CVS and checked-in using CVS, CS-RCS gives the error message. If a file is imported for the first time using CVS, CS-RCS doesn't have a problem, only when the file is checked-in using CVS then CS-RCS gives the error message.
Your help will be appreciated Sunny Quoting Hugh Sasse <address@hidden>:
On Fri, 26 Sep 2008, Sunny wrote:Hi all, I would like to know if anyone has compiled GNU RCS successfully on Windowsand how did they do it? I have been trying to use MinGW and Cygwin but I keepWell, Cygwin comes with RCS anyway, so I wonder if that would suffice...on getting these following errors:Is there a configure step you can use? Conventionally with GNU there is...$ make -f pc/Makefile mingw32 make all -f pc/Makefile MINGW32="" OS="nt" \ CC="gcc" CCFLAGS="-O -D__WIN32__ -D__32BIT__ -DRCSDLL" \ LDFLAGS="-s -o ./" O=".o" A=".a" AR="ar" \ DLDFLAGS="-ladvapi32 -s -o ./" make[1]: Entering directory `/cygdrive/c/Documents and Settings/KabiniS/Desktop/ RCS/rcs-5.7/src' gcc ci.o libinit.o rcslib.a -s -o ./ci.exe ci.o:ci.c:(.text+0x78): undefined reference to `___imp_suffixes' ci.o:ci.c:(.text+0x16b): undefined reference to `___imp_interactiveflag' ci.o:ci.c:(.text+0x178): undefined reference to `___imp_quietflag' ci.o:ci.c:(.text+0x35f): undefined reference to `___imp_suffixes' ci.o:ci.c:(.text+0x3c9): undefined reference to `___imp_nerror' ci.o:ci.c:(.text+0x46d): undefined reference to `___imp_Head'this looks to me like a missing library, but I can't see what.. . . ci.o:ci.c:(.text+0x1a24): undefined reference to `___imp_Expand' ci.o:ci.c:(.text+0x1a7d): undefined reference to `___imp_Expand' ci.o:ci.c:(.text+0x1b57): undefined reference to `___imp_ciklog' collect2: ld returned 1 exit status make[1]: *** [ci.exe] Error 1 Any help would be appreciated. Thank you. SunnyHugh
-- ----------------------------- . \'_/, -(\",) - Always sunny!!! , \' ` Sunnyboy Kabini address@hidden This message and attachments are subject to a disclaimer. Please refer to www.it.up.ac.za/documentation/governance/disclaimer/ for full details. / Hierdie boodskap en aanhangsels is aan 'n vrywaringsklousule onderhewig. Volledige besonderhede is by www.it.up.ac.za/documentation/governance/disclaimer/ beskikbaar.
[Prev in Thread] | Current Thread | [Next in Thread] |