Re: BEOS builds


Subject: Re: BEOS builds
From: James Montgomerie (jamie@montgomerie.net)
Date: Tue Jun 13 2000 - 10:40:54 CDT


The problem is on the abi side, not the wv side (see the
attached error). Something in the abi heirachy is
including getopt.h, and it's conflicting with an
already-defined definition of getopt. The solution is
to create a new directory in wv called 'getopt-wv', move
all the files matching getopt* into it, then change
Makefile.in line 79 to read:

CFLAGS = @CFLAGS@ @DEFS@ @ZLIB_CFLAGS@ -I. -I./
-I$(srcdir)/ -I$(srcdir)/getopt-wv/ -I$(srcdir)/iconv/
-I$(srcdir)/magick/ -I$(srcdir)/expat/xmlparse/
@TTF_CFLAGS@ @WMF_CFLAGS@ -DTTFDIR=\"$(libdir)/wv/ttf\"
-DXMLCONFIG=\"$(libdir)/wv/wvConfig.xml\"
-DHTMLCONFIG=\"$(libdir)/wv/wvHtml.xml\"

I've tried this on Linux, and both wv and AbiWord still
build. I think it will fix BeOS PPC. Whether we want a
BeOS 0.7.10, with all the reported 'usability' problems,
is another matter :-(

Jamie.

### mwcc Compiler Error:
# extern int getopt ();
# ^
# illegal function overloading
#----------------------------------------------------------
    File
"/boot/home/work/tbscripts/BeOS_4.5_clobber/wv/getopt.h";
Line 122
# while compiling
"/boot/home/work/tbscripts/BeOS_4.5_clobber/abi/src/wp/impexp/xp/ie_imp.cpp"
#----------------------------------------------------------

-----------------------------------------------------
This mail sent through IMP: http://web.horde.org/imp/



This archive was generated by hypermail 2b25 : Tue Jun 13 2000 - 10:41:03 CDT