Newsgroups: comp.parallel.mpi
From: jackg@downhaul.crc.ricoh.com (Jack Greenbaum)
Reply-To: jackg@crc.ricoh.com
Subject: Re: Help: building MPICH on Sun4
Organization: RICOH California Research Center
Date: 11 Feb 1995 00:59:59 GMT
Message-ID: <JACKG.95Feb10165959@downhaul.crc.ricoh.com>

In article <3hgq0d$697@vixen.cso.uiuc.edu> gardner@pink-panther.cs.uiuc.edu (Mark K. Gardner) writes:

   From: gardner@pink-panther.cs.uiuc.edu (Mark K. Gardner)
   Newsgroups: comp.parallel.mpi
   Date: 10 Feb 1995 22:40:13 GMT
   Organization: University of Illinois at Urbana

   I am trying to build MPICH on a Sun4 using the defaults selected by 
   configure (arch=sun4, device=ch_p4).  Everthing seems to go smoothly 
   for a while and then make dies:

	   making p4 in directory alog
	   make ../lib/libp4.a mergelogs
	   cc -g -I../include  -DSUN -I../include -c alog.c 
	   cc -g -I../include  -DSUN -I../include -c alogf.c 
	   ar lruv ../lib/libp4.a alog.o alogf.o
	   c - alog.o
	   c - alogf.o
	   ranlib ../lib/libp4.a
	   cc -g -I../include  -DSUN -c mergelogs.c 
	   cc  -g -I../include  -DSUN -o mergelogs mergelogs.o
	   ld: Undefined symbol
		   start_float
		   ___udivdi3
		   ___umoddi3

   It appears that some there are some things that are not available on 
   the Sun4 that are required for certain files to be made.  Has anyone 
   else had this problem?  What are the fixes?  Has anyone successfully 
   built MPICH on this platform?  Any help would be appreciated.  Thanks.

___udivdi3 and ___umoddi3 are internal functions used by gcc, but your
post shows that cc is being used. Is it possible that cc has been
aliased on your system, and/or that gcc has been improperly installed?

You don't say what version of MPICH or SunOs you are running. I had no
trouble compiling MPICH v1.0.5 on my SunOs 4.1.3 box with gcc 2.6.3. I
just tried compileing mergelogs from MPICH v1.0.5 with cc and had no
trouble either.

Jack Greenbaum -- Research Engineer, Ricoh California Research Center
---------------------------------------------------------------------
Digital: jackg@crc.ricoh.com   |  http://www.crc.ricoh.com/~jackg
---------------------------------------------------------------------
Analog:  (415) 496-5711 voice  |  2882 Sand Hill Rd. Suite 115
         (415) 854-8740 fax    |  Menlo Park, CA 94025-7002
---------------------------------------------------------------------






--
Jack Greenbaum -- Research Engineer, Ricoh California Research Center
---------------------------------------------------------------------
Digital: jackg@crc.ricoh.com   |  http://www.crc.ricoh.com/~jackg
---------------------------------------------------------------------
Analog:  (415) 496-5711 voice  |  2882 Sand Hill Rd. Suite 115
         (415) 854-8740 fax    |  Menlo Park, CA 94025-7002
---------------------------------------------------------------------


-- 
Jack Greenbaum -- Research Engineer, Ricoh California Research Center
---------------------------------------------------------------------
Digital: jackg@crc.ricoh.com   |  http://www.crc.ricoh.com/~jackg
---------------------------------------------------------------------

