Error on "make install" MAC OSX 10.12.3
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 82
- Forks
- 21
- Avg merge
- 35m
- Merged PRs (30d)
- 1
Description
Getting the following error when running command make install I'm running MAC OSX 10.12.3.
cd lib; /Applications/Xcode.app/Contents/Developer/usr/bin/make clean install
rm -f wfdbinit.o annot.o signal.o calib.o wfdbio.o libwfdb.* .dll *~
/Applications/Xcode.app/Contents/Developer/usr/bin/make clean # force recompilation since config may have changed
rm -f wfdbinit.o annot.o signal.o calib.o wfdbio.o libwfdb. *.dll *~
/Applications/Xcode.app/Contents/Developer/usr/bin/make all
sed "s+DBDIR+/usr/local/database+" <wfdblib.h0 >wfdblib.h
gcc -arch i386 -arch x86_64 -fPIC -fno-common -g -O -DWFDB_MAJOR=10 -DWFDB_MINOR=5 -DWFDB_RELEASE=24 -DNOVALUES_Hcurl-config --cflags-I/usr/local/include -c -o wfdbinit.o wfdbinit.c
In file included from wfdbinit.c:33:
In file included from ./wfdblib.h:234:
In file included from /Users/Alyssa/anaconda/include/curl/curl.h:35:
/Users/Alyssa/anaconda/include/curl/curlrules.h:143:6: error: 'curl_rule_01' declared as an array
with a negative size
[CurlchkszEQ(long, CURL_SIZEOF_LONG)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/Alyssa/anaconda/include/curl/curlrules.h:132:27: note: expanded from macro 'CurlchkszEQ'
#define CurlchkszEQ(t, s) sizeof(t) == s ? 1 : -1
^~~~~~~~~~~~~~~~~~~~~~~
/Users/Alyssa/anaconda/include/curl/curlrules.h:153:6: error: 'curl_rule_02' declared as an array
with a negative size
[CurlchkszEQ(curl_off_t, CURL_SIZEOF_CURL_OFF_T)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/Alyssa/anaconda/include/curl/curlrules.h:132:27: note: expanded from macro 'CurlchkszEQ'
#define CurlchkszEQ(t, s) sizeof(t) == s ? 1 : -1
^~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
make[2]: *** [wfdbinit.o] Error 1
make[1]: *** [install] Error 2
make: *** [install] Error 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the make install output, then inspect lib/wfdbinit.c, lib/wfdblib.h, and the referenced curl/curlrules.h headers to understand the architecture-size mismatch. Reproduce the build on macOS 10.12.3 and verify that make install completes without the negative-size errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100