cannot build lyx on AIX

cannot build lyx on AIX

Post by Martin Stenze » Fri, 13 Sep 2002 04:32:25



Hi there,

I try to build lyx on AIX 4.3.3 with the GNU tools (come first in PATH)
provided by IBM's Toolbox
(gcc version 2.9-aix51-020209).

When compiling 1.1.6fix4 I receive:

g++ -O2 -fsigned-char -o lyx BufferView.o BufferView2.o
BufferView_pimpl.o Bullet.o Chktex.o ColorHandler.o CutAndPaste.o
DepTable.o FloatList.o Floating.o FontInfo.o FontLoader.o LColor.o
LaTeX.o LaTeXFeatures.o LaTeXLog.o LyXAction.o LyXSendto.o LyXView.o
MenuBackend.o Painter.o PainterBase.o Sectioning.o Spacing.o TextCache.o
Timeout.o ToolbarDefaults.o UpdateInset.o Variables.o WorkArea.o
bmtable.o buffer.o bufferlist.o bufferparams.o bufferview_funcs.o
chset.o combox.o converter.o counters.o credits.o credits_form.o debug.o
encoding.o exporter.o filedlg.o font.o form1.o gettext.o importer.o
intl.o kbmap.o kbsequence.o language.o lastfiles.o layout.o
layout_forms.o log_form.o lyx.o lyx_cb.o lyx_gui.o lyx_gui_misc.o
lyx_main.o lyx_sty.o lyxcursor.o lyxfont.o lyxfr0.o lyxfr1.o lyxfunc.o
lyxlex.o lyxlex_pimpl.o lyxlookup.o lyxrc.o lyxrow.o lyxserver.o lyxvc.o
main.o minibuffer.o paragraph.o print_form.o screen.o sp_form.o
spellchecker.o tabular.o tabular-old.o tex-accent.o tex-strings.o
texrow.o text.o text2.o tracer.o trans.o trans_mgr.o undo.o vc-backend.o
vspace.o mathed/.libs/libmathed.a insets/.libs/libinsets.a
graphics/.libs/libgraphics.a frontends/.libs/libfrontends.a
../src/frontends/xforms/.libs/libxforms.a frontends/.libs/libfrontends.a
frontends/support/.libs/libfrontendsupport.a support/.libs/libsupport.a
../sigc++/.libs/libsigc.a -lintl -lforms -lXpm -lSM -lICE -liberty -lc
-lm -L/usr/lib -lX11
ld: 0711-783 WARNING: TOC overflow. TOC size: 70328     Maximum size:
65536
        Extra instructions are being generated for each reference to a
TOC
        symbol if the symbol is in the TOC overflow area.
ld: 0711-781 ERROR: TOC overflow. TOC size: 70328       Maximum size:
65536
collect2: ld returned 12 exit status

Note that I give the -bbigtoc -Xlinker directive.

When compiling 1.2.1 I receive:

g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../../boost
-O2 -fsigned-char -c insetexternal.C -Wp,-MD,.deps/insetexternal.TPlo
../../src/frontends/Dialogs.h:191: Internal compiler error.
../../src/frontends/Dialogs.h:191: Please submit a Problem Report to
Cygnus Solutions with send-pr.
gmake[3]: *** [insetexternal.lo] Error 1
gmake[3]: Leaving directory
`/usr/opt/freeware/src/packages/BUILD/lyx-1.2.1/src/insets'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/opt/freeware/src/packages/BUILD/lyx-1.2.1/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/opt/freeware/src/packages/BUILD/lyx-1.2.1/src'
gmake: *** [all-recursive] Error 1

Both the TOC overflow which does not honor the -bbigtoc option and the
Internal compiler error
are not very helpful.

Any suggestions?

Thanks in advance, Martin.

-- -- -- -- -- -- -- -- -- --
 M. Stenzel, Berlin, Germany

-- -- -- -- -- -- -- -- -- --

 
 
 

cannot build lyx on AIX

Post by Gary R. Hoo » Sat, 14 Sep 2002 05:25:48



> g++ -O2 -fsigned-char -o lyx BufferView.o BufferView2.o
> BufferView_pimpl.o Bullet.o Chktex.o ColorHandler.o CutAndPaste.o
> DepTable.o FloatList.o Floating.o FontInfo.o FontLoader.o LColor.o
> LaTeX.o LaTeXFeatures.o LaTeXLog.o LyXAction.o LyXSendto.o LyXView.o
> MenuBackend.o Painter.o PainterBase.o Sectioning.o Spacing.o TextCache.o
> Timeout.o ToolbarDefaults.o UpdateInset.o Variables.o WorkArea.o
> bmtable.o buffer.o bufferlist.o bufferparams.o bufferview_funcs.o
> chset.o combox.o converter.o counters.o credits.o credits_form.o debug.o
> encoding.o exporter.o filedlg.o font.o form1.o gettext.o importer.o
> intl.o kbmap.o kbsequence.o language.o lastfiles.o layout.o
> layout_forms.o log_form.o lyx.o lyx_cb.o lyx_gui.o lyx_gui_misc.o
> lyx_main.o lyx_sty.o lyxcursor.o lyxfont.o lyxfr0.o lyxfr1.o lyxfunc.o
> lyxlex.o lyxlex_pimpl.o lyxlookup.o lyxrc.o lyxrow.o lyxserver.o lyxvc.o
> main.o minibuffer.o paragraph.o print_form.o screen.o sp_form.o
> spellchecker.o tabular.o tabular-old.o tex-accent.o tex-strings.o
> texrow.o text.o text2.o tracer.o trans.o trans_mgr.o undo.o vc-backend.o
> vspace.o mathed/.libs/libmathed.a insets/.libs/libinsets.a
> graphics/.libs/libgraphics.a frontends/.libs/libfrontends.a
> ../src/frontends/xforms/.libs/libxforms.a frontends/.libs/libfrontends.a
> frontends/support/.libs/libfrontendsupport.a support/.libs/libsupport.a
> ../sigc++/.libs/libsigc.a -lintl -lforms -lXpm -lSM -lICE -liberty -lc
> -lm -L/usr/lib -lX11
> ld: 0711-783 WARNING: TOC overflow. TOC size: 70328     Maximum size:
> 65536
>         Extra instructions are being generated for each reference to a
> TOC
>         symbol if the symbol is in the TOC overflow area.
> ld: 0711-781 ERROR: TOC overflow. TOC size: 70328       Maximum size:
> 65536
> collect2: ld returned 12 exit status

> Note that I give the -bbigtoc -Xlinker directive.

Maybe I'm blind, but I don't see either of these options in the
command line above.  And since that's what the linker does when
you don't specify -bbigtoc, I'd say that you didn't do so, even if
you think you did.

--
Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE
________________________________________________________________________