bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building cvs-1_11_19.1 on OpenVMS V7.3-2 (diff)


From: Piet Schuermans
Subject: Building cvs-1_11_19.1 on OpenVMS V7.3-2 (diff)
Date: Fri, 11 Feb 2005 19:52:25 +0100

Building cvs-1_11_19.1  on OpenVMS V7.3-2 on node 1D2
Using Compaq C V6.5-001 on OpenVMS Alpha V7.3-2

building order as in the build_com script
[.zlib]
[.diff]  <== this e-mail session
[.vms]
[.lib]
[.src]

Directory TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS]
.CVSIGNORE;1        ABOUT-NLS.;1        ACLOCAL.M4;1        AUTHORS.;1
BUGS.;1 BUILD.COM;1 CHANGELOG.;1 CHANGELOG.ZOO;1 COMPILE.;1 CONFIG.GUESS;1 CONFIG.H_IN;1 CONFIG.RPATH;1 CONFIG.SUB;1 CONFIGURE.;1 CONFIGURE.IN;1 CONTRIB.DIR;1
COPYING.;1          COPYING.LIB;1       CVS-FORMAT.EL;1     CVS.DIR;1
CVS.SPEC_IN;1       CVSNT.DEP;1         CVSNT.DSP;1         CVSNT.DSW;1
CVSNT.MAK;1         DEPCOMP.;1          DEVEL-CVS.;1        DIFF.DIR;1
DOC.DIR;1           EMX.DIR;1           EXAMPLES.DIR;1      FAQ.;1
GNULIB-UPDATE.;1 GNULIB.TXT;1 HACKING.;1 INSTALL-SH.;1 INSTALL.;1 LIB.DIR;1 M4.DIR;1 MACINTOSH.DIR;1
MAKEFILE.AM;1       MAKEFILE.IN;1       MAN.DIR;1           MDATE-SH.;1
MINOR-BUGS.;1       MISSING.;1          MKINSTALLDIRS.;1    MKTEMP.SH;1
NEWS.;1             OS2.DIR;1           PROJECTS.;1         README.;1
README.VMS;1        SRC.DIR;1           SRCLIST.TXT;1       TESTS.;1
TODO.;1 TOOLS.DIR;1 VMS.DIR;1 WINDOWS-NT.DIR;1
WWW.DIR;1           YLWRAP.;1           ZLIB.DIR;1

Total of 63 files.
= start rebuild from root
USERS.PS.TOOLS.CVS.CCVS>@build
Compiling Zlib sources ...

 Example applications available
Zlib build completed
$ CC :== CC/DEBUG/NOOPTIMIZE/STANDARD=VAXC/DEFINE=HAVE_CONFIG_H-
/INCLUDE_DIRECTORY=([-],[-.LIB],[-.SRC],[-.VMS])/ PREFIX_LIBRARY_ENTRIES=ALL_ENTRIES
$ CC diff.c

#include "getopt.h"
.^
%CC-F-NOINCLFILEF, Cannot find file "getopt.h" specified in #include directive. at line number 24 in file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.DIFF]DIFF.C;1
USERS.PS.TOOLS.CVS.CCVS.diff>

==> missing getopt.h
==> copy [.lib]getopt_.h  to [.lib]getopt.h
USERS.PS.TOOLS.CVS.CCVS.LIB>copy getopt_.h getopt.h

USERS.PS.TOOLS.CVS.CCVS.DIFF>@build_diff.com
$ CC :== CC/DEBUG/NOOPTIMIZE/STANDARD=VAXC/DEFINE=HAVE_CONFIG_H-
/INCLUDE_DIRECTORY=([-],[-.LIB],[-.SRC],[-.VMS])/ PREFIX_LIBRARY_ENTRIES=ALL_ENTRIES
$ CC diff.c

# include "fnmatch.h" /* Our substitute */
..^
%CC-F-NOINCLFILEF, Cannot find file "fnmatch.h" specified in #include directive. at line number 29 in file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.DIFF]DIFF.C;1

==> missing fnmatch.h
==> copy [.lib]fnmatch_.h to fnmatch.h
USERS.PS.TOOLS.CVS.CCVS.LIB>copy fnmatch_.h fnmatch.h

