From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19300 invoked by alias); 25 Jan 2016 21:00:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 19285 invoked by uid 89); 25 Jan 2016 21:00:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=eat, family, HImportance:Normal, 195 X-HELO: mail-pf0-f182.google.com Received: from mail-pf0-f182.google.com (HELO mail-pf0-f182.google.com) (209.85.192.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 25 Jan 2016 21:00:41 +0000 Received: by mail-pf0-f182.google.com with SMTP id n128so87521515pfn.3 for ; Mon, 25 Jan 2016 13:00:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:from:to:subject:date:importance :content-type:content-transfer-encoding:mime-version; bh=gRKE0isMP/CjKRhpmkhGCNxrfYhoYqTHuCKL6dldGY0=; b=LVqm9e8+YQVQK6Bj0cNCw0ZYD4+dPHYZvYAwNxkO65Xgt8Tx950aKzjQOCBI9zxR0g /azeXwTuR0/aNFs37J1DBaaREVs2lpWlrLnituDto+21T+hXjKFSnLTDEHXlNb4UBbje kgBnb7PC08RAf8TKhTSfdb73bvuhDE+sE6NwUlhkDp1Vu/MyWB3SfEvbf1ilWBqbE2pn 1wJ5I2bW+Jpe7IH6a/w1SkcSF4EXsmVPobQEqOcyMIOOhwv39PjpJIxUJ0Y+WIvQz46/ x+Api0ovnCwkQfaOMVqMx8gkpDEKoeh3Z6C6LA3ulXwEvv8H410zCymfFEzfGOP4w7AB VI2g== X-Gm-Message-State: AG10YOT4sTipGcDhLS8pMR0J0cAcaIlpiNfsn/bz0tf2FJCLWwtqqLzHX3LkJlzuk+zZ7w== X-Received: by 10.98.67.212 with SMTP id l81mr28585241pfi.90.1453755638586; Mon, 25 Jan 2016 13:00:38 -0800 (PST) Received: from mail.hotmail.com (col004-wss1s2.hotmail.com. [157.56.23.9]) by smtp.gmail.com with ESMTPSA id q142sm30675943pfq.82.2016.01.25.13.00.37 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Jan 2016 13:00:37 -0800 (PST) Received: from BAY175-W14 ([157.56.23.7]) by COL004-WSS1S2.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Mon, 25 Jan 2016 13:00:37 -0800 X-TMN: [S9IZsTaJ7/QTSpnTekq6Xhvj3ATKmNH9] Message-ID: From: Robert May To: "cygwin@cygwin.com" Subject: bcftools error running Make after installing update 2.4.1.1 to Cygwin64 Date: Mon, 25 Jan 2016 21:11:00 -0000 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2016-01/txt/msg00357.txt.bz2 error running Make after installing update 2.4.1.1 to Cygwin64 Robert@DESKTOP-14EL82S /usr/local/bin/bcftools-1.3 $ make =A0 many warnings are given in the following text - see end for error message echo '#define BCFTOOLS_VERSION "1.3"'> version.h gcc -g -Wall -Wc++-compat -O2=A0 -std=3Dc99 -I. -Ihtslib-1.3 -DPLUGINPATH= =3D\"/usr/local/libexec/bcftools\"=A0 -c -o main.o main.c gcc -g -Wall -Wc++-compat -O2=A0 -std=3Dc99 -I. -Ihtslib-1.3 -DPLUGINPATH= =3D\"/usr/local/libexec/bcftools\"=A0 -c -o vcfindex.o vcfindex.c vcfindex.c: In function =91main_vcfindex=92: vcfindex.c:209:9: warning: implicit declaration of function =91alloca=92 [-= Wimplicit-function-declaration] =A0=A0=A0=A0=A0=A0=A0=A0 char *idx_fname =3D (char*)alloca(strlen(fname) + = 5); =A0=A0=A0=A0=A0=A0=A0=A0 ^ vcfindex.c:209:27: warning: cast to pointer from integer of different size = [-Wint-to-pointer-cast] =A0=A0=A0=A0=A0=A0=A0=A0 char *idx_fname =3D (char*)alloca(strlen(fname) + = 5); =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 ^ gcc -g -Wall -Wc++-compat -O2=A0 -std=3Dc99 -I. -Ihtslib-1.3 -DPLUGINPATH= =3D\"/usr/local/libexec/bcftools\"=A0 -c -o tabix.o tabix.c tabix.c: In function =91main_tabix=92: tabix.c:97:13: warning: implicit declaration of function =91alloca=92 [-Wim= plicit-function-declaration] =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 fn =3D (char*)alloca(strlen(argv[optin= d]) + 5); =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^ tabix.c:97:18: warning: cast to pointer from integer of different size [-Wi= nt-to-pointer-cast] =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 fn =3D (char*)alloca(strlen(argv[optin= d]) + 5); =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^ gcc -g -Wall -Wc++-compat -O2=A0 -std=3Dc99 -I. -Ihtslib-1.3 -DPLUGINPATH= =3D\"/usr/local/libexec/bcftools\"=A0 -c -o vcfstats.o vcfstats.c vcfstats.c: In function =91main_vcfstats=92: vcfstats.c:1558:9: warning: implicit declaration of function =91fileno=92 [= -Wimplicit-function-declaration] =A0=A0=A0=A0=A0=A0=A0=A0 if ( !isatty(fileno((FILE *)stdin)) ) fname =3D "-= ";=A0 // reading from stdin =A0=A0=A0=A0=A0=A0=A0=A0 ^ gcc -g -Wall -Wc++-compat -O2=A0 -std=3Dc99 -I. -Ihtslib-1.3 -DPLUGINPATH= =3D\"/usr/local/libexec/bcftools\"=A0 -c -o vcfisec.o vcfisec.c vcfisec.c: In function =91main_vcfisec=92: vcfisec.c:556:21: warning: array subscript has type =91char=92 [-Wchar-subs= cripts] =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 else if ( isdi= git(*p) ) args->isec_op =3D OP_EQUAL; =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^ gcc -g -Wall -Wc++-compat -O2=A0 -std=3Dc99 -I. -Ihtslib-1.3 -DPLUGINPATH= =3D\"/usr/local/libexec/bcftools\"=A0 -c -o vcfmerge.o vcfmerge.c vcfmerge.c: In function =91merge_alleles=92: vcfmerge.c:542:13: warning: array subscript has type =91char=92 [-Wchar-sub= scripts] =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 for (j=3D0; jndref; i++) vcmp->dref[i] =3D = toupper(ref1[vcmp->nmatch+i]); =A0=A0=A0=A0=A0=A0=A0=A0 ^ vcmp.c:78:5: warning: array subscript has type =91char=92 [-Wchar-subscript= s] =A0=A0=A0=A0 for (i=3D0; indref; i++) vcmp->dref[i] =3D toupper(ref2= [vcmp->nmatch+i]); =A0=A0=A0=A0 ^ vcmp.c: In function =91vcmp_find_allele=92: vcmp.c:90:9: warning: array subscript has type =91char=92 [-Wchar-subscript= s] =A0=A0=A0=A0=A0=A0=A0=A0 while ( *a && *b && toupper(*a)=3D=3Dtoupper(*b) )= { a++; b++; } =A0=A0=A0=A0=A0=A0=A0=A0 ^ vcmp.c:90:9: warning: array subscript has type =91char=92 [-Wchar-subscript= s] vcmp.c:103:17: warning: array subscript has type =91char=92 [-Wchar-subscri= pts] =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if ( !a[j] || toupper(a[j]= )!=3Dvcmp->dref[j] ) break; =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^ vcmp.c:110:13: warning: array subscript has type =91char=92 [-Wchar-subscri= pts] =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if ( !b[j] || toupper(b[j])!=3Dvcmp->d= ref[j] ) break; =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^ gcc -g -Wall -Wc++-compat -O2=A0 -std=3Dc99 -I. -Ihtslib-1.3 -DPLUGINPATH= =3D\"/usr/local/libexec/bcftools\"=A0 -c -o gvcf.o gvcf.c gcc -g -Wall -Wc++-compat -O2=A0 -std=3Dc99 -I. -Ihtslib-1.3 -DPLUGINPATH= =3D\"/usr/local/libexec/bcftools\"=A0 -c -o reheader.o reheader.c reheader.c: In function =91read_header_file=92: reheader.c:65:5: warning: array subscript has type =91char=92 [-Wchar-subsc= ripts] =A0=A0=A0=A0 while ( hdr->l>0 && isspace(hdr->s[hdr->l-1]) ) hdr->l--;=A0 /= / remove trailing newlines =A0=A0=A0=A0 ^ reheader.c: In function =91set_sample_pairs=92: reheader.c:79:9: warning: array subscript has type =91char=92 [-Wchar-subsc= ripts] =A0=A0=A0=A0=A0=A0=A0=A0 while ( *value && !isspace(*value) ) value++; =A0=A0=A0=A0=A0=A0=A0=A0 ^ reheader.c:82:9: warning: array subscript has type =91char=92 [-Wchar-subsc= ripts] =A0=A0=A0=A0=A0=A0=A0=A0 while ( isspace(*value) ) value++; =A0=A0=A0=A0=A0=A0=A0=A0 ^ reheader.c:91:5: warning: array subscript has type =91char=92 [-Wchar-subsc= ripts] =A0=A0=A0=A0 while ( hdr->l>0 && isspace(hdr->s[hdr->l-1]) ) hdr->l--;=A0 /= / remove trailing newlines =A0=A0=A0=A0 ^ reheader.c: In function =91reheader_vcf_gz=92: reheader.c:227:9: warning: implicit declaration of function =91fileno=92 [-= Wimplicit-function-declaration] =A0=A0=A0=A0=A0=A0=A0=A0 bgzf_out =3D bgzf_dopen(fileno(stdout), "w"); =A0=A0=A0=A0=A0=A0=A0=A0 ^ gcc -g -Wall -Wc++-compat -O2=A0 -std=3Dc99 -I. -Ihtslib-1.3 -DPLUGINPATH= =3D\"/usr/local/libexec/bcftools\"=A0 -c -o convert.o convert.c convert.c: In function =91parse_subscript=92: convert.c:781:5: warning: array subscript has type =91char=92 [-Wchar-subsc= ripts] =A0=A0=A0=A0 while ( *q && *q!=3D'}' && isdigit(*q) ) q++; =A0=A0=A0=A0 ^ convert.c: In function =91parse_tag=92: convert.c:791:5: warning: array subscript has type =91char=92 [-Wchar-subsc= ripts] =A0=A0=A0=A0 while ( *q && (isalnum(*q) || *q=3D=3D'_' || *q=3D=3D'.') ) q+= +; =A0=A0=A0=A0 ^ convert.c:806:13: warning: array subscript has type =91char=92 [-Wchar-subs= cripts] =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 while ( *q && (isalnum(*q) || *q=3D=3D= '_' || *q=3D=3D'.') ) q++; =A0^ convert.c:848:13: warning: array subscript has type =91char=92 [-Wchar-subs= cripts] =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 while ( *q && (isalnum(*q) || *q=3D=3D= '_' || *q=3D=3D'.') ) q++; =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^ gcc -g -Wall -Wc++-compat -O2=A0 -std=3Dc99 -I. -Ihtslib-1.3 -DPLUGINPATH= =3D\"/usr/local/libexec/bcftools\"=A0 -c -o vcfconvert.o vcfconvert.c In file included from vcfconvert.c:42:0: tsv2vcf.h: In function =91tsv_next=92: tsv2vcf.h:68:9: warning: array subscript has type =91char=92 [-Wchar-subscr= ipts] =A0=A0=A0=A0=A0=A0=A0=A0 while ( *tsv->se && !isspace(*tsv->se) ) tsv->se++; =A0=A0=A0=A0=A0=A0=A0=A0 ^ tsv2vcf.h:71:5: warning: array subscript has type =91char=92 [-Wchar-subscr= ipts] =A0=A0=A0=A0 while ( *tsv->se && isspace(*tsv->se) ) tsv->se++; =A0=A0=A0=A0 ^ tsv2vcf.h:73:5: warning: array subscript has type =91char=92 [-Wchar-subscr= ipts] =A0=A0=A0=A0 while ( *tsv->se && !isspace(*tsv->se) ) tsv->se++; =A0=A0=A0=A0 ^ vcfconvert.c: In function =91tsv_setter_chrom_pos_ref_alt=92: vcfconvert.c:161:5: warning: array subscript has type =91char=92 [-Wchar-su= bscripts] =A0=A0=A0=A0 while ( se < tsv->se && *se!=3D'_' && isspace(*tsv->se) ) se++; =A0=A0=A0=A0 ^ vcfconvert.c:162:5: warning: array subscript has type =91char=92 [-Wchar-su= bscripts] =A0=A0=A0=A0 if ( se < tsv->se && *se!=3D'_' && isspace(*tsv->se) ) error("= Could not parse ALT in CHROM:POS_REF_ALT id: %s\n", tsv->ss); =A0=A0=A0=A0 ^ vcfconvert.c: In function =91tsv_setter_verify_ref_alt=92: vcfconvert.c:195:5: warning: array subscript has type =91char=92 [-Wchar-su= bscripts] =A0=A0=A0=A0 while ( *tsv->se && isspace(*tsv->se) ) tsv->se++; =A0=A0=A0=A0 ^ vcfconvert.c:197:5: warning: array subscript has type =91char=92 [-Wchar-su= bscripts] =A0=A0=A0=A0 while ( *tsv->se && !isspace(*tsv->se) ) tsv->se++; =A0=A0=A0=A0 ^ vcfconvert.c: In function =91gensample_to_vcf=92: vcfconvert.c:354:5: warning: array subscript has type =91char=92 [-Wchar-su= bscripts] =A0=A0=A0=A0 while ( *se && !isspace(*se) ) se++; =A0=A0=A0=A0 ^ vcfconvert.c:378:9: warning: array subscript has type =91char=92 [-Wchar-su= bscripts] =A0=A0=A0=A0=A0=A0=A0=A0 se =3D samples[i]; while ( *se && !isspace(*se) ) = se++; =A0=A0=A0=A0=A0=A0=A0=A0 ^ vcfconvert.c: In function =91haplegendsample_to_vcf=92: vcfconvert.c:502:9: warning: array subscript has type =91char=92 [-Wchar-su= bscripts] =A0=A0=A0=A0=A0=A0=A0=A0 se =3D samples[i]; while ( *se && !isspace(*se) ) = se++; =A0=A0=A0=A0=A0=A0=A0=A0 ^ vcfconvert.c: In function =91hapsample_to_vcf=92: vcfconvert.c:615:9: warning: array subscript has type =91char=92 [-Wchar-su= bscripts] =A0=A0=A0=A0=A0=A0=A0=A0 se =3D samples[i]; while ( *se && !isspace(*se) ) = se++; =A0=A0=A0=A0=A0=A0=A0=A0 ^ vcfconvert.c: In function =91tsv_setter_aa1=92: vcfconvert.c:1069:5: warning: array subscript has type =91char=92 [-Wchar-s= ubscripts] =A0=A0=A0=A0 int a0 =3D acgt_to_5(toupper(ss[0])); =A0=A0=A0=A0 ^ vcfconvert.c:1070:5: warning: array subscript has type =91char=92 [-Wchar-s= ubscripts] =A0=A0=A0=A0 int a1 =3D ss[1] ? acgt_to_5(toupper(ss[1])) : a0; =A0=A0=A0=A0 ^ vcfconvert.c: In function =91tsv_setter_aa=92: vcfconvert.c:1094:5: warning: array subscript has type =91char=92 [-Wchar-s= ubscripts] =A0=A0=A0=A0 ref[0] =3D toupper(ref[0]); =A0=A0=A0=A0 ^ vcfconvert.c: In function =91main_vcfconvert=92: vcfconvert.c:1436:13: warning: implicit declaration of function =91fileno= =92 [-Wimplicit-function-declaration] =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if ( !isatty(fileno((FILE *)stdin)) ) = args->infname =3D "-"; =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^ gcc -g -Wall -Wc++-compat -O2=A0 -std=3Dc99 -I. -Ihtslib-1.3 -DPLUGINPATH= =3D\"/usr/local/libexec/bcftools\"=A0 -c -o tsv2vcf.o tsv2vcf.c In file included from tsv2vcf.c:27:0: tsv2vcf.h: In function =91tsv_next=92: tsv2vcf.h:68:9: warning: array subscript has type =91char=92 [-Wchar-subscr= ipts] =A0=A0=A0=A0=A0=A0=A0=A0 while ( *tsv->se && !isspace(*tsv->se) ) tsv->se++; =A0=A0=A0=A0=A0=A0=A0=A0 ^ tsv2vcf.h:71:5: warning: array subscript has type =91char=92 [-Wchar-subscr= ipts] =A0=A0=A0=A0 while ( *tsv->se && isspace(*tsv->se) ) tsv->se++; =A0=A0=A0=A0 ^ tsv2vcf.h:73:5: warning: array subscript has type =91char=92 [-Wchar-subscr= ipts] =A0=A0=A0=A0 while ( *tsv->se && !isspace(*tsv->se) ) tsv->se++; =A0=A0=A0=A0 ^ tsv2vcf.c: In function =91tsv_parse=92: tsv2vcf.c:81:9: warning: array subscript has type =91char=92 [-Wchar-subscr= ipts] =A0=A0=A0=A0=A0=A0=A0=A0 while ( *tsv->se && !isspace(*tsv->se) ) tsv->se++; =A0=A0=A0=A0=A0=A0=A0=A0 ^ tsv2vcf.c:88:9: warning: array subscript has type =91char=92 [-Wchar-subscr= ipts] =A0=A0=A0=A0=A0=A0=A0=A0 while ( *tsv->se && isspace(*tsv->se) ) tsv->se++; =A0=A0=A0=A0=A0=A0=A0=A0 ^ gcc -g -Wall -Wc++-compat -O2=A0 -std=3Dc99 -I. -Ihtslib-1.3 -DPLUGINPATH= =3D\"/usr/local/libexec/bcftools\"=A0 -c -o vcfcnv.o vcfcnv.c vcfcnv.c: In function =91norm_prob=92: vcfcnv.c:602:93: error: =91M_PI=92 undeclared (first use in this function) =A0=A0=A0=A0 return exp(-(baf-param->mean)*(baf-param->mean)*0.5/param->dev= 2) / param->norm / sqrt(2*M_PI*param->dev2); =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^ vcfcnv.c:602:93: note: each undeclared identifier is reported only once for= each function it appears in vcfcnv.c: In function =91main_vcfcnv=92: vcfcnv.c:1349:9: warning: implicit declaration of function =91fileno=92 [-W= implicit-function-declaration] =A0=A0=A0=A0=A0=A0=A0=A0 if ( !isatty(fileno((FILE *)stdin)) ) fname =3D "-= "; =A0=A0=A0=A0=A0=A0=A0=A0 ^ vcfcnv.c: In function =91norm_prob=92: vcfcnv.c:603:1: warning: control reaches end of non-void function [-Wreturn= -type] =A0} =A0^ With this final error message Makefile:103: recipe for target 'vcfcnv.o' failed make: *** [vcfcnv.o] Error 1 =A0Bob May DNA Projects I2b L415, I2c L596 HG, Spriggs of Cleve SA Family & Tyler Surn= ame and ISOGG=A0YTree=20=09=09=20=09=20=20=20=09=09=20=20 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple