Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 98421 invoked from network); 11 Jul 2007 05:40:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jul 2007 05:40:14 -0000 Received: (qmail 67210 invoked by uid 500); 11 Jul 2007 05:40:17 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 67053 invoked by uid 500); 11 Jul 2007 05:40:17 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 67040 invoked by uid 99); 11 Jul 2007 05:40:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2007 22:40:17 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_AHBL_RHSBL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of otherwiseguy@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2007 22:40:13 -0700 Received: by py-out-1112.google.com with SMTP id a25so3204402pyi for ; Tue, 10 Jul 2007 22:39:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=dJ6ZLL/zPjfzwjwUTvn9pBYVCaqu0Pr1dbO0z/P8S/hpD7MF0VAOaAazixzmT/bRpvPuRsmcLXM5uNC5LZLpiwtb1Xh+BsJIHHpVrcBNnhIs7EupkjHvSfiUj9yJ+OMLtX7CM1jfdtEzUX1fWYIAxlDgFmDePeZ5+tR1+/nRIUA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=SD7HdCnlMJhNK60g5ouIteJh5JFHZas9AARg0p1Jk4pVlqsAogPeOdyi6vsOwT+uS7o8bDPzopyyfvQNDP82u8kPO6OZwOFBFfGJyBulNTE5RlYCdGABv5MJwhUkBsjb6N6ndTTAZ3Hi0emPYvN2GbLi0ucPXeymM/URiDqgCmQ= Received: by 10.35.93.1 with SMTP id v1mr9860529pyl.1184132392717; Tue, 10 Jul 2007 22:39:52 -0700 (PDT) Received: by 10.35.41.20 with HTTP; Tue, 10 Jul 2007 22:39:52 -0700 (PDT) Message-ID: Date: Wed, 11 Jul 2007 00:39:52 -0500 From: "Terry Wilson" To: "Apache AXIS C Developers List" Subject: Re: Trunk problems compiling universal binary for OS X leopard In-Reply-To: <46943467.70605@wso2.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_120221_31346954.1184132392674" References: <46943467.70605@wso2.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_120221_31346954.1184132392674 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/10/07, Samisa Abeysinghe wrote: > Terry Wilson wrote: > > When trying to compile axis2c to create a 4-way universal binary > > (ppc/x86 32/64-bit) under OS X leopard: > > > > env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 > > -arch ppc7400 -arch x86_64 -arch ppc64" LDFLAGS="-arch i386 -arch > > ppc7400 -arch x86_64 -arch ppc64" ./configure > > --disable-dependency-tracking --with-apache2=/usr/include/apache2 > > --with-apr=/usr/include/apr-1 > > > > the following compile error (warning, but -Werror) occurs which halts > > compilation for 64-bit: > > > > uuid_gen_unix.c:313: warning: cast to pointer from integer of > > different size > > Anyway, thanks for the help and let me know if there is anything I can > > do to help (test patches, etc.). > You are always welcome to provide patches :) And your comments and > feedback are always welcome. Ok. Patch attached. :-) I think I found the problem. Compiles cleanly after adding proper header and casting to (struct ether_addr *). ------=_Part_120221_31346954.1184132392674 Content-Type: text/plain; name=MacOSX_64bit_uuid_gen_unix.c.patch.txt; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_f3zbwd5d Content-Disposition: attachment; filename="MacOSX_64bit_uuid_gen_unix.c.patch.txt" SW5kZXg6IHV0aWwvc3JjL3BsYXRmb3Jtcy91bml4L3V1aWRfZ2VuX3VuaXguYwo9PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 Ci0tLSB1dGlsL3NyYy9wbGF0Zm9ybXMvdW5peC91dWlkX2dlbl91bml4LmMJKHJldmlzaW9uIDU1 NTE0OCkKKysrIHV0aWwvc3JjL3BsYXRmb3Jtcy91bml4L3V1aWRfZ2VuX3VuaXguYwkod29ya2lu ZyBjb3B5KQpAQCAtMzUsNiArMzUsNyBAQAogIyAgaW5jbHVkZSA8c3lzL3NvY2tpby5oPgogIyAg aW5jbHVkZSA8bmV0L2lmLmg+CiAjICBpbmNsdWRlIDxuZXQvaWZfYXJwLmg+CisjICBpbmNsdWRl IDxuZXQvZXRoZXJuZXQuaD4KICMgZW5kaWYKICMgaWZkZWYgSEFWRV9ORVRfSUZfVFlQRVNfSAog IyAgaW5jbHVkZSA8bmV0L2lmX3R5cGVzLmg+CkBAIC0zMTAsNyArMzExLDcgQEAKICAgICAgICAg ICAgIC8qIGp1c3QgdGFrZSB0aGUgZXRoZXJuZXQgYWRhcHRlcnMgKi8KICAgICAgICAgICAgIGlm IChzZGwtPnNkbF90eXBlID09IElGVF9FVEhFUikKICAgICAgICAgICAgIHsKLSAgICAgICAgICAg ICAgICBtYWNhZGRyID0gKGNoYXIgKilldGhlcl9udG9hKExMQUREUihzZGwpKTsKKyAgICAgICAg ICAgICAgICBtYWNhZGRyID0gZXRoZXJfbnRvYSgoc3RydWN0IGV0aGVyX2FkZHIgKikgTExBRERS KHNkbCkpOwogICAgICAgICAgICAgfQogICAgICAgICB9CiAgICAgICAgIGNwICs9IHNpemVvZihp ZnItPmlmcl9uYW1lKSArIG1heChzaXplb2YoaWZyLT5pZnJfYWRkciksIGlmci0+aWZyX2FkZHIu c2FfbGVuKTsK ------=_Part_120221_31346954.1184132392674 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org ------=_Part_120221_31346954.1184132392674--