- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: CVS on Tru64
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2009 09:27 AM
тАО11-13-2009 09:27 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2009 11:04 AM
тАО11-13-2009 11:04 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2009 02:38 PM
тАО11-13-2009 02:38 PM
Re: CVS on Tru64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2009 05:44 AM
тАО11-16-2009 05:44 AM
Re: CVS on Tru64
source='rcs.c' object='rcs.o' libtool=no depfile='.deps/rcs.Po' tmpdepfile='.deps/rcs.TPo' depmode=tru64 /bin/sh ../depcomp cc -std1 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../diff -I../zlib -g -c `test -f 'rcs.c' || echo './'`rcs.c
cc: Error: rcs.c, line 1030: In this statement, "rcsbuf_buffer" and "(-1)" cannot be compared for equality or inequality. (noequality)
if ( rcsbuf_buffer == NULL || rcsbuf_buffer == MAP_FAILED )--------------------------------------^
where the carat is actially pointing at "rcsbuf_buffer", so I guess it can't compare the contents of that variable to the MAP_FAILED constant. I don't have the faintest idea how to address this because I'm not a C programmer. Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2009 03:37 AM
тАО11-17-2009 03:37 AM
Re: CVS on Tru64
>I guess it can't compare the contents of that variable to the MAP_FAILED constant.
Yes. You can't compare an address with an arbitrary integer constant. Only 0.
>Any suggestions?
You need to use a hammer. Assuming that rcsbuf_buffer is some generic array, you should be able to use:
if (rcsbuf_buffer == NULL || rcsbuf_buffer == (void*)MAP_FAILED)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2009 04:49 AM
тАО11-17-2009 04:49 AM
Re: CVS on Tru64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 09:21 PM
тАО11-18-2009 09:21 PM
Re: CVS on Tru64
> you mentioned. [...]
Too vague. Which product kit?
> cc: Error: rcs.c, line 1030: In this statement, "rcsbuf_buffer" and "(-1)" cannot be
> compared for equality or inequality. (noequality)
I don't see this statement in my "src/rcs.c".
> [...] the information included with the
> package states it is supposed to work with
> "Digital Unix 4.0C using gcc 2.7.2.2".
> [...]
And your environment was ...? You don't seem
to be using GCC.
I tried starting with "cvs-1.11.23.tar.bz2",
compiling with GCC. I got a lot of warnings,
and "make check" was not very encouraging,
but:
urtx# ./src/cvs --version
Concurrent Versions System (CVS) 1.11.23 (client/server)
Copyright (C) 2006 Free Software Foundation, Inc.
Senior active maintainers include Larry Jones, Derek R. Price,
and Mark D. Baushke. Please see the AUTHORS and README files from the CVS
distribution kit for a complete list of contributors and copyrights.
CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.
Specify the --help option for further information about CVS
Using "cc" ("CC=cc ./configure"), I got fewer
compiler warnings, but the results were
otherwise similar (that is, ok, so far as I
could see).
urtx# sizer -v
HP Tru64 UNIX V5.1B (Rev. 2650); Fri Mar 20 20:19:48 CDT 2009
urtx# gcc --version
gcc (GCC) 4.3.2
[...]
urtx# cc -V
Compaq C V6.5-303 (dtk) on HP Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V6.5-302 (dtk) cc Driver
Sorry about the newness of everything, but
V4.0x is before my time.
I also seem to have built 1.11.19 a couple of
years ago (using "gcc (GCC) 3.4.3"), but I
remember nothing (and probably never used it
for much, if anything). But I did get an
executable:
urtx# pwd
/usr/local/src/cvs/cvs-1.11.19
urtx# ./src/cvs --version
Concurrent Versions System (CVS) 1.11.19 (client/server)
Copyright (C) 2005 Free Software Foundation, Inc.
Senior active maintainers include Larry Jones, Derek R. Price,
and Mark D. Baushke. Please see the AUTHORS and README files from the CVS
distribution kit for a complete list of contributors and copyrights.
CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.
Specify the --help option for further information about CVS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2009 06:24 AM
тАО11-19-2009 06:24 AM
Re: CVS on Tru64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2009 12:47 PM
тАО11-19-2009 12:47 PM
Re: CVS on Tru64
> [...] Which product kit?
Still wondering.
> [...] it compiled and built cleanly.
_What_ did?
cvs --version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2009 12:58 PM
тАО11-19-2009 12:58 PM
Re: CVS on Tru64
Anyway, in case you hadn't notices, this topic has been closed.