USERS.PS.TOOLS.CVS.CCVS.DIFF>@build_diff
$ CC :== CC/DEBUG/NOOPTIMIZE/STANDARD=VAXC/DEFINE=HAVE_CONFIG_H-
/INCLUDE_DIRECTORY=([-],[-.LIB],[-.SRC],[-.VMS])/ PREFIX_LIBRARY_ENTRIES=ALL_ENTRIES
$ CC diff.c

       int link (const char *__existing, const char *__new);
...........^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than specified in an ear at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1

       int link (const char *__existing, const char *__new);
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "link" is not compatible with the type of a pr at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1

extern int fnmatch (const char *__pattern, const char *__name,
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "fnmatch" is not compatible with the type of a at line number 56 in file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.LIB]FNMATCH.H;1
$ CC analyze.c

       int link (const char *__existing, const char *__new);
...........^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than specified in an ear at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1

       int link (const char *__existing, const char *__new);
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "link" is not compatible with the type of a pr at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1
$ CC cmpbuf.c

       int link (const char *__existing, const char *__new);
...........^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than specified in an ear at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1

       int link (const char *__existing, const char *__new);
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "link" is not compatible with the type of a pr at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1
$ CC dir.c

       int link (const char *__existing, const char *__new);
...........^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than specified in an ear at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1

       int link (const char *__existing, const char *__new);
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "link" is not compatible with the type of a prn at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1
$ CC io.c

       int link (const char *__existing, const char *__new);
...........^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than specified in an ear at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1

       int link (const char *__existing, const char *__new);
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "link" is not compatible with the type of a prn at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1
$ CC util.c

       int link (const char *__existing, const char *__new);
...........^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than specified in an ear at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1

       int link (const char *__existing, const char *__new);
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "link" is not compatible with the type of a prn at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1
$ CC context.c

       int link (const char *__existing, const char *__new);
...........^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than specified in an ear at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1

       int link (const char *__existing, const char *__new);
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "link" is not compatible with the type of a pr at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1
$ CC ed.c

       int link (const char *__existing, const char *__new);
...........^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than specified in an ear at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1

       int link (const char *__existing, const char *__new);
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "link" is not compatible with the type of a pr at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1
$ CC ifdef.c

       int link (const char *__existing, const char *__new);
...........^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than specified in an ear at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1

       int link (const char *__existing, const char *__new);
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "link" is not compatible with the type of a prn at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1
$ CC normal.c

       int link (const char *__existing, const char *__new);
...........^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than specified in an ear at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1

       int link (const char *__existing, const char *__new);
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "link" is not compatible with the type of a prn at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1
$ CC side.c

       int link (const char *__existing, const char *__new);
...........^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than specified in an ear at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1

       int link (const char *__existing, const char *__new);
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "link" is not compatible with the type of a pr at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1
$ CC version.c
$ CC diff3.c

       int link (const char *__existing, const char *__new);
...........^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than specified in an ear at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1

       int link (const char *__existing, const char *__new);
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "link" is not compatible with the type of a pr at line number 663 in module UNISTD of text library SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1
$ library/create diff.olb diff.obj,analyze.obj,cmpbuf.obj,-
dir.obj,io.obj,util.obj,context.obj,ed.obj,ifdef.obj,normal.obj,-
side.obj,version.obj,diff3.obj
%LIBRAR-W-COMCOD, compilation warnings in module DIFF file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.DI %LIBRAR-W-COMCOD, compilation warnings in module ANALYZE file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS %LIBRAR-W-COMCOD, compilation warnings in module CMPBUF file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS. %LIBRAR-W-COMCOD, compilation warnings in module DIR file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.DIF %LIBRAR-W-COMCOD, compilation warnings in module IO file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.DIFF %LIBRAR-W-COMCOD, compilation warnings in module UTIL file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.DI %LIBRAR-W-COMCOD, compilation warnings in module CONTEXT file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS %LIBRAR-W-COMCOD, compilation warnings in module ED file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.DIFF %LIBRAR-W-COMCOD, compilation warnings in module IFDEF file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.D %LIBRAR-W-COMCOD, compilation warnings in module NORMAL file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS. %LIBRAR-W-COMCOD, compilation warnings in module SIDE file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.DI %LIBRAR-W-COMCOD, compilation warnings in module DIFF3 file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.D
$ set noverify
USERS.PS.TOOLS.CVS.CCVS.DIFF>

