delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/21/01:32:12

X-Recipient: archive-cygwin AT delorie DOT 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:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=ZK7
EOK7OO+jyM5Y/rfPTcAHkG7FiZkrkcTEdt4735otJnkvSsPljyoKv/ZW/wmvL5GI
8FnkTWv9CbSCN7ti4HLGpjayoHnA4hQ7sOVBPzYLpmCZf6al/RL1zotCSCfCowqH
szXdbyHDNId3yZ1nPhR6rodtN4J6NEGvXG1kB4qA=
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:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=mUtpWXO6K
VdbWS2Zu+Z1KsgcG8U=; b=DGD02/bePbbyRl1iZ31xqdIeArnUjY9NUfdV2EvoT
lDYpRTSACo9xaXFS/X8SwUu69FZ58g3pcF5oJtSZ1BlDfUe19Q0yv3FBinugVfbn
UAayumPnZ6hrcji2e0Hl8+aFeRjlY7yIWkfHtDjGyNt5gi/hYcjNmm/kPk/zrp21
k8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
X-Received: by 10.194.77.7 with SMTP id o7mr36830140wjw.95.1429594308092; Mon, 20 Apr 2015 22:31:48 -0700 (PDT)
Message-ID: <5535E0BA.3030800@gmail.com>
Date: Tue, 21 Apr 2015 07:31:38 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
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 AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: basename conflicting definitions
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019