redundant redeclaration of some functions in mpi.h and mpio.h

Bug #415096 reported by Frisco Rose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mpich (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: libmpich1.0-dev

Description: Ubuntu 9.04
Release: 9.04

libmpich1.0-dev:
  Installed: 1.2.7-9ubuntu1
  Candidate: 1.2.7-9ubuntu1
  Version table:
 *** 1.2.7-9ubuntu1 0
        500 http://us.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status
     1.2.7-8 0
        500 http://us.archive.ubuntu.com hardy/universe Packages

I should get no warnings when compiling against this library, but I get 'redundant redeclaration' for these function prototypes.

I have a quick fix for package libmpich1.0-dev, it may not be the best but it seems to work. diff of /usr/lib/mpich/include/mpi.h is below:

482,483d481
< int MPI_Type_create_subarray(int, int *, int *, int *, int, MPI_Datatype, MPI_Datatype *);
< int MPI_Type_create_darray(int, int, int, int *, int *, int *, int *, int, MPI_Datatype, MPI_Datatype *);
636,637d633
< int PMPI_Type_create_subarray(int, int *, int *, int *, int, MPI_Datatype, MPI_Datatype *);
< int PMPI_Type_create_darray(int, int, int, int *, int *, int *, int *, int, MPI_Datatype, MPI_Datatype *);

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: libmpich1.0-dev 1.2.7-9ubuntu1 [modified: usr/lib/mpich/include/mpi.h]
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: mpich
Uname: Linux 2.6.28-14-generic i686

Revision history for this message
Frisco Rose (friscorose) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.