==> several warnings
==> in the config.h HAVE_UNISTD_H is defined so I used this condition to check if
its necessary to define int link...
=> update vms.h
USERS.PS.TOOLS.CVS.CCVS.VMS>diff vms.h vms.h;1
************
File TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.VMS]VMS.H;2
   40
   41   #if !defined(HAVE_UNISTD_H)
   42   int link(char *from, char *to);
   43   #endif
   44
******
File TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.VMS]VMS.H;1
   40   int link(char *from, char *to);
   41
************

USERS.PS.TOOLS.CVS.CCVS.DIFF>@build_diff
$ CC :== CC/DEBUG/NOOPTIMIZE/STANDARD=VAXC/DEFINE=HAVE_CONFIG_H-
/INCLUDE_DIRECTORY=([-],[-.LIB],[-.SRC],[-.VMS])/ PREFIX_LIBRARY_ENTRIES=ALL_ENTRIES
$ CC diff.c

extern int fnmatch (const char *__pattern, const char *__name,
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "fnmatch" is not compatible with the type of a at line number 56 in file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.LIB]FNMATCH.H;1
$ CC analyze.c
$ CC cmpbuf.c
$ CC dir.c
$ CC io.c
$ CC util.c
$ CC context.c
$ CC ed.c
$ CC ifdef.c
$ CC normal.c
$ CC side.c
$ CC version.c
$ CC diff3.c
$ library/create diff.olb diff.obj,analyze.obj,cmpbuf.obj,-
dir.obj,io.obj,util.obj,context.obj,ed.obj,ifdef.obj,normal.obj,-
side.obj,version.obj,diff3.obj
%LIBRAR-W-COMCOD, compilation warnings in module DIFF file TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.DI
$ set noverify
USERS.PS.TOOLS.CVS.CCVS.DIFF>

Number of difference sections found: 1
Number of difference records found: 4

==> only one warning left
==> getting more details on the error.
USERS.PS.TOOLS.CVS.CCVS.DIFF>cc /warning=verbose diff.c

extern int fnmatch (const char *__pattern, const char *__name,
...........^
%CC-W-NOTCOMPAT, In this declaration, the type of "fnmatch" is not compatible with the type of a previous declaration of "fnmatch" at line number 22 in file [USERS.PS.TOOLS.CVS.CCVS.VMS]VMS.H
at line number 56 in file [USERS.PS.TOOLS.CVS.CCVS.LIB]FNMATCH.H
Description: The same identifier has been redeclared with a type that is incompatible with the type given in a previous visible declaration. In some modes, the compiler will use the redeclared type as the type of the identifier.
User Action: Change the declarations to use compatible types.

in vms.h as extern int fnmatch(char *pattern, char *string, int options); in fnmatch.h as extern int fnmatch (const char *__pattern, const char *__name, int __flags);

==> I modified vms.h
USERS.PS.TOOLS.CVS.CCVS.VMS>diff vms.h
************
File TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.VMS]VMS.H;4
22 extern int fnmatch (const char *__pattern, const char *__name, int __flags);
   23
******
File TOOLS$DISK:[USERS.PS.TOOLS.CVS.CCVS.VMS]VMS.H;3
   22   extern int fnmatch(char *pattern, char *string, int options);
   23
************

Number of difference sections found: 1
Number of difference records found: 1

Rebuild
USERS.PS.TOOLS.CVS.CCVS.DIFF>@build_diff
$ CC :== CC/DEBUG/NOOPTIMIZE/STANDARD=VAXC/DEFINE=HAVE_CONFIG_H-
/INCLUDE_DIRECTORY=([-],[-.LIB],[-.SRC],[-.VMS])/ PREFIX_LIBRARY_ENTRIES=ALL_ENTRIES
$ CC diff.c
$ CC analyze.c
$ CC cmpbuf.c
$ CC dir.c
$ CC io.c
$ CC util.c
$ CC context.c
$ CC ed.c
$ CC ifdef.c
$ CC normal.c
$ CC side.c
$ CC version.c
$ CC diff3.c
$ library/create diff.olb diff.obj,analyze.obj,cmpbuf.obj,-
dir.obj,io.obj,util.obj,context.obj,ed.obj,ifdef.obj,normal.obj,-
side.obj,version.obj,diff3.obj
$ set noverify
USERS.PS.TOOLS.CVS.CCVS.DIFF>

Remark: Instead of renaming both missing header files manually it could be also add to build_diff.com script. Check if the headers are missing if so create a copy. This would
keep the CVS source package untouched







reply via email to

[Prev in Thread] Current Thread [Next in Thread]