Subject: this is a workaround to compile abiword on hp-ux 10.20
From: Martin Gansser (mgansser@ngi.de)
Date: Sun Nov 11 2001 - 09:02:41 CST
abiword can built now on hp-ux 10.20, special thanks for help to Francis
James Franklin
this are the changes I made:
source: last CVS:
os: hp-ux 10.20
compiler: gcc-2.95.3
dynamic/static binary can built now on this platform
installed precompiled software: glib/gtk+-1.2.10; gettext-0.10.38;
libiconv-1.6.1; db-2.7.2
add library path to: abi/src/config/platforms/hpux.mk
===================================
OS_INCLUDES
= -I/usr/contrib/include -I/usr/local/include -I/opt/libpng/include -I/opt/z
lib/include
PLATFORM_FLAGS
= -L/usr/contrib/lib -L/usr/local/lib -L/opt/libpng/lib -L/opt/zlib/lib
and set built flags for dynamic and static
UNIX_CAN_BUILD_DYNAMIC=1
UNIX_CAN_BUILD_STATIC=1
add library path to: abi/src/wp/main/unix/Makefile
=================================
On line 75, the line after: include $(ABI_ROOT)/src/config/abi_rules.mk
adding the line
EXTRA_LIBS += -L/opt/libiconv/lib -liconv -L/opt/db-2.7.7/lib -ldb
declare the external use of snprintf in: abi/src/af/util/xp/ut_types.h
===================================================
by adding the following line:
UT_BEGIN_EXTERN_C
extern int snprintf(char *str, size_t size, const char *format, ...);
UT_END_EXTERN_C
binaries for hp-ux 10.20
================
Please tell me, if someone is interested on binaries for hp-ux 10.20.
problems by building with gcc-3.0.1
========================
I told the gcc bug list the error with gcc-3.0.1
compilation-Error:'non-virtual thunk to IE_Imp_AbiWord_1::startElement(char
const*, char const**)(data)'
here this is the answer:
I think you should send this to the abiword people, or, failing that,
to the GCC users' mailing list: help-gcc@gnu.org. This is gated to
the news group, gnu.gcc.help. You can subscribe to the mailing list
by sending the word "subscribe" to the address
help-gcc-request@gnu.org.
You can find a complete list of our mailing lists and newsgroups on
our web site at http://www.gnu.org/prep/mailinglists.html.
Good luck and happy hacking!
thanks Martin
Martin Gansser
mgansser@ngi.de
This archive was generated by hypermail 2b25 : Sun Nov 11 2001 - 09:07:56 CST