axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terry Wilson" <otherwise...@gmail.com>
Subject Re: Trunk problems compiling universal binary for OS X leopard
Date Wed, 11 Jul 2007 05:39:52 GMT
On 7/10/07, Samisa Abeysinghe <samisa@wso2.com> 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
*).

Mime
View raw message