help-rcs
[Top][All Lists]
Advanced

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

errors building rcs 5.9.4 on linux x86_64 using gcc 8.2.0 and gmake


From: Deborah Wescott, Ctr
Subject: errors building rcs 5.9.4 on linux x86_64 using gcc 8.2.0 and gmake
Date: Wed, 31 Oct 2018 14:34:38 -0400
User-agent: Roundcube Webmail/1.2.2

Forgive the limited info. Please tell me what else you require from me.

The following results in multiple errors:

   ./configure --prefix=/p/app/cvs-rcs/rcs/5.9.4

   gmake

The errors revolve around the src/b-anchor.c, base.h, and string.h files and are multitudinous. I've attached the output of a make command. (Is there a preferred method of attaching the output from my make command?)

Here is an example of where they start, then there are thousands of lines before it finally gives up and exits. I will post the last few lines of errors:



make  all-am
make[2]: Entering directory `/p/app/cvs-rcs/build/rcs-5.9.4/src'
gcc -DHAVE_CONFIG_H -I. -I../lib -I'../lib' -g -O2 -MT b-anchor.o -MD -MP -MF .deps/b-anchor.Tpo -c -o b-anchor.o b-anchor.c
In file included from b-anchor.c:21:
base.h: In function ���unexpected_EOF���:
base.h:758:3: error: ���_Noreturn��� in empty declaration
   exiting;
   ^~~~~~~
base.h:44:18: warning: empty declaration
 #define exiting  _Noreturn
                  ^~~~~~~~~
base.h:758:3: note: in expansion of macro ���exiting���
   exiting;
   ^~~~~~~
base.h:802:26: error: storage class specified for parameter ���ctab���
 extern enum tokens const ctab[];
                          ^~~~
base.h:44:18: error: expected ���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before ���_Noreturn���
 #define exiting  _Noreturn
                  ^~~~~~~~~
base.h:834:3: note: in expansion of macro ���exiting���
   exiting;
   ^~~~~~~
In file included from ../lib/string.h:27,
                 from b-anchor.c:22:
/usr/include/string.h:42:14: error: storage class specified for parameter ���memcpy��� extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
              ^~~~~~
/usr/include/string.h:46:14: error: storage class specified for parameter ���memmove���
 extern void *memmove (void *__dest, const void *__src, size_t __n)
              ^~~~~~~
/usr/include/string.h:54:14: error: storage class specified for parameter ���memccpy��� extern void *memccpy (void *__restrict __dest, const void *__restrict __src,
              ^~~~~~~
/usr/include/string.h:62:14: error: storage class specified for parameter ���memset���




Here are last few lines:

b-anchor.c:99:1: error: expected ���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before ���{��� token
 {
 ^
b-anchor.c:121:1: error: expected ���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before ���{��� token
 {
 ^
b-anchor.c:133:1: error: expected ���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before ���{��� token
 {
 ^
b-anchor.c:145:1: error: expected ���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before ���{��� token
 {
 ^
b-anchor.c:166:1: error: expected ���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before ���{��� token
 {
 ^
In file included from b-anchor.c:21:
base.h:757:6: error: old-style parameter declarations in prototyped function definition
 void unexpected_EOF (void)
      ^~~~~~~~~~~~~~
b-anchor.c:180: error: expected ���{��� at end of input
 /* b-anchor.c ends here */

make[2]: *** [b-anchor.o] Error 1
make[2]: Leaving directory `/p/app/cvs-rcs/build/rcs-5.9.4/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/p/app/cvs-rcs/build/rcs-5.9.4/src'
make: *** [all-recursive] Error 1

(I do not have root privileges, only normal user privileges.) Thanks for any assistance you can provide.

Debbie

--
Deborah S. Wescott | SAIC Contractor
HITS-U Software Support | DOD HPCMP  | AFRL DSRC
937-904-5133 | address@hidden

Attachment: make.1
Description: Text document


reply via email to

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