From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: warren Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: trying to compile samba-2.2.4 on Tru64 v5.1 Date: Wed, 15 May 2002 07:37:54 -0700 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <000201c1fc1e$196b10b0$6401a8c0@ws530> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01C1FBE3.6D0C38B0" X-Trace: main.gmane.org 1021473524 14407 127.0.0.1 (15 May 2002 14:38:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 May 2002 14:38:44 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 177zvP-0003k7-00 for ; Wed, 15 May 2002 16:38:43 +0200 Original-Received: (qmail 23298 invoked by uid 5); 15 May 2002 14:38:56 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 23290 invoked from network); 15 May 2002 14:38:56 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 15 May 2002 14:38:56 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GW50000CQ0V6C@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 15 May 2002 10:38:55 -0400 (EDT) Original-Received: from pantano.theriver.com (pantano.theriver.com [205.216.137.2]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GW5004FXQ0O6G@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 15 May 2002 10:38:49 -0400 (EDT) Original-Received: from ws530 (216-39-182-47.ip.theriver.com [216.39.182.47]) by pantano.theriver.com (Postfix) with ESMTP id 577BE1A5A96 for ; Wed, 15 May 2002 07:37:22 -0700 (MST) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:202 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:202 This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C1FBE3.6D0C38B0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Thanks to Paul Sand, Jesper Nemholt, Rob Leadbeater, Paul Crittenden, Tom Webster, and Daryl Cook for useful replies. I was able to get samba 2.2.4 to compile by using GNU make instead of Tru64's make. Also, the immediate structures patch is no longer required. The following was successful for building; no patches were needed on the source. (From the samba source directory): # env CC=cc ./configure # /usr/local/bin/make ------------------------------------------------------------------------ -- C.Warren warren@theriver.com -----Original Message--- > I am trying to compile samba 2.2.4 on Tru64 5.1, and get the following error: > # make > . > smbd/dir.c:625: macro `stat' used with too many (3) args > smbd/dir.c:693: macro `stat' used with too many (3) args > I did make the change which has been announced in several places, > to source/include/config.h .. changing > #define HAVE_IMMEDIATE_STRUCTURES 1 > to > /* #undef HAVE_IMMEDIATE_STRUCTURES */ > Can anyone offer a fix? Thanks for any assistance. ------=_NextPart_000_0003_01C1FBE3.6D0C38B0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

 

Thanks to Paul Sand, Jesper Nemholt, Rob Leadbeater, Paul Crittenden, Tom Webster, and Daryl Cook for useful replies. I was = able to get samba 2.2.4 to compile by using GNU make instead of Tru64’s = make.   Also, the immediate = structures patch is no longer required.   = The following was successful for building; no patches were needed on the = source.

 

(From the samba source = directory):

# env CC=3Dcc ./configure

# /usr/local/bin/make

 

------------------------------------------------------= --------------------

        = ;    C.Warren

        = ;    warren@theriver.com

 

 

-----Original Message---

> I am = trying to compile samba 2.2.4 on Tru64 5.1, and get the following = error:

 

> # = make

> …

> smbd/dir.c:625: macro `stat' used with too many (3) args

> smbd/dir.c:693: macro `stat' used with too many (3) args

 

> I did = make the change which has been announced in several = places,

> to source/include/config.h .. changing

> #define HAVE_IMMEDIATE_STRUCTURES 1

> to

> /* = #undef HAVE_IMMEDIATE_STRUCTURES */

 

> Can = anyone offer a fix?   Thanks for any assistance.

------=_NextPart_000_0003_01C1FBE3.6D0C38B0--