X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:from:to:subject:date:content-type
	:content-transfer-encoding:mime-version; q=dns; s=default; b=B16
	d2QWU7+1iVacg+CFY1kc/+Nz0JRXoDQKH9G6IxiOF31mIgiCKHLXf1gMHrJtJQii
	pfX0gBm1YZCt6XeW/RHOUiMlvr1btbVB34o5DyEJEzb65nuSAvbkN+Ve/FJiVAu0
	dkrq7gLvrF+BWr5bM57VUIi3Bd+8w+n1VuaSK/OE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:from:to:subject:date:content-type
	:content-transfer-encoding:mime-version; s=default; bh=hXqP7gi/m
	yJOEi2QKkQZyyPxp4I=; b=tRRw0EnlozWC3A2rt/d5oQCACey9etIbMqBdtqkpw
	BarlI99f7nwnFWxFT3amzomi/NPrf9tEuWXK4BYChaYKR1qiBxpajQ6qpmaaYS0q
	J30dzDrNpwvF5ICGa066s9F1a9Wvprme70xFYZpBEU2MgBIMe24eU/OH4VxMSNUz
	w8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=lpthread, prominent, family, HImportance:Normal
X-HELO: mail-pf0-f181.google.com
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=Vz10f6joTQmvR7IsigTj7WrXwjB8LHCkkgEmHn9uaBg=;        b=kULC+cSWbYt3rLbJsy0UFd+4WjPFv7sFrNyYGsklxI95IR9hCjASLLWnnPT0zxK0o6         FItNe0tZCYWgwnLg/ksbjia8ixMnolWUIwAanWH5HKSE4i+/hCaBXxekJtyJVZyrAqxO         zXLlchBgOXbiT1Qof0rIIh1ZuTzBCUuPD8lmYIqqHmmN3AEgZZcL/4u5LUFoC6amptb5         1iqJDloQ+7E6gc+UTZC3+aERUnnloKaxHlIMVssiUNm4Y1C1eIUPnDJED7Kajes6U36n         hhTMb/cbcwjOqzvN+ljqtyMBjE6vcMbymP1tpNqVMdsUf1O5BCHocaPxr03N0YvK9MD3         T8IA==
X-Gm-Message-State: AG10YOQnVKrCEJ3Q+vqKmnJARmrzffG4tN+RtGzPGlWgj2CMHllVj8qhpqVMb6vn0y/M7Q==
X-Received: by 10.98.44.195 with SMTP id s186mr40443867pfs.0.1453870390202;        Tue, 26 Jan 2016 20:53:10 -0800 (PST)
X-TMN: [P4zNMaLjsXWPuMnxH19UzPUhLz1XMhSH]
Message-ID: <BAY175-W34875F1AEC9896102CA3A3ADD90@phx.gbl>
From: Robert May <tpibob@gmail.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: bcftools error running Make after installing update 2.4.1.1 to Cygwin64
Date: Wed, 27 Jan 2016 14:53:08 +1000
Content-Type: text/plain; charset="Windows-1252"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u0R4rvTD015052

I have had another look at Makefile and I changed c to gnu in this line 40 -std=gnu99
CFLAGS   = -g -Wall -Wc++-compat -O2  -std=gnu99

I had also removed -rdynamic in  line 185 so it now reads
$(CC)  $(LDFLAGS) -o $@ $(OBJS) $(HTSLIB) -lpthread -lz -lm -ldl $(GSL_LIBS) $(LIBS)

and ran make again

Like sametools it has many warning essages about ‘expl’, ‘alloca’, ‘fileno’, ‘char’, this last one being the most prominent and ends with 

prob1.o: In function `mc_cal_y':
/usr/local/bin/bcftools-1.3/prob1.c:320: undefined reference to `expl'
/usr/local/bin/bcftools-1.3/prob1.c:320:(.text+0x1842): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `expl'
collect2: error: ld returned 1 exit status
Makefile:185: recipe for target 'bcftools' failed
make: *** [bcftools] Error 1

this is the same error message as in samtools collect2: error: ld returned 1 exit status
but a different culprit prob1.o: In function `mc_cal_y':


 Bob May
DNA Projects I2b L415, I2c L596 HG, Spriggs of Cleve SA Family & Tyler Surname and ISOGG YTree 		 	   		  
--
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


