[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cvs compile error on macOS 10.15.2 Catalina
From: |
Alwyn Teh |
Subject: |
cvs compile error on macOS 10.15.2 Catalina |
Date: |
Tue, 17 Dec 2019 15:21:31 +0000 |
User-agent: |
Microsoft-MacOutlook/10.20.0.191208 |
Hi,
I just downloaded cvs-1.11.23.tar.gz and tried to build it on my Mac Mini (Late
2012) running macOS 10.15.2 Catalina.
./configure went ok, but then make fell over quickly with this:
alwynteh@Alwyns-Mac-mini cvs-1.11.23 % make
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in lib
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));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:355:9:
note: previous declaration is here
ssize_t getline(char ** __restrict __linep, size_t * __restrict __linecapp,
FILE * __restrict __stream) __OSX_AVAILABLE_STARTING(__MAC_10...
^
getline.c:158:1: error: conflicting types for 'getline'
getline (lineptr, n, stream)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:355:9:
note: previous declaration is here
ssize_t getline(char ** __restrict __linep, size_t * __restrict __linecapp,
FILE * __restrict __stream) __OSX_AVAILABLE_STARTING(__MAC_10...
^
2 errors generated.
make[2]: *** [getline.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
alwynteh@Alwyns-Mac-mini cvs-1.11.23 %
Please can somebody provide some support and a fix?
Thanks,
Alwyn
London, U.K.
config.status
Description: Binary data
config.log
Description: Binary data
Makefile
Description: Binary data
- cvs compile error on macOS 10.15.2 Catalina,
Alwyn Teh <=