[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compilation failures on RHEL 8
From: |
Michael Watters |
Subject: |
Compilation failures on RHEL 8 |
Date: |
Thu, 20 Jun 2019 15:28:45 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 |
I am attempting to build cvs on a server running RHEL 8 however there
are errors causing the build to fail as follows.
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -g -O2 -MT getline.o -MD -MP -MF
.deps/getline.Tpo -c -o getline.o getline.c
In file included from getline.c:25:
getline.h:15:3: error: conflicting types for ‘getline’
getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
^~~~~~~
In file included from getline.c:22:
/usr/include/stdio.h:622:18: note: previous declaration of ‘getline’ was here
extern __ssize_t getline (char **__restrict __lineptr,
^~~~~~~
getline.c:158:1: error: conflicting types for ‘getline’
getline (lineptr, n, stream)
^~~~~~~
In file included from getline.c:22:
/usr/include/stdio.h:622:18: note: previous declaration of ‘getline’ was here
extern __ssize_t getline (char **__restrict __lineptr,
^~~~~~~
make[2]: *** [Makefile:322: getline.o] Error 1
make[2]: Leaving directory '/usr/src/cvs-1.11.23/lib'
make[1]: *** [Makefile:291: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/cvs-1.11.23'
make: *** [Makefile:222: all] Error 2
Does anybody know how to resolve this?
- Compilation failures on RHEL 8,
Michael Watters <=
- Message not available