xap_UnixApp.cpp:85: cannot allocate an object of type `UnixNull_Graphics'

From: Martin Gansser (mgansser@ngi.de)
Date: Thu Jan 16 2003 - 08:40:17 EST

  • Next message: Randy Kramer: "Re: Gnome 2"

    I tried to compile the CVS Head on my hpux 11.00 with gcc-3.2, but it fails
    with the following errors:

    if
    g++ -DPACKAGE_NAME=\"AbiSuite\" -DPACKAGE_TARNAME=\"abisuite\" -DPACKAGE_VER
    SION=\"2.0\" -DPACKAGE_STRING=\"AbiSuite\
    2.0\" -DPACKAGE_BUGREPORT=\"http://www.abisource.com/\" -DPACKAGE=\"AbiSuite
    -2.0\" -DVERSION=\"1.1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_
    STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRING
    S_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H
    =1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=
    1 -DWORDS_BIGENDIAN=1 -DHAVE_LIBXML2=1 -DHAVE_WV=1 -DHAVE_ALLOCA_H=1 -DHAVE_
    ALLOCA=1 -DRETSIGTYPE=void -DHAVE_RE_COMP=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1
     -DHAVE_STRSTR=1 -DSETENV_MISSING=1 -I. -I. -UVERSION -I/opt/gtk2/include/gl
    ib-2.0 -I/opt/gtk2/lib/glib-2.0/include -I/opt/gtk2/include/gtk-2.0 -I/opt/g
    tk2/lib/gtk-2.0/include -I/opt/gtk2/include/atk-1.0 -I/opt/gtk2/include/pang
    o-1.0 -I/usr/include/X11R6 -I/opt/gtk2/include/glib-2.0 -I/opt/gtk2/lib/glib
    -2.0/include -I'../../../../src/af/util/xp' -I'../../../../src/af/ev/xp
    ' -I'../../../../src/af/ev/xp' -I'../../../../src/af/gr/xp' -I'../../../../s
    rc/af/xap/xp' -I'../../../../src/af/util/unix' -I'../../../../src/af/ev/unix
    ' -I'../../../../src/af/gr/unix' -I'../../../../src/af/xap/unix' -I'../../..
    /../src/wp/ap/xp' -I'../../../../src/wp/impexp/xp' -I'../../../../src/wp/ap/
    unix' -I'../../../../src/wp/ap/xp/ToolbarIcons' -I'../../../../src/text/ptbl
    /xp' -I'../../../../src/text/fmt/xp' -I'../../../../src/other/spell/xp' -I'.
    ./../../../src/other/fribidi/xp' -I'../../../../src/other/ttftool/unix' -Wal
    l -pedantic -ansi -D_POSIX_SOURCE -D_BSD_SOURCE -pipe -DDEBUG -DUT_DEBUG -DF
    MT_TEST -DUT_TEST -DPT_TEST -g -I/usr/local/include/libxml2 -I/usr/local/inc
    lude -DBIDI_ENABLED -I/users/mgansser/GNU/abiword/wv -DHAVE_THREADS=1 -D_REE
    NTRANT -I/opt/gtk2/include/glib-2.0 -I/opt/gtk2/lib/glib-2.0/include -I/opt/
    gtk2/include/glib-2.0 -I/opt/gtk2/lib/glib-2.0/include -I/opt/gtk2/include/g
    tk-2.0 -I/opt/gtk2/lib/gtk-2.0/include -I/opt/gtk2/include/atk-1.0 -I/opt/gt
    k2/include/pango-1.0 -I/usr/include/X11R6 -I/opt/gtk2/include/glib-2.0 -I/op
    t/gtk2/lib/glib-2.0/include -DSUPPORTS_UT_IDLE=1 -DABI_BUILD_VERSION=\"1.1.2
    \" -MT xap_UnixApp.o -MD -MP -MF ".deps/xap_UnixApp.Tpo" \
    -c -o xap_UnixApp.o `test -f 'xap_UnixApp.cpp' || echo './'`xap_UnixApp.cpp;
    \
    then mv ".deps/xap_UnixApp.Tpo" ".deps/xap_UnixApp.Po"; \
    else rm -f ".deps/xap_UnixApp.Tpo"; exit 1; \
    fi
    cc1plus: warning: changing search order for system directory
    "/usr/local/include"
    cc1plus: warning: as it has already been specified as a non-system directory
    xap_UnixApp.cpp: In constructor `XAP_UnixApp::XAP_UnixApp(XAP_Args*, const
    char*)':
    xap_UnixApp.cpp:85: cannot allocate an object of type `UnixNull_Graphics'
    xap_UnixApp.cpp:85: because the following virtual functions are abstract:
    ../../../../src/af/gr/xp/gr_Graphics.h:451: virtual void
    GR_Graphics::saveRectangle(UT_Rect&, unsigned int)
    ../../../../src/af/gr/xp/gr_Graphics.h:452: virtual void
    GR_Graphics::restoreRectangle(unsigned int)
    gmake[5]: *** [xap_UnixApp.o] Error 1
    gmake[5]: Leaving directory
    `/users/mgansser/GNU/abiword/abi/src/af/xap/unix'
    gmake[4]: *** [install-recursive] Error 1
    gmake[4]: Leaving directory
    `/users/mgansser/GNU/abiword/abi/src/af/xap/unix'
    gmake[3]: *** [install-recursive] Error 1
    gmake[3]: Leaving directory `/users/mgansser/GNU/abiword/abi/src/af/xap'
    gmake[2]: *** [install-recursive] Error 1
    gmake[2]: Leaving directory `/users/mgansser/GNU/abiword/abi/src/af'
    gmake[1]: *** [install-recursive] Error 1
    gmake[1]: Leaving directory `/users/mgansser/GNU/abiword/abi/src'
    gmake: *** [install-recursive] Error

    any help?

    thanks Martin

    -----------------------------------------------
    To unsubscribe from this list, send a message to
    abiword-user-request@abisource.com with the word
    unsubscribe in the message body.



    This archive was generated by hypermail 2.1.4 : Thu Jan 16 2003 - 08:46:52 EST