Am Samstag, den 06.10.2007, 19:37 +1000 schrieb Brad Hards: > Dan identified that there were problems building OpenChange on an AMD64 > (x86_64) box. I certainly saw that with Fedora 7 on my x86_64 box. > > I've got it partly sorted though. There are really two problems - we need to > use -fPIC and we need to make sure that we link to the 64 bit libs (i.e. > from /usr/lib64) when trying to build. > > man gcc says: > -fPIC > If supported for the target machine, emit position-independent > code, suitable for dynamic linking and avoiding any limit on the size of the > global offset table. This option makes a difference on the m68k, PowerPC and > SPARC. > Position-independent code requires special support, and therefore > works only on certain machines. > > It looks like we should use -fPIC for shared libraries on x86_64. > > Also, there are a couple of places where we have dependencies on the library, > and there is some kind of libtool interaction. I didn't see why -lpopt made a > sensible dependency, so I just moved it to the build line. AFAIK libtool isn't used at any point in the toolchain - where were you seeing it?
The warnings for libmapi/utf8_convert.yy.o should be fixable by changing "CFLAGS=" to CFLAGS+=-Wno-all" or something. Cheers, Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://samba.org/~jelmer/ Jabber: [EMAIL PROTECTED]
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ devel mailing list [email protected] http://mailman.openchange.org/listinfo/devel
