in terminal, after the command sudo make install. I get this error message (sorry it's long, but at least no info is missing)
Do you have any information about who to fix the problem and install your software?
Thank you very much in advance
Eric
cd lib; /Applications/Xcode.app/Contents/Developer/usr/bin/make clean; /Applications/Xcode.app/Contents/Developer/usr/bin/make 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
/Applications/Xcode.app/Contents/Developer/usr/bin/make setup
sed "s+DBDIR+/usr/local/database+" <wfdblib.h0 >wfdblib.h
/Applications/Xcode.app/Contents/Developer/usr/bin/make wfdbinit.o annot.o signal.o calib.o wfdbio.o
gcc -arch i386 -arch x86_64 -fPIC -fno-common -g -O -DWFDB_MAJOR=10 -DWFDB_MINOR=6 -DWFDB_RELEASE=0 -DNOVALUES_H `curl-config --cflags` -I/usr/local/include -c -o wfdbinit.o wfdbinit.c
gcc -arch i386 -arch x86_64 -fPIC -fno-common -g -O -DWFDB_MAJOR=10 -DWFDB_MINOR=6 -DWFDB_RELEASE=0 -DNOVALUES_H `curl-config --cflags` -I/usr/local/include -c -o annot.o annot.c
annot.c:680:9: warning: using the result of an assignment as a condition without
parentheses [-Wparentheses]
if (ap = annot->aux)
~~~^~~~~~~~~~~~
annot.c:680:9: note: place parentheses around the assignment to silence this
warning
if (ap = annot->aux)
^
( )
annot.c:680:9: note: use '==' to turn this assignment into an equality
comparison
if (ap = annot->aux)
^
==
1 warning generated.
annot.c:680:9: warning: using the result of an assignment as a condition without
parentheses [-Wparentheses]
if (ap = annot->aux)
~~~^~~~~~~~~~~~
annot.c:680:9: note: place parentheses around the assignment to silence this
warning
if (ap = annot->aux)
^
( )
annot.c:680:9: note: use '==' to turn this assignment into an equality
comparison
if (ap = annot->aux)
^
==
1 warning generated.
gcc -arch i386 -arch x86_64 -fPIC -fno-common -g -O -DWFDB_MAJOR=10 -DWFDB_MINOR=6 -DWFDB_RELEASE=0 -DNOVALUES_H `curl-config --cflags` -I/usr/local/include -c -o signal.o signal.c
signal.c:485:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (is = vsd[--maxvsig]) {
~~~^~~~~~~~~~~~~~~~
signal.c:485:13: note: place parentheses around the assignment to silence this
warning
if (is = vsd[--maxvsig]) {
^
( )
signal.c:485:13: note: use '==' to turn this assignment into an equality
comparison
if (is = vsd[--maxvsig]) {
^
==
signal.c:985:11: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strtok((char *)NULL, sep)) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:985:11: note: place parentheses around the assignment to silence this
warning
if (p = strtok((char *)NULL, sep)) {
^
( )
signal.c:985:11: note: use '==' to turn this assignment into an equality
comparison
if (p = strtok((char *)NULL, sep)) {
^
==
signal.c:1025:11: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strtok((char *)NULL, sep)) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1025:11: note: place parentheses around the assignment to silence this
warning
if (p = strtok((char *)NULL, sep)) {
^
( )
signal.c:1025:11: note: use '==' to turn this assignment into an equality
comparison
if (p = strtok((char *)NULL, sep)) {
^
==
signal.c:1177:8: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strtok((char *)NULL, sep))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1177:8: note: place parentheses around the assignment to silence this
warning
if (p = strtok((char *)NULL, sep))
^
( )
signal.c:1177:8: note: use '==' to turn this assignment into an equality
comparison
if (p = strtok((char *)NULL, sep))
^
==
signal.c:1206:8: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strtok((char *)NULL, sep))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1206:8: note: place parentheses around the assignment to silence this
warning
if (p = strtok((char *)NULL, sep))
^
( )
signal.c:1206:8: note: use '==' to turn this assignment into an equality
comparison
if (p = strtok((char *)NULL, sep))
^
==
signal.c:1230:8: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strtok((char *)NULL, sep)) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1230:8: note: place parentheses around the assignment to silence this
warning
if (p = strtok((char *)NULL, sep)) {
^
( )
signal.c:1230:8: note: use '==' to turn this assignment into an equality
comparison
if (p = strtok((char *)NULL, sep)) {
^
==
signal.c:1255:8: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strtok((char *)NULL, "\n\r"))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1255:8: note: place parentheses around the assignment to silence this
warning
if (p = strtok((char *)NULL, "\n\r"))
^
( )
signal.c:1255:8: note: use '==' to turn this assignment into an equality
comparison
if (p = strtok((char *)NULL, "\n\r"))
^
==
signal.c:1270:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (hs = hsd[--maxhsig]) {
~~~^~~~~~~~~~~~~~~~
signal.c:1270:13: note: place parentheses around the assignment to silence this
warning
if (hs = hsd[--maxhsig]) {
^
( )
signal.c:1270:13: note: use '==' to turn this assignment into an equality
comparison
if (hs = hsd[--maxhsig]) {
^
==
signal.c:1292:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (is = isd[--maxisig]) {
~~~^~~~~~~~~~~~~~~~
signal.c:1292:13: note: place parentheses around the assignment to silence this
warning
if (is = isd[--maxisig]) {
^
( )
signal.c:1292:13: note: use '==' to turn this assignment into an equality
comparison
if (is = isd[--maxisig]) {
^
==
signal.c:1304:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (ig = igd[--maxigroup]) {
~~~^~~~~~~~~~~~~~~~~~
signal.c:1304:13: note: place parentheses around the assignment to silence this
warning
if (ig = igd[--maxigroup]) {
^
( )
signal.c:1304:13: note: use '==' to turn this assignment into an equality
comparison
if (ig = igd[--maxigroup]) {
^
==
signal.c:1337:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (os = osd[--maxosig]) {
~~~^~~~~~~~~~~~~~~~
signal.c:1337:13: note: place parentheses around the assignment to silence this
warning
if (os = osd[--maxosig]) {
^
( )
signal.c:1337:13: note: use '==' to turn this assignment into an equality
comparison
if (os = osd[--maxosig]) {
^
==
signal.c:1349:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (og = ogd[--maxogroup]) {
~~~^~~~~~~~~~~~~~~~~~
signal.c:1349:13: note: place parentheses around the assignment to silence this
warning
if (og = ogd[--maxogroup]) {
^
( )
signal.c:1349:13: note: use '==' to turn this assignment into an equality
comparison
if (og = ogd[--maxogroup]) {
^
==
signal.c:1709:9: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (i = isgsetframe(h, t))
~~^~~~~~~~~~~~~~~~~~~
signal.c:1709:9: note: place parentheses around the assignment to silence this
warning
if (i = isgsetframe(h, t))
^
( )
signal.c:1709:9: note: use '==' to turn this assignment into an equality
comparison
if (i = isgsetframe(h, t))
^
==
signal.c:1752:12: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (i = isgsetframe(g, t - 1))
~~^~~~~~~~~~~~~~~~~~~~~~~
signal.c:1752:12: note: place parentheses around the assignment to silence this
warning
if (i = isgsetframe(g, t - 1))
^
( )
signal.c:1752:12: note: use '==' to turn this assignment into an equality
comparison
if (i = isgsetframe(g, t - 1))
^
==
signal.c:1770:12: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (i = isgsetframe(g, t - trem))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1770:12: note: place parentheses around the assignment to silence this
warning
if (i = isgsetframe(g, t - trem))
^
( )
signal.c:1770:12: note: use '==' to turn this assignment into an equality
comparison
if (i = isgsetframe(g, t - trem))
^
==
signal.c:1788:12: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (i = isgsetframe(g, t - trem))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1788:12: note: place parentheses around the assignment to silence this
warning
if (i = isgsetframe(g, t - trem))
^
( )
signal.c:1788:12: note: use '==' to turn this assignment into an equality
comparison
if (i = isgsetframe(g, t - trem))
^
==
signal.c:1910:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 15)
~~ ^
signal.c:1917:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 15)
~~ ^
signal.c:1924:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 7)
~~ ^
signal.c:1931:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 15)
~~ ^
signal.c:1938:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 11)
~~ ^
signal.c:1945:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 9)
~~ ^
signal.c:1952:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 9)
~~ ^
signal.c:1959:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 23)
~~ ^
signal.c:1966:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 31)
~~ ^
signal.c:2521:15: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = getenv("WFDBGVMODE"))
~~^~~~~~~~~~~~~~~~~~~~~~
signal.c:2521:15: note: place parentheses around the assignment to silence this
warning
if (p = getenv("WFDBGVMODE"))
^
( )
signal.c:2521:15: note: use '==' to turn this assignment into an equality
comparison
if (p = getenv("WFDBGVMODE"))
^
==
signal.c:2687:20: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
*vector = -1 << 15; break;
~~ ^
signal.c:2689:20: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
*vector = -1 << 7; break;
~~ ^
signal.c:2691:20: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
*vector = -1 << 11; break;
~~ ^
signal.c:2694:20: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
*vector = -1 << 9; break;
~~ ^
signal.c:2696:20: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
*vector = -1 << 23; break;
~~ ^
signal.c:2698:20: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
*vector = -1 << 31; break;
~~ ^
signal.c:3352:11: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strchr(string, ' '))
~~^~~~~~~~~~~~~~~~~~~~~
signal.c:3352:11: note: place parentheses around the assignment to silence this
warning
if (p = strchr(string, ' '))
^
( )
signal.c:3352:11: note: use '==' to turn this assignment into an equality
comparison
if (p = strchr(string, ' '))
^
==
33 warnings generated.
signal.c:485:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (is = vsd[--maxvsig]) {
~~~^~~~~~~~~~~~~~~~
signal.c:485:13: note: place parentheses around the assignment to silence this
warning
if (is = vsd[--maxvsig]) {
^
( )
signal.c:485:13: note: use '==' to turn this assignment into an equality
comparison
if (is = vsd[--maxvsig]) {
^
==
signal.c:985:11: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strtok((char *)NULL, sep)) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:985:11: note: place parentheses around the assignment to silence this
warning
if (p = strtok((char *)NULL, sep)) {
^
( )
signal.c:985:11: note: use '==' to turn this assignment into an equality
comparison
if (p = strtok((char *)NULL, sep)) {
^
==
signal.c:1025:11: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strtok((char *)NULL, sep)) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1025:11: note: place parentheses around the assignment to silence this
warning
if (p = strtok((char *)NULL, sep)) {
^
( )
signal.c:1025:11: note: use '==' to turn this assignment into an equality
comparison
if (p = strtok((char *)NULL, sep)) {
^
==
signal.c:1177:8: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strtok((char *)NULL, sep))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1177:8: note: place parentheses around the assignment to silence this
warning
if (p = strtok((char *)NULL, sep))
^
( )
signal.c:1177:8: note: use '==' to turn this assignment into an equality
comparison
if (p = strtok((char *)NULL, sep))
^
==
signal.c:1206:8: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strtok((char *)NULL, sep))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1206:8: note: place parentheses around the assignment to silence this
warning
if (p = strtok((char *)NULL, sep))
^
( )
signal.c:1206:8: note: use '==' to turn this assignment into an equality
comparison
if (p = strtok((char *)NULL, sep))
^
==
signal.c:1230:8: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strtok((char *)NULL, sep)) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1230:8: note: place parentheses around the assignment to silence this
warning
if (p = strtok((char *)NULL, sep)) {
^
( )
signal.c:1230:8: note: use '==' to turn this assignment into an equality
comparison
if (p = strtok((char *)NULL, sep)) {
^
==
signal.c:1255:8: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strtok((char *)NULL, "\n\r"))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1255:8: note: place parentheses around the assignment to silence this
warning
if (p = strtok((char *)NULL, "\n\r"))
^
( )
signal.c:1255:8: note: use '==' to turn this assignment into an equality
comparison
if (p = strtok((char *)NULL, "\n\r"))
^
==
signal.c:1270:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (hs = hsd[--maxhsig]) {
~~~^~~~~~~~~~~~~~~~
signal.c:1270:13: note: place parentheses around the assignment to silence this
warning
if (hs = hsd[--maxhsig]) {
^
( )
signal.c:1270:13: note: use '==' to turn this assignment into an equality
comparison
if (hs = hsd[--maxhsig]) {
^
==
signal.c:1292:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (is = isd[--maxisig]) {
~~~^~~~~~~~~~~~~~~~
signal.c:1292:13: note: place parentheses around the assignment to silence this
warning
if (is = isd[--maxisig]) {
^
( )
signal.c:1292:13: note: use '==' to turn this assignment into an equality
comparison
if (is = isd[--maxisig]) {
^
==
signal.c:1304:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (ig = igd[--maxigroup]) {
~~~^~~~~~~~~~~~~~~~~~
signal.c:1304:13: note: place parentheses around the assignment to silence this
warning
if (ig = igd[--maxigroup]) {
^
( )
signal.c:1304:13: note: use '==' to turn this assignment into an equality
comparison
if (ig = igd[--maxigroup]) {
^
==
signal.c:1337:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (os = osd[--maxosig]) {
~~~^~~~~~~~~~~~~~~~
signal.c:1337:13: note: place parentheses around the assignment to silence this
warning
if (os = osd[--maxosig]) {
^
( )
signal.c:1337:13: note: use '==' to turn this assignment into an equality
comparison
if (os = osd[--maxosig]) {
^
==
signal.c:1349:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (og = ogd[--maxogroup]) {
~~~^~~~~~~~~~~~~~~~~~
signal.c:1349:13: note: place parentheses around the assignment to silence this
warning
if (og = ogd[--maxogroup]) {
^
( )
signal.c:1349:13: note: use '==' to turn this assignment into an equality
comparison
if (og = ogd[--maxogroup]) {
^
==
signal.c:1709:9: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (i = isgsetframe(h, t))
~~^~~~~~~~~~~~~~~~~~~
signal.c:1709:9: note: place parentheses around the assignment to silence this
warning
if (i = isgsetframe(h, t))
^
( )
signal.c:1709:9: note: use '==' to turn this assignment into an equality
comparison
if (i = isgsetframe(h, t))
^
==
signal.c:1752:12: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (i = isgsetframe(g, t - 1))
~~^~~~~~~~~~~~~~~~~~~~~~~
signal.c:1752:12: note: place parentheses around the assignment to silence this
warning
if (i = isgsetframe(g, t - 1))
^
( )
signal.c:1752:12: note: use '==' to turn this assignment into an equality
comparison
if (i = isgsetframe(g, t - 1))
^
==
signal.c:1770:12: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (i = isgsetframe(g, t - trem))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1770:12: note: place parentheses around the assignment to silence this
warning
if (i = isgsetframe(g, t - trem))
^
( )
signal.c:1770:12: note: use '==' to turn this assignment into an equality
comparison
if (i = isgsetframe(g, t - trem))
^
==
signal.c:1788:12: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (i = isgsetframe(g, t - trem))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~
signal.c:1788:12: note: place parentheses around the assignment to silence this
warning
if (i = isgsetframe(g, t - trem))
^
( )
signal.c:1788:12: note: use '==' to turn this assignment into an equality
comparison
if (i = isgsetframe(g, t - trem))
^
==
signal.c:1910:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 15)
~~ ^
signal.c:1917:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 15)
~~ ^
signal.c:1924:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 7)
~~ ^
signal.c:1931:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 15)
~~ ^
signal.c:1938:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 11)
~~ ^
signal.c:1945:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 9)
~~ ^
signal.c:1952:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 9)
~~ ^
signal.c:1959:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 23)
~~ ^
signal.c:1966:15: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (v == -1 << 31)
~~ ^
signal.c:2521:15: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = getenv("WFDBGVMODE"))
~~^~~~~~~~~~~~~~~~~~~~~~
signal.c:2521:15: note: place parentheses around the assignment to silence this
warning
if (p = getenv("WFDBGVMODE"))
^
( )
signal.c:2521:15: note: use '==' to turn this assignment into an equality
comparison
if (p = getenv("WFDBGVMODE"))
^
==
signal.c:2687:20: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
*vector = -1 << 15; break;
~~ ^
signal.c:2689:20: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
*vector = -1 << 7; break;
~~ ^
signal.c:2691:20: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
*vector = -1 << 11; break;
~~ ^
signal.c:2694:20: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
*vector = -1 << 9; break;
~~ ^
signal.c:2696:20: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
*vector = -1 << 23; break;
~~ ^
signal.c:2698:20: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
*vector = -1 << 31; break;
~~ ^
signal.c:3352:11: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (p = strchr(string, ' '))
~~^~~~~~~~~~~~~~~~~~~~~
signal.c:3352:11: note: place parentheses around the assignment to silence this
warning
if (p = strchr(string, ' '))
^
( )
signal.c:3352:11: note: use '==' to turn this assignment into an equality
comparison
if (p = strchr(string, ' '))
^
==
33 warnings generated.
gcc -arch i386 -arch x86_64 -fPIC -fno-common -g -O -DWFDB_MAJOR=10 -DWFDB_MINOR=6 -DWFDB_RELEASE=0 -DNOVALUES_H `curl-config --cflags` -I/usr/local/include -c -o calib.o calib.c
lf='"-L/usr/local/lib -lwfdb"' ; \
lf=`echo "$lf" | sed 's|/usr/local/lib|/usr/local/lib|g'` ; \
gcc -arch i386 -arch x86_64 -fPIC -fno-common -g -O -DWFDB_MAJOR=10 -DWFDB_MINOR=6 -DWFDB_RELEASE=0 -DNOVALUES_H `curl-config --cflags` -I/usr/local/include -DVERSION='"10.6.0"' -DCFLAGS='"-I/usr/local/include"' \
-DLDFLAGS="$lf" -c wfdbio.c
wfdbio.c:465:12: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
static first_call = 1;
~~~~~~ ^
wfdbio.c:971:9: warning: add explicit braces to avoid dangling else
[-Wdangling-else]
else {
^
wfdbio.c:1693:16: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (chunk = www_get_url_range_chunk(nf->url,0L, bytes_requested)) {
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wfdbio.c:1693:16: note: place parentheses around the assignment to silence this
warning
if (chunk = www_get_url_range_chunk(nf->url,0L, bytes_requested)) {
^
( )
wfdbio.c:1693:16: note: use '==' to turn this assignment into an equality
comparison
if (chunk = www_get_url_range_chunk(nf->url,0L, bytes_requested)) {
^
==
wfdbio.c:1748:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (chunk = www_get_url_range_chunk(nf->url, startb, rlen)) {
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wfdbio.c:1748:13: note: place parentheses around the assignment to silence this
warning
if (chunk = www_get_url_range_chunk(nf->url, startb, rlen)) {
^
( )
wfdbio.c:1748:13: note: use '==' to turn this assignment into an equality
comparison
if (chunk = www_get_url_range_chunk(nf->url, startb, rlen)) {
^
==
wfdbio.c:1772:17: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
else if (chunk = www_get_url_range_chunk(nf->url, startb, len)) {
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wfdbio.c:1772:17: note: place parentheses around the assignment to silence this
warning
else if (chunk = www_get_url_range_chunk(nf->url, startb, len)) {
^
( )
wfdbio.c:1772:17: note: use '==' to turn this assignment into an equality
comparison
else if (chunk = www_get_url_range_chunk(nf->url, startb, len)) {
^
==
wfdbio.c:1814:17: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
else if (nf = nf_new(url))
~~~^~~~~~~~~~~~~
wfdbio.c:1814:17: note: place parentheses around the assignment to silence this
warning
else if (nf = nf_new(url))
^
( )
wfdbio.c:1814:17: note: use '==' to turn this assignment into an equality
comparison
else if (nf = nf_new(url))
^
==
wfdbio.c:2056:20: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (wp->netfp = nf_fopen(fname, mode)) {
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
wfdbio.c:2056:20: note: place parentheses around the assignment to silence this
warning
if (wp->netfp = nf_fopen(fname, mode)) {
^
( )
wfdbio.c:2056:20: note: use '==' to turn this assignment into an equality
comparison
if (wp->netfp = nf_fopen(fname, mode)) {
^
==
wfdbio.c:2064:16: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (wp->fp = fopen(fname, mode)) {
~~~~~~~^~~~~~~~~~~~~~~~~~~~
wfdbio.c:2064:16: note: place parentheses around the assignment to silence this
warning
if (wp->fp = fopen(fname, mode)) {
^
( )
wfdbio.c:2064:16: note: use '==' to turn this assignment into an equality
comparison
if (wp->fp = fopen(fname, mode)) {
^
==
wfdbio.c:2077:10: warning: implicit declaration of function 'mkdir' is invalid
in C99 [-Wimplicit-function-declaration]
stat = MKDIR(fname, 0755);
^
./wfdblib.h:277:20: note: expanded from macro 'MKDIR'
#define MKDIR(D,P) mkdir((D),(P))
^
9 warnings generated.
wfdbio.c:465:12: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
static first_call = 1;
~~~~~~ ^
wfdbio.c:971:9: warning: add explicit braces to avoid dangling else
[-Wdangling-else]
else {
^
wfdbio.c:1693:16: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (chunk = www_get_url_range_chunk(nf->url,0L, bytes_requested)) {
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wfdbio.c:1693:16: note: place parentheses around the assignment to silence this
warning
if (chunk = www_get_url_range_chunk(nf->url,0L, bytes_requested)) {
^
( )
wfdbio.c:1693:16: note: use '==' to turn this assignment into an equality
comparison
if (chunk = www_get_url_range_chunk(nf->url,0L, bytes_requested)) {
^
==
wfdbio.c:1748:13: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (chunk = www_get_url_range_chunk(nf->url, startb, rlen)) {
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wfdbio.c:1748:13: note: place parentheses around the assignment to silence this
warning
if (chunk = www_get_url_range_chunk(nf->url, startb, rlen)) {
^
( )
wfdbio.c:1748:13: note: use '==' to turn this assignment into an equality
comparison
if (chunk = www_get_url_range_chunk(nf->url, startb, rlen)) {
^
==
wfdbio.c:1772:17: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
else if (chunk = www_get_url_range_chunk(nf->url, startb, len)) {
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wfdbio.c:1772:17: note: place parentheses around the assignment to silence this
warning
else if (chunk = www_get_url_range_chunk(nf->url, startb, len)) {
^
( )
wfdbio.c:1772:17: note: use '==' to turn this assignment into an equality
comparison
else if (chunk = www_get_url_range_chunk(nf->url, startb, len)) {
^
==
wfdbio.c:1814:17: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
else if (nf = nf_new(url))
~~~^~~~~~~~~~~~~
wfdbio.c:1814:17: note: place parentheses around the assignment to silence this
warning
else if (nf = nf_new(url))
^
( )
wfdbio.c:1814:17: note: use '==' to turn this assignment into an equality
comparison
else if (nf = nf_new(url))
^
==
wfdbio.c:2056:20: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (wp->netfp = nf_fopen(fname, mode)) {
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
wfdbio.c:2056:20: note: place parentheses around the assignment to silence this
warning
if (wp->netfp = nf_fopen(fname, mode)) {
^
( )
wfdbio.c:2056:20: note: use '==' to turn this assignment into an equality
comparison
if (wp->netfp = nf_fopen(fname, mode)) {
^
==
wfdbio.c:2064:16: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
if (wp->fp = fopen(fname, mode)) {
~~~~~~~^~~~~~~~~~~~~~~~~~~~
wfdbio.c:2064:16: note: place parentheses around the assignment to silence this
warning
if (wp->fp = fopen(fname, mode)) {
^
( )
wfdbio.c:2064:16: note: use '==' to turn this assignment into an equality
comparison
if (wp->fp = fopen(fname, mode)) {
^
==
wfdbio.c:2077:10: warning: implicit declaration of function 'mkdir' is invalid
in C99 [-Wimplicit-function-declaration]
stat = MKDIR(fname, 0755);
^
./wfdblib.h:277:20: note: expanded from macro 'MKDIR'
#define MKDIR(D,P) mkdir((D),(P))
^
9 warnings generated.
gcc -arch i386 -arch x86_64 -dynamiclib -install_name /usr/local/lib/libwfdb.10.dylib -compatibility_version 10.6 -current_version 10.6.0 -o libwfdb.10.6.0.dylib wfdbinit.o annot.o signal.o calib.o wfdbio.o `curl-config --libs`
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /anaconda3/lib/libcurl.dylib, file was built for x86_64 which is not the architecture being linked (i386): /anaconda3/lib/libcurl.dylib
ld: warning: ignoring file /anaconda3/lib/libssl.dylib, file was built for x86_64 which is not the architecture being linked (i386): /anaconda3/lib/libssl.dylib
ld: warning: ignoring file /anaconda3/lib/libcrypto.dylib, file was built for x86_64 which is not the architecture being linked (i386): /anaconda3/lib/libcrypto.dylib
ld: warning: ignoring file /anaconda3/lib/libz.dylib, file was built for x86_64 which is not the architecture being linked (i386): /anaconda3/lib/libz.dylib
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
Undefined symbols for architecture i386:
"___error", referenced from:
_wfdb_p16 in wfdbio.o
_wfdb_putc in wfdbio.o
_wfdb_p32 in wfdbio.o
_wfdb_fprintf in wfdbio.o
_wfdb_fopen in wfdbio.o
_wfdb_fflush in wfdbio.o
_wfdb_fwrite in wfdbio.o
...
"___memcpy_chk", referenced from:
_putann in annot.o
"___sprintf_chk", referenced from:
_putann in annot.o
_ecgstr in annot.o
_annstr in annot.o
_readheader in signal.o
_fmstimstr in signal.o
_datstr in signal.o
_setbasetime in signal.o
...
"___stack_chk_fail", referenced from:
_putann in annot.o
_readheader in signal.o
_calopen in calib.o
_www_get_url_range_chunk in wfdbio.o
"___stack_chk_guard", referenced from:
_putann in annot.o
_readheader in signal.o
_calopen in calib.o
_www_get_url_range_chunk in wfdbio.o
_putann in annot.o
_readheader in signal.o
_calopen in calib.o
_www_get_url_range_chunk in wfdbio.o
_putann in annot.o
_readheader in signal.o
_calopen in calib.o
_www_get_url_range_chunk in wfdbio.o
_putann in annot.o
_readheader in signal.o
_calopen in calib.o
_www_get_url_range_chunk in wfdbio.o
"___stderrp", referenced from:
_wfdb_error in wfdbio.o
_wfdb_vasprintf in wfdbio.o
_www_get_url_range_chunk in wfdbio.o
"___stdinp", referenced from:
_readheader in signal.o
_wfdb_open in wfdbio.o
_wfdb_fclose in wfdbio.o
_readheader in signal.o
_wfdb_open in wfdbio.o
_wfdb_fclose in wfdbio.o
"___stdoutp", referenced from:
_osigclose in signal.o
_wfdb_open in wfdbio.o
_osigclose in signal.o
_wfdb_open in wfdbio.o
"___strcat_chk", referenced from:
_setheader in signal.o
_setmsheader in signal.o
_timstr in signal.o
"___strcpy_chk", referenced from:
_readheader in signal.o
"___strncpy_chk", referenced from:
_wfdb_setirec in wfdbio.o
"___vsnprintf_chk", referenced from:
_wfdb_vasprintf in wfdbio.o
"_atexit", referenced from:
_wfdb_parse_path in wfdbio.o
_wfdb_export_config in wfdbio.o
_wfdb_fopen in wfdbio.o
"_calloc", referenced from:
_annopen in annot.o
_setecgstr in annot.o
_setannstr in annot.o
_setanndesc in annot.o
_isigopen in signal.o
_readheader in signal.o
_copysi in signal.o
...
"_clearerr", referenced from:
_wfdb_clearerr in wfdbio.o
(maybe you meant: _wfdb_clearerr)
"_curl_easy_cleanup", referenced from:
_wfdb_wwwquit in wfdbio.o
"_curl_easy_init", referenced from:
_wfdb_fopen in wfdbio.o
"_curl_easy_perform", referenced from:
_wfdb_fopen in wfdbio.o
_www_get_url_range_chunk in wfdbio.o
"_curl_easy_setopt", referenced from:
_wfdb_fopen in wfdbio.o
_www_get_url_range_chunk in wfdbio.o
"_curl_global_cleanup", referenced from:
_wfdb_wwwquit in wfdbio.o
"_curl_global_init", referenced from:
_wfdb_fopen in wfdbio.o
"_curl_version", referenced from:
_wfdb_fopen in wfdbio.o
"_exit", referenced from:
_annopen in annot.o
_setecgstr in annot.o
_setannstr in annot.o
_setanndesc in annot.o
_isigopen in signal.o
_readheader in signal.o
_copysi in signal.o
...
"_fclose", referenced from:
_wfdb_getiwfdb in wfdbio.o
_wfdb_fclose in wfdbio.o
(maybe you meant: _wfdb_fclose)
"_feof", referenced from:
_wfdb_feof in wfdbio.o
(maybe you meant: _wfdb_feof)
"_ferror", referenced from:
_wfdb_ferror in wfdbio.o
(maybe you meant: _wfdb_ferror)
"_fflush", referenced from:
_wfdb_error in wfdbio.o
_wfdb_fflush in wfdbio.o
_www_get_url_range_chunk in wfdbio.o
(maybe you meant: _wfdb_fflush)
"_fgets", referenced from:
_wfdb_fgets in wfdbio.o
(maybe you meant: _wfdb_fgets)
"_fopen$UNIX2003", referenced from:
_wfdb_getiwfdb in wfdbio.o
_wfdb_fopen in wfdbio.o
"_fputs$UNIX2003", referenced from:
_wfdb_error in wfdbio.o
"_fread", referenced from:
_wfdb_getiwfdb in wfdbio.o
_wfdb_fread in wfdbio.o
(maybe you meant: _wfdb_fread)
"_free", referenced from:
_annopen in annot.o
_putann in annot.o
_iannclose in annot.o
_oannclose in annot.o
_isigopen in signal.o
_isigclose in signal.o
_readheader in signal.o
...
(maybe you meant: _wfdb_free_path_list, _wfdb_free_config , _wfdb_freeinfo )
"_fseek", referenced from:
_wfdb_getiwfdb in wfdbio.o
_wfdb_fseek in wfdbio.o
(maybe you meant: _wfdb_fseek)
"_ftell", referenced from:
_wfdb_getiwfdb in wfdbio.o
_wfdb_ftell in wfdbio.o
(maybe you meant: _wfdb_ftell)
"_fwrite$UNIX2003", referenced from:
_wfdb_vasprintf in wfdbio.o
_wfdb_fwrite in wfdbio.o
"_getc", referenced from:
_wfdb_g16 in wfdbio.o
_wfdb_getc in wfdbio.o
(maybe you meant: _getcfreq, _wfdb_getc , _getcal )
"_getenv", referenced from:
_oannclose in annot.o
_isigopen in signal.o
_setgvmode in signal.o
_calopen in calib.o
_getwfdb in wfdbio.o
_setwfdb in wfdbio.o
_wfdb_export_config in wfdbio.o
...
"_localtime", referenced from:
_setbasetime in signal.o
"_malloc", referenced from:
_wfdb_vasprintf in wfdbio.o
"_memcpy", referenced from:
_wfdb_parse_path in wfdbio.o
_wfdb_addtopath in wfdbio.o
_wfdb_fopen in wfdbio.o
_nf_get_range in wfdbio.o
_curl_chunk_write in wfdbio.o
"_mkdir", referenced from:
_wfdb_fopen in wfdbio.o
"_putc", referenced from:
_wfdb_p16 in wfdbio.o
_wfdb_putc in wfdbio.o
_wfdb_p32 in wfdbio.o
(maybe you meant: _putcal, _wfdb_putc )
"_putenv$UNIX2003", referenced from:
_wfdb_export_config in wfdbio.o
"_realloc", referenced from:
_annopen in annot.o
_isigopen in signal.o
_readheader in signal.o
_allocosig in signal.o
_allocogroup in signal.o
_setifreq in signal.o
_getinfo in signal.o
...
"_rewind", referenced from:
_wfdb_getiwfdb in wfdbio.o
"_sscanf", referenced from:
_annopen in annot.o
_readheader in signal.o
_curl_header_length_write in wfdbio.o
"_strchr", referenced from:
_setbasetime in signal.o
_strdat in signal.o
_fstrtim in signal.o
_wfdb_fopen in wfdbio.o
_www_get_url_range_chunk in wfdbio.o
"_strcmp", referenced from:
_strecg in annot.o
_strann in annot.o
_setannstr in annot.o
_setanndesc in annot.o
_isigopen in signal.o
_readheader in signal.o
_osigopen in signal.o
...
"_strcpy", referenced from:
_annopen in annot.o
_setecgstr in annot.o
_setannstr in annot.o
_setanndesc in annot.o
_isigopen in signal.o
_readheader in signal.o
_copysi in signal.o
...
"_strlen", referenced from:
_annopen in annot.o
_putann in annot.o
_setecgstr in annot.o
_setannstr in annot.o
_setanndesc in annot.o
_isigopen in signal.o
_readheader in signal.o
...
"_strncasecmp", referenced from:
_curl_header_length_write in wfdbio.o
"_strncmp", referenced from:
_annopen in annot.o
_readheader in signal.o
_getcal in calib.o
_wfdb_open in wfdbio.o
_wfdb_addtopath in wfdbio.o
_wfdb_fopen in wfdbio.o
_www_get_url_range_chunk in wfdbio.o
...
"_strncpy", referenced from:
_readheader in signal.o
_wfdb_open in wfdbio.o
"_strstr", referenced from:
_wfdb_addtopath in wfdbio.o
_wfdb_fopen in wfdbio.o
"_strtod$UNIX2003", referenced from:
_readheader in signal.o
_fstrtim in signal.o
_calopen in calib.o
"_strtok", referenced from:
_annopen in annot.o
_readheader in signal.o
_setheader in signal.o
_setmsheader in signal.o
_timstr in signal.o
_calopen in calib.o
_wfdb_fopen in wfdbio.o
...
"_strtol", referenced from:
_annopen in annot.o
_oannclose in annot.o
_isigopen in signal.o
_readheader in signal.o
_setgvmode in signal.o
_findsig in signal.o
_strdat in signal.o
...
"_system$UNIX2003", referenced from:
_oannclose in annot.o
"_time", referenced from:
_setbasetime in signal.o
"_vfprintf", referenced from:
_wfdb_fprintf in wfdbio.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [all] Error 1
make[1]: *** [install] Error 2
make: *** [install] Error 2
Hello Mr. Pollard
First thank you very much for the idea of Physionet. This is a great Idea to create a database with bio signal such as ECG
I also got into trouble into trying to install the software
I have macOS Mojave 10.14
I followed the step of your installation tutorial for Mac OS.
in terminal, after the command
sudo make install
. I get this error message (sorry it's long, but at least no info is missing)Do you have any information about who to fix the problem and install your software?
Thank you very much in advance
Eric