I took abi post 0.99.3 from CVS on March 25, late afternoon (in Europe).
This partly because with official 0.99.3, I had problems with spelling
and by the way this problem is not solved: still all words in any
language are considered as bad.
But this time also, I wanted to get it for IRIX 6.5 and it was easy to
have it compile. It may be that these corrections also applies for other
architectures and thus I give you a small report.
1. Compilation stops immediately as our gcc has no -pipe option for
IRIX. Thus I had to remove it from src/config/abi_defs.mk. I do not see
the necesity for it even for other platforms !
2. PATH_MAX is not defined with the include files present for IRIX, thus
I had to modify src/config/platforms/irix64.mk to include PATH_MAX=1024
in the PORT_FLAGS
3. The compilation fails in src/text/fmt/xp with
fv_View.cpp: In method `void FV_View::processSelectedBlocks(enum
List_Type)':
fv_View.cpp:2330: ANSI C++ forbids comparison between pointer and
integer
fv_View.cpp: In method `void FV_View::getTopRulerInfo(class
AP_TopRulerInfo *)':
4. Compilation error with alphasort declaration missing, just had to
add -DSCANDIR_MISSING to PORT_FLAGS in irix64.mk
5. Then at the end link fails because setenv is missing, just had to add
-DSETENV_MISSING to PORT_FLAGS in irix64.mk and removing .o files where
setenv was used (only one, xap_UnixEncodingManager.o)
I attache the diff file for the config/irix64.mk and for fv_View.cpp.
Please think of removing -pipe option and decide for the best.
Amicalement.
Philippe.
*** src/text/fmt/xp/fv_View.cpp.~1.620.~ Mon Mar 25 04:16:47 2002
--- src/text/fmt/xp/fv_View.cpp Tue Mar 26 09:36:35 2002
***************
*** 2327,2333 ****
{
pBlock->resumeList(pPrev);
}
! else if(pBlock->isListItem()== NULL)
{
XML_Char* cType = pBlock->getListStyleString(listType);
pBlock->StartList(cType);
--- 2327,2333 ----
{
pBlock->resumeList(pPrev);
}
! else if(pBlock->isListItem()== false)
{
XML_Char* cType = pBlock->getListStyleString(listType);
pBlock->StartList(cType);
*** src/config/platforms/irix64.mk.~1.12.~ Sun Nov 11 15:59:26 2001
--- src/config/platforms/irix64.mk Mon Mar 25 18:21:58 2002
***************
*** 65,71 ****
# Compiler flags
PLATFORM_FLAGS =
! PORT_FLAGS = -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -D_XOPEN_SOURCE
OS_CFLAGS = $(DSO_CFLAGS) $(PLATFORM_FLAGS) $(PORT_FLAGS)
PLATFORM_FLAGS +=
--- 65,71 ----
# Compiler flags
PLATFORM_FLAGS =
! PORT_FLAGS = -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -D_XOPEN_SOURCE -DPATH_MAX=1024
OS_CFLAGS = $(DSO_CFLAGS) $(PLATFORM_FLAGS) $(PORT_FLAGS)
PLATFORM_FLAGS +=
*** src/config/abi_defs.mk.~1.180.~ Fri Mar 8 16:27:28 2002
--- src/config/abi_defs.mk Mon Mar 25 18:09:01 2002
***************
*** 604,610 ****
GNOME_LIBS := $(shell $(GTK_CONFIG) --libs)
# These also might be needed: -lSM -lICE
GTK_CFLAGS := $(shell $(GTK_CONFIG) --cflags)
! GNOME_CFLAGS += $(GTK_CFLAGS) -pipe
GNOME_LIBS += $(shell $(GNOME_CONFIG) --libs-only-L gnome gal gdk_pixbuf)
GNOME_LIBS += -lgnomeui -lgnomeprint -lgal -lart_lgpl -lgdk_imlib -lgnome -lgnomesupport -lxml -lglade-gnome -lglade -lgnomecanvaspixbuf -lgdk_pixbuf -ltiff -ljpeg
#
--- 604,610 ----
GNOME_LIBS := $(shell $(GTK_CONFIG) --libs)
# These also might be needed: -lSM -lICE
GTK_CFLAGS := $(shell $(GTK_CONFIG) --cflags)
! GNOME_CFLAGS += $(GTK_CFLAGS)
GNOME_LIBS += $(shell $(GNOME_CONFIG) --libs-only-L gnome gal gdk_pixbuf)
GNOME_LIBS += -lgnomeui -lgnomeprint -lgal -lart_lgpl -lgdk_imlib -lgnome -lgnomesupport -lxml -lglade-gnome -lglade -lgnomecanvaspixbuf -lgdk_pixbuf -ltiff -ljpeg
#