From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id E983531402 for ; Wed, 1 Nov 2000 14:48:12 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eA1JmCf17659 for axp-list@listman.redhat.com; Wed, 1 Nov 2000 14:48:12 -0500 Received: from atipa.com ([64.64.30.2]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eA1JmCD17651 for ; Wed, 1 Nov 2000 14:48:12 -0500 Received: from atipa.com (firewall.atipa [192.168.1.1]) by atipa.com (8.10.1/8.10.1) with ESMTP id eA1Jm9P21660 for ; Wed, 1 Nov 2000 13:48:09 -0600 Message-ID: <3A00747D.4C5F5977@atipa.com> Date: Wed, 01 Nov 2000 14:52:29 -0500 From: arthur m coucouvitis Organization: ATIPA Linux Solutions, Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: A few questions about compiling code and performance References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors hi, maybe i can help witrh the 3rd ? > ...Any ideas about why this error occurs? > > f77 -O4 \ > -o dimension dimension.f epsprg.o > param.h: In program `dimension': > In file included from dimension.f:39: > param.h:26: > parameter (nbound=max(nbins,ndatar)) > ^ > Invalid declaration of or reference to symbol `max' at (^) [initially seen > at (^)] > make: *** [dimension] Error 1 max is a macro defined in a system include file. the error can be fixed by adding 'include ' to dimension.f, where file-name is the name of the file containing the definition of map(). to find the file, you could try: grep -w map /usr/include/*.h grep -w map /usr/include/*/*.h, etc good luck, -- arthur m coucouvitis ATIPA Linux Solutions, Inc. tel: 603 622-7171 x 15 850 East Industrial Park Drive fax: 603 622-7272 Suite 8, Manchester, NH 03109 http://www.dcginc.com http:/www.atipa.com