From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97467 invoked by alias); 21 Apr 2015 05:31:53 -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 97426 invoked by uid 89); 21 Apr 2015 05:31:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f169.google.com Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com) (209.85.212.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 21 Apr 2015 05:31:51 +0000 Received: by wiun10 with SMTP id n10so8148189wiu.1 for ; Mon, 20 Apr 2015 22:31:48 -0700 (PDT) X-Received: by 10.194.77.7 with SMTP id o7mr36830140wjw.95.1429594308092; Mon, 20 Apr 2015 22:31:48 -0700 (PDT) Received: from [192.168.2.108] (pD9E60EFB.dip0.t-ipconnect.de. [217.230.14.251]) by mx.google.com with ESMTPSA id k9sm17911784wia.6.2015.04.20.22.31.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2015 22:31:47 -0700 (PDT) Message-ID: <5535E0BA.3030800@gmail.com> Date: Tue, 21 Apr 2015 05:31:00 -0000 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "cygwin@cygwin.com" Subject: basename conflicting definitions Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00507.txt.bz2 Hi Corinna, building open-mpi on $ uname -svrm CYGWIN_NT-6.1 2.0.0(0.287/5/3) 2015-04-17 12:08 x86_64 I see a conflict from 2 header of $ cygcheck -f /usr/include/libgen.h /usr/include/string.h cygwin-devel-2.0.0-0.7 cygwin-devel-2.0.0-0.7 configure:59845: gcc -std=gnu99 -c -DNDEBUG -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/pub/devel/openmpi/openmpi-1.8.5pre2-1.x86_64/build=/usr/src/debug/openmpi-1.8.5pre2-1 -fdebug-prefix-map=/pub/devel/openmpi/openmpi-1.8.5pre2-1.x86_64/src/openmpi-1.8.5pre2=/usr/src/debug/openmpi-1.8.5pre2-1 -finline-functions -fno-strict-aliasing -fexceptions conftest.c >&5 In file included from conftest.c:429:0: /usr/include/libgen.h:18:14: error: conflicting types for 'basename' extern char *basename (char *path); ^ In file included from /usr/include/stdio.h:29:0, from conftest.c:396: /usr/include/string.h:172:7: note: previous declaration of 'basename' was here char *_EXFUN(basename,(const char *)) ^ Regards Marco -- 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