www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/15/07:34:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,WEIRD_PORT
X-Spam-Check-By: sourceware.org
Message-Id: <200901151232.n0FCWpSn002566@tyr.informatik.fh-fulda.de>
Date: Thu, 15 Jan 2009 13:32:51 +0100 (CET)
From: Siegmar Gross <Siegmar DOT Gross AT informatik DOT fh-fulda DOT de>
Reply-To: Siegmar Gross <Siegmar DOT Gross AT informatik DOT fh-fulda DOT de>
Subject: conflicting header files VendorSP.h and VendorP.h
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-HRZ-JLUG-MailScanner-Information: Passed JLUG virus check
X-HRZ-JLUG-MailScanner: No virus found
X-IsSubscribed: yes
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

Hi,

I have installed lam-7.1.4 and xmpi-2.2.3b8 on Cygwin-1.5.25.
Everything worked without problems for gcc-3.4.4. I've had smaller
problems with gcc-4.3.2 which I could solve as far as they were
related to lam-mpi/xmpi.

eiger lam-7.1.4 24 gcc-4 -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: ...
Thread model: single
gcc version 4.3.2 20080827 (alpha-testing) 1 (GCC) 


Unfortunately I couldn't solve a problem with conflicting header files
in the cygwin environment for xmpi.


./configure --prefix=/usr/local/lam-7.1.4-gcc-4 \
  --enable-shared --with-cxx=mpic++ \
  CFLAGS="" CXXFLAGS="" FFLAGS="" FCFLAGS="" \
  LDFLAGS="" CXXLDFLAGS="" \
  CPPFLAGS="" C_INCL_PATH="" C_INCLUDE_PATH="" CPLUS_INCLUDE_PATH="" \
  OBJC_INCLUDE_PATH="" LAMHOME="" \
  |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV
...


make |& tee log.make.$SYSTEM_ENV.$MACHINE_ENV

...
if mpic++ -DHAVE_CONFIG_H -I. -I. -I.  -I../../src
  -I/usr/X11R6/include   -O -MT xmpi_misc.o -MD -MP -MF
  ".deps/xmpi_misc.Tpo" \
          -c -o xmpi_misc.o `test -f 'xmpi_misc.cc' ||
   echo './'`xmpi_misc.cc; \
        then mv -f ".deps/xmpi_misc.Tpo" ".deps/xmpi_misc.Po"; \
        else rm -f ".deps/xmpi_misc.Tpo"; exit 1; \
        fi
In file included from /usr/X11R6/include/Xm/XmP.h:1646,
                 from /usr/X11R6/include/Xm/PrimitiveP.h:29,
                 from /usr/X11R6/include/Xm/SashP.h:29,
                 from xmpi_misc.cc:29:
/usr/X11R6/include/X11/VendorP.h:87: error: previous declaration
  of 'VendorShellClassRec vendorShellClassRec' with 'C++' linkage
/usr/X11R6/include/Xm/VendorSP.h:58: error: conflicts with new
  declaration with 'C' linkage
mpic++: No such file or directory
make[3]: *** [xmpi_misc.o] Error 1


I temporarily put the conflicting line in file
"/usr/X11R6/include/Xm/VendorSP.h" into a comment and could finish
the installation. Perhaps somebody knows how to fix the problem in
the cygwin distribution. Thank you very much for a fix in one of the
next distributions in advance.

Siegmar


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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