Bug 33574 - getarg and iargc seem to be required by mpich
Summary: getarg and iargc seem to be required by mpich
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-27 18:17 UTC by krishna
Modified: 2007-09-27 21:50 UTC (History)
2 users (show)

See Also:
Host: ia64-unknown-linux-gnu
Target: ia64-unknown-linux-gnu
Build: ia64-unknown-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description krishna 2007-09-27 18:17:01 UTC
Hi,

I compiled gcc and gfortran from svn trunk, revision: 128668, date:20070922.

I am compiling mpich and it complains unavailability of getarg and iargc. This problem seems to have been patched in older version. Did this problem reappear or am I doing something wrong?

thanks,
Krishna.
Comment 1 Paul Thomas 2007-09-27 18:49:53 UTC
After a bit of messing around, this is fixed on trunk.

Cheers

Paul
Comment 2 Paul Thomas 2007-09-27 18:50:51 UTC
Woops - wrong bug!

Paul
Comment 3 Paul Thomas 2007-09-27 18:51:18 UTC
Woops - wrong bug!

Paul
Comment 4 kargls 2007-09-27 21:50:46 UTC
(In reply to comment #0)
> Hi,
> 
> I compiled gcc and gfortran from svn trunk, revision: 128668, date:20070922.
> 
> I am compiling mpich and it complains unavailability of getarg and iargc. This
> problem seems to have been patched in older version. Did this problem reappear
> or am I doing something wrong?
> 

You need to fix the mpich source code.  It most likely contains an
EXTERNAL statement listing getarg and iargc.  Remove that line.

Also, instead of interpreting for us what the compiler complains about,
you should include the actual output, so we don't have to guess.