I seem to be having some difficulty compiling lyx with shared libraries
only, as I want to create a package for debian for sparc processors. Is
this normally possible?

The attachment lyxbug2 (excuse the name, just my naming convention)
contains the output from the compiler when it started to generate
errors.

I seem to be missing  confdefs.h, any ideas where to obtain it on the
web, I thought it came with libg++ and libiberty?

Here's the relevant section in config.log:



configure: In function `int main()':
configure:2644: no matching function for call to
`basic_string<char,string_char_traits<char>,__default_alloc_template<true,0>
>::compare (unsigned int, int, char[2])'

configure: failed program was:
#line 2633 "configure"
#include "confdefs.h"

            #include <string>
            using std::string;

int main() {

            string a("hello there");
            a.erase();
            a = "hey";
            char s[] = "y";
            int t = a.compare(a.length() - 1, 1, s);
            a.erase();

; return 0; }


Thanks in advance,

Peter Firmstone.
ng directory `/home/peter/lyx-1.1.5/src'
/bin/sh ../libtool --mode=link g++  -g -O2 -fno-rtti -fno-exceptions  -o lyx  
BufferView.o BufferView2.o BufferView_pimpl.o Bullet.o Chktex.o ColorHandler.o 
CutAndPaste.o DepTable.o FontInfo.o FontLoader.o ImportLaTeX.o ImportNoweb.o LColor.o 
LaTeX.o LaTeXFeatures.o LaTeXLog.o Literate.o LyXAction.o LyXSendto.o LyXView.o 
Painter.o PainterBase.o PaperLayout.o ParagraphExtra.o Spacing.o TableLayout.o 
TabularLayout.o TextCache.o ToolbarDefaults.o UpdateInset.o WorkArea.o bmtable.o 
buffer.o bufferlist.o bufferparams.o bufferview_funcs.o bullet_forms.o 
bullet_forms_cb.o chset.o combox.o credits.o credits_form.o debug.o filedlg.o font.o 
form1.o intl.o kbmap.o kbsequence.o language.o lastfiles.o latexoptions.o layout.o 
layout_forms.o lyx.o lyx_cb.o lyx_gui.o lyx_gui_misc.o lyx_main.o lyx_sendfax.o 
lyx_sendfax_main.o lyx_sty.o lyxfont.o lyxfr0.o lyxfr1.o lyxfunc.o lyxlex.o 
lyxlex_pimpl.o lyxlookup.o lyxrc.o lyxserver.o lyxvc.o main.o menus.o minibuffer.o 
paragraph.o print_form.o screen.o sp_form.o spellchecker.o table.o tabular.o 
tex-accent.o tex-strings.o texoptions.o texrow.o text.o text2.o toolbar.o tracer.o 
trans.o trans_mgr.o undo.o vc-backend.o vspace.o mathed/libmathed.la 
insets/libinsets.la support/libsupport.la ../intl/libintl.a -lforms -lXpm  -lSM -lICE 
-lc -lm -L/usr/X11R6/lib -lX11
g++ -g -O2 -fno-rtti -fno-exceptions -o lyx BufferView.o BufferView2.o 
BufferView_pimpl.o Bullet.o Chktex.o ColorHandler.o CutAndPaste.o DepTable.o 
FontInfo.o FontLoader.o ImportLaTeX.o ImportNoweb.o LColor.o LaTeX.o LaTeXFeatures.o 
LaTeXLog.o Literate.o LyXAction.o LyXSendto.o LyXView.o Painter.o PainterBase.o 
PaperLayout.o ParagraphExtra.o Spacing.o TableLayout.o TabularLayout.o TextCache.o 
ToolbarDefaults.o UpdateInset.o WorkArea.o bmtable.o buffer.o bufferlist.o 
bufferparams.o bufferview_funcs.o bullet_forms.o bullet_forms_cb.o chset.o combox.o 
credits.o credits_form.o debug.o filedlg.o font.o form1.o intl.o kbmap.o kbsequence.o 
language.o lastfiles.o latexoptions.o layout.o layout_forms.o lyx.o lyx_cb.o lyx_gui.o 
lyx_gui_misc.o lyx_main.o lyx_sendfax.o lyx_sendfax_main.o lyx_sty.o lyxfont.o 
lyxfr0.o lyxfr1.o lyxfunc.o lyxlex.o lyxlex_pimpl.o lyxlookup.o lyxrc.o lyxserver.o 
lyxvc.o main.o menus.o minibuffer.o paragraph.o print_form.o screen.o sp_form.o 
spellchecker.o table.o tabular.o tex-accent.o tex-strings.o texoptions.o texrow.o 
text.o text2.o toolbar.o tracer.o trans.o trans_mgr.o undo.o vc-backend.o vspace.o 
mathed/.libs/libmathed.al insets/.libs/libinsets.al support/.libs/libsupport.al 
../intl/libintl.a -lforms -lXpm -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11
mathed/.libs/libmathed.al(formulamacro.lo): In function 
`InsetFormulaMacro::InsetFormulaMacro(void)':
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:38: undefined reference to 
`InsetFormula::InsetFormula(bool)'
mathed/.libs/libmathed.al(formulamacro.lo): In function 
`InsetFormulaMacro::InsetFormulaMacro(lyxstring, int, bool)':
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:46: undefined reference to 
`InsetFormula::InsetFormula(bool)'
mathed/.libs/libmathed.al(formulamacro.lo): In function 
`InsetFormulaMacro::~InsetFormulaMacro(void)':
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:59: undefined reference to 
`InsetFormula::~InsetFormula(void)'
mathed/.libs/libmathed.al(formulamacro.lo): In function 
`InsetFormulaMacro::ascent(Painter &, LyXFont const &) const':
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:121: undefined reference to 
`InsetFormula::ascent(Painter &, LyXFont const &) const'
mathed/.libs/libmathed.al(formulamacro.lo): In function 
`InsetFormulaMacro::descent(Painter &, LyXFont const &) const':
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:131: undefined reference to 
`InsetFormula::descent(Painter &, LyXFont const &) const'
mathed/.libs/libmathed.al(formulamacro.lo): In function 
`InsetFormulaMacro::width(Painter &, LyXFont const &) const':
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:141: undefined reference to 
`InsetFormula::width(Painter &, LyXFont const &) const'
mathed/.libs/libmathed.al(formulamacro.lo): In function 
`InsetFormulaMacro::draw(Painter &, LyXFont const &, int, float &) const':
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:156: undefined reference to 
`InsetFormula::draw(Painter &, LyXFont const &, int, float &) const'
mathed/.libs/libmathed.al(formulamacro.lo): In function 
`InsetFormulaMacro::Edit(BufferView *, int, int, unsigned int)':
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:187: undefined reference to 
`InsetFormula::Edit(BufferView *, int, int, unsigned int)'
mathed/.libs/libmathed.al(formulamacro.lo): In function 
`InsetFormulaMacro::InsetUnlock(BufferView *)':
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:199: undefined reference to 
`InsetFormula::InsetUnlock(BufferView *)'
mathed/.libs/libmathed.al(formulamacro.lo): In function 
`InsetFormulaMacro::LocalDispatch(BufferView *, int, lyxstring const &)':
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:209: undefined reference to 
`InsetFormula::mathcursor'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:210: undefined reference to 
`InsetFormula::mathcursor'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:211: undefined reference to 
`InsetFormula::UpdateLocal(BufferView *)'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:218: undefined reference to 
`InsetFormula::LocalDispatch(BufferView *, int, lyxstring const &)'
mathed/.libs/libmathed.al(formulamacro.lo): In function 
`InsetFormulaMacro::InsetFormulaMacro(void)':
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:38: undefined reference to 
`InsetFormula::ConvertFont(LyXFont)'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:38: undefined reference to 
`InsetFormula::InsetButtonPress(BufferView *, int, int, int)'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:38: undefined reference to 
`InsetFormula::InsetButtonRelease(BufferView *, int, int, int)'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:38: undefined reference to 
`InsetFormula::InsetMotionNotify(BufferView *, int, int, int)'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:41: undefined reference to 
`InsetFormula::Ascii(ostream &) const'
mathed/.libs/libmathed.al(formulamacro.lo): In function 
`InsetFormulaMacro::InsetFormulaMacro(lyxstring, int, bool)':
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:46: undefined reference to 
`InsetFormula::Validate(LaTeXFeatures &) const'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:46: undefined reference to 
`InsetFormula::LyxCode(void) const'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:46: undefined reference to 
`InsetFormula::getLabelList(void) const'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:46: undefined reference to 
`InsetFormula::display(void) const'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:46: undefined reference to 
`InsetFormula::display(bool)'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:46: undefined reference to 
`InsetFormula::ToggleInsetCursor(BufferView *)'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:46: undefined reference to 
`InsetFormula::ShowInsetCursor(BufferView *)'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:46: undefined reference to 
`InsetFormula::HideInsetCursor(BufferView *)'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:46: undefined reference to 
`InsetFormula::GetCursorPos(int &, int &) const'
/home/peter/lyx-1.1.5/src/mathed/formulamacro.C:46: undefined reference to 
`InsetFormula::InsetKeyPress(XKeyEvent *)'
buffer.o: In function `Buffer::parseSingleLyXformat2Token(LyXLex &, LyXParagraph *&, 
LyXParagraph *&, lyxstring const &, int &, char &, LyXFont &, 
LyXParagraph::footnote_flag &, LyXParagraph::footnote_kind &)':
/home/peter/lyx-1.1.5/src/buffer.C:800: undefined reference to 
`InsetFormula::InsetFormula(bool)'
lyxfunc.o: In function `LyXFunc::Dispatch(int, char const *)':
/home/peter/lyx-1.1.5/src/lyxfunc.C:2260: undefined reference to `greek_kb_flag'
/home/peter/lyx-1.1.5/src/lyxfunc.C:2260: undefined reference to `greek_kb_flag'
/home/peter/lyx-1.1.5/src/lyxfunc.C:2260: undefined reference to `greek_kb_flag'
/home/peter/lyx-1.1.5/src/lyxfunc.C:2261: undefined reference to `greek_kb_flag'
/home/peter/lyx-1.1.5/src/lyxfunc.C:2271: undefined reference to `greek_kb_flag'
lyxfunc.o:/home/peter/lyx-1.1.5/src/lyxfunc.C:2271: more undefined references to 
`greek_kb_flag' follow
lyxfunc.o: In function `LyXFunc::Dispatch(int, char const *)':
/home/peter/lyx-1.1.5/src/lyxfunc.C:2285: undefined reference to 
`InsetFormula::InsetFormula(bool)'
/home/peter/lyx-1.1.5/src/lyxfunc.C:2304: undefined reference to 
`InsetFormula::InsetFormula(bool)'
/home/peter/lyx-1.1.5/src/lyxfunc.C:2328: undefined reference to 
`InsetFormula::InsetFormula(bool)'
/home/peter/lyx-1.1.5/src/lyxfunc.C:2657: undefined reference to `greek_kb_flag'
/home/peter/lyx-1.1.5/src/lyxfunc.C:2656: undefined reference to `greek_kb_flag'
mathed/.libs/libmathed.al(math_inset.lo): In function `MathMatrixInset::Metrics(void)':
/home/peter/lyx-1.1.5/src/mathed/math_inset.C:453: undefined reference to 
`MathedInset::df_width'
/home/peter/lyx-1.1.5/src/mathed/math_inset.C:453: undefined reference to 
`MathedInset::df_width'
/home/peter/lyx-1.1.5/src/mathed/math_inset.C:481: undefined reference to 
`MathedInset::df_width'
/home/peter/lyx-1.1.5/src/mathed/math_inset.C:481: undefined reference to 
`MathedInset::df_width'
mathed/.libs/libmathed.al(math_inset.lo): In function 
`MathedInset::MathedInset(MathedInset *)':
/home/peter/lyx-1.1.5/src/mathed/math_inset.C:38: undefined reference to 
`MathFuncInset::draw(Painter &, int, int)'
/home/peter/lyx-1.1.5/src/mathed/math_inset.C:38: undefined reference to 
`MathFuncInset::Metrics(void)'
mathed/.libs/libmathed.al(math_iter.lo): In function `MathedXIter::GetString(int &)':
/home/peter/lyx-1.1.5/src/mathed/math_iter.C:585: undefined reference to 
`mathed_string_width(short, int, unsigned char const *, int)'
mathed/.libs/libmathed.al(math_iter.lo): In function `MathedXIter::Next(void)':
/home/peter/lyx-1.1.5/src/mathed/math_iter.C:610: undefined reference to 
`mathed_char_width(short, int, unsigned char)'
mathed/.libs/libmathed.al(math_iter.lo): In function `MathedXIter::IMetrics(int, int 
&, int &, int &)':
/home/peter/lyx-1.1.5/src/mathed/math_iter.C:881: undefined reference to 
`mathed_char_height(short, int, unsigned char, int &, int &)'
mathed/.libs/libmathed.al(math_macro.lo): In function `MathMacroArgument::draw(Painter 
&, int, int)':
/home/peter/lyx-1.1.5/src/mathed/math_macro.C:230: undefined reference to 
`MathedInset::drawStr(Painter &, short, int, int, int, unsigned char const *, int)'
mathed/.libs/libmathed.al(math_macro.lo): In function 
`MathMacroArgument::Metrics(void)':
/home/peter/lyx-1.1.5/src/mathed/math_macro.C:255: undefined reference to 
`mathed_string_width(short, int, unsigned char const *, int)'
/home/peter/lyx-1.1.5/src/mathed/math_macro.C:258: undefined reference to 
`mathed_string_height(short, int, unsigned char const *, int, int &, int &)'
mathed/.libs/libmathed.al(math_symbols.lo): In function `math_insert_greek(char)':
/home/peter/lyx-1.1.5/src/mathed/math_symbols.C:358: undefined reference to 
`greek_kb_flag'
/home/peter/lyx-1.1.5/src/mathed/math_symbols.C:358: undefined reference to 
`greek_kb_flag'
mathed/.libs/libmathed.al(math_symbols.lo): In function `math_insert_symbol(char const 
*)':
/home/peter/lyx-1.1.5/src/mathed/math_symbols.C:372: undefined reference to 
`InsetFormula::InsetFormula(bool)'
/home/peter/lyx-1.1.5/src/mathed/math_symbols.C:377: undefined reference to 
`InsetFormula::InsertSymbol(BufferView *, char const *)'
/home/peter/lyx-1.1.5/src/mathed/math_symbols.C:380: undefined reference to 
`InsetFormula::InsertSymbol(BufferView *, char const *)'
mathed/.libs/libmathed.al(math_delim.lo): In function `MathDelimInset::Metrics(void)':
/home/peter/lyx-1.1.5/src/mathed/math_delim.C:489: undefined reference to 
`mathed_char_height(short, int, unsigned char, int &, int &)'
mathed/.libs/libmathed.al(math_delim.lo): In function 
`MathDecorationInset::Metrics(void)':
/home/peter/lyx-1.1.5/src/mathed/math_delim.C:511: undefined reference to 
`mathed_char_height(short, int, unsigned char, int &, int &)'
mathed/.libs/libmathed.al(math_delim.lo): In function `MathAccentInset::draw(Painter 
&, int, int)':
/home/peter/lyx-1.1.5/src/mathed/math_delim.C:538: undefined reference to 
`MathedInset::drawStr(Painter &, short, int, int, int, unsigned char const *, int)'
mathed/.libs/libmathed.al(math_delim.lo): In function `MathAccentInset::Metrics(void)':
/home/peter/lyx-1.1.5/src/mathed/math_delim.C:556: undefined reference to 
`mathed_char_height(short, int, unsigned char, int &, int &)'
/home/peter/lyx-1.1.5/src/mathed/math_delim.C:557: undefined reference to 
`mathed_char_width(short, int, unsigned char)'
mathed/.libs/libmathed.al(math_delim.lo): In function `MathDotsInset::Metrics(void)':
/home/peter/lyx-1.1.5/src/mathed/math_delim.C:586: undefined reference to 
`mathed_char_height(short, int, unsigned char, int &, int &)'
/home/peter/lyx-1.1.5/src/mathed/math_delim.C:587: undefined reference to 
`mathed_char_width(short, int, unsigned char)'
mathed/.libs/libmathed.al(math_draw.lo): In function `MathParInset::draw(Painter &, 
int, int)':
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:59: undefined reference to 
`MathedInset::df_asc'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:59: undefined reference to 
`MathedInset::df_asc'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:63: undefined reference to 
`MathedInset::df_asc'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:68: undefined reference to 
`MathedInset::df_asc'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:68: undefined reference to 
`MathedInset::df_width'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:68: undefined reference to 
`MathedInset::df_width'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:78: undefined reference to 
`MathedInset::drawStr(Painter &, short, int, int, int, unsigned char const *, int)'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:79: undefined reference to 
`mathed_char_height(short, int, unsigned char, int &, int &)'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:121: undefined reference to 
`MathedInset::df_asc'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:121: undefined reference to 
`MathedInset::df_width'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:121: undefined reference to 
`MathedInset::df_width'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:136: undefined reference to 
`MathedInset::df_asc'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:136: undefined reference to 
`MathedInset::df_width'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:136: undefined reference to 
`MathedInset::df_width'
mathed/.libs/libmathed.al(math_draw.lo): In function `MathParInset::Metrics(void)':
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:146: undefined reference to 
`MathedInset::df_asc'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:146: undefined reference to 
`MathedInset::df_asc'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:152: undefined reference to 
`MathedInset::df_width'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:152: undefined reference to 
`MathedInset::df_width'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:154: undefined reference to 
`MathedInset::df_asc'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:164: undefined reference to 
`mathed_string_height(short, int, unsigned char const *, int, int &, int &)'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:168: undefined reference to 
`mathed_char_height(short, int, unsigned char, int &, int &)'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:194: undefined reference to 
`MathedInset::df_asc'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:208: undefined reference to 
`MathedInset::df_asc'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:217: undefined reference to 
`MathedInset::df_asc'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:221: undefined reference to 
`MathedInset::df_asc'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:237: undefined reference to 
`MathedInset::df_asc'
mathed/.libs/libmathed.al(math_draw.lo): In function `MathSqrtInset::Metrics(void)':
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:272: undefined reference to 
`mathed_char_height(short, int, unsigned char, int &, int &)'
mathed/.libs/libmathed.al(math_draw.lo): In function `MathFracInset::Metrics(void)':
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:301: undefined reference to 
`mathed_char_height(short, int, unsigned char, int &, int &)'
mathed/.libs/libmathed.al(math_draw.lo): In function `MathBigopInset::draw(Painter &, 
int, int)':
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:344: undefined reference to 
`mathed_get_font(short, int)'
mathed/.libs/libmathed.al(math_draw.lo): In function `MathBigopInset::Metrics(void)':
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:368: undefined reference to 
`mathed_string_height(short, int, unsigned char const *, int, int &, int &)'
/home/peter/lyx-1.1.5/src/mathed/math_draw.C:371: undefined reference to 
`mathed_string_width(short, int, unsigned char const *, int)'
collect2: ld returned 1 exit status
make[3]: *** [lyx] Error 1
make[3]: Leaving directory `/home/peter/lyx-1.1.5/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/peter/lyx-1.1.5/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/peter/lyx-1.1.5/src'
make: *** [all-recursive] Error 1
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:638: checking host system type
configure:659: checking target system type
configure:677: checking build system type
configure:702: checking config.cache system type
configure:740: checking for a BSD compatible install
configure:793: checking whether build environment is sane
configure:850: checking whether make sets ${MAKE}
configure:896: checking for working aclocal
configure:909: checking for working autoconf
configure:922: checking for working automake
configure:935: checking for working autoheader
configure:948: checking for working makeinfo
configure:971: checking for lyx
configure:1020: checking whether make sets ${MAKE}
configure:1058: checking for a BSD compatible install
configure:1114: checking for kpsewhich
configure:1152: checking for gcc
configure:1265: checking whether the C compiler (gcc  ) works
configure:1281: gcc -o conftest    conftest.c  1>&5
configure:1307: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1312: checking whether we are using GNU C
configure:1340: checking whether gcc accepts -g
configure:1374: checking for POSIXized ISC
configure:1395: checking how to run the C preprocessor
configure:1475: checking for AIX
configure:1500: checking for HP-UX
configure:1516: checking for SunOS 4.x
configure:1531: checking for SCO 3.2v4
configure:1557: checking for Cygwin environment
configure:1590: checking for mingw32 environment
configure:1621: checking for executable suffix
configure:1661: checking for a working C++ compiler
configure:1697: g++ -o conftest    conftest.C  1>&5
configure:1735: checking whether the C++ compiler (g++  ) is a cross-compiler
configure:1739: checking whether we are using GNU C++
configure:1793: checking whether g++ accepts -g
configure:1842: checking how to run the C++ preprocessor
configure:1957: checking for ranlib
configure:1996: checking for ld used by GCC
configure:2058: checking if the linker (/usr/bin/ld) is GNU ld
configure:2074: checking for BSD-compatible nm
configure:2110: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -g -O2  conftest.c 1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -g -O2 -fPIC -DPIC  conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -g -O2 -o out/conftest2.o  conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -g -O2   -static conftest.c  1>&5
GNU ld version 2.9.5 (with BFD 2.9.5.0.37)
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: gcc -c -g -O2  conftest.c 1>&5
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[      
]\([ABCDGISTW]\)[       ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > 
conftest.nm"
ltconfig:1691: gcc -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions   
conftest.c conftstm.o 1>&5
configure:2508: checking if C++ compiler supports mutable
configure:2524: g++ -c -g -O2 -fno-rtti -fno-exceptions  conftest.C 1>&5
configure:2547: checking if C++ compiler supports partial specialization
configure:2565: g++ -c -g -O2 -fno-rtti -fno-exceptions  conftest.C 1>&5
configure:2587: checking whether the C++ compiler understands explicit
configure:2626: checking whether the included std::string should be used
configure:2650: g++ -c -g -O2 -fno-rtti -fno-exceptions  conftest.C 1>&5
configure: In function `int main()':
configure:2644: no matching function for call to 
`basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> 
>::compare (unsigned int, int, char[2])'
/usr/lib/gcc-lib/sparc-linux/2.95.2/../../../../include/g++-3/std/bastring.cc:398: 
candidates are: int 
basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> 
>::compare(const 
basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> > &, 
unsigned int = 0, unsigned int = basic_string<charT,traits,Allocator>::npos) const
/usr/lib/gcc-lib/sparc-linux/2.95.2/../../../../include/g++-3/std/bastring.cc:417:     
            int 
basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> 
>::compare(const char *, unsigned int, unsigned int) const
/usr/lib/gcc-lib/sparc-linux/2.95.2/../../../../include/g++-3/std/bastring.h:398:      
           int 
basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> 
>::compare(const char *, unsigned int = 0) const
configure: failed program was:
#line 2633 "configure"
#include "confdefs.h"

            #include <string>
            using std::string;
        
int main() {

            string a("hello there");
            a.erase();
            a = "hey";
            char s[] = "y";
            int t = a.compare(a.length() - 1, 1, s);
            a.erase();
        
; return 0; }
configure:2688: checking for correct namespaces support
configure:2729: checking for C headers wrappers
configure:2769: checking for conforming std::count
configure:2817: checking for ostream
configure:2817: checking for istream
configure:2817: checking for sstream
configure:2855: checking for modern STL streams
configure:2899: checking for regex.h
configure:2949: checking for sin in -lm
configure:2999: checking for fopen in -lc
configure:3058: checking for extra library directory
configure:3101: checking for extra include directory
configure:3135: checking for extra lib+include directory
configure:3181: checking for main in -liberty
configure:3228: checking for ptsname in -lpt
configure:3276: checking for X
configure:3590: checking for dnet_ntoa in -ldnet
configure:3634: checking for dnet_ntoa in -ldnet_stub
configure:3685: checking for gethostbyname
configure:3789: checking for connect
configure:3887: checking for remove
configure:3985: checking for shmat
configure:4092: checking for IceConnectionNumber in -lICE
configure:4145: checking for XOpenIM
configure:4207: checking for XpmCreateBufferFromImage in -lXpm
configure:4260: checking for X11/xpm.h
configure:4342: checking xpm header version
configure:4385: checking for fl_initialize in -lforms
configure:4481: checking for X11/forms.h
configure:4515: checking for forms.h
configure:4562: checking xforms header version
configure:4629: checking for working const
configure:4704: checking for inline
configure:4745: checking for ANSI C header files
configure:4849: checking for off_t
configure:4882: checking for size_t
configure:4917: checking for working alloca.h
configure:4950: checking for alloca
configure:5152: checking for unistd.h
configure:5191: checking for getpagesize
configure:5244: checking for working mmap
configure:5420: checking for argz.h
configure:5420: checking for limits.h
configure:5420: checking for locale.h
configure:5420: checking for nl_types.h
configure:5420: checking for malloc.h
configure:5420: checking for string.h
configure:5420: checking for unistd.h
configure:5420: checking for sys/param.h
configure:5460: checking for getcwd
configure:5460: checking for munmap
configure:5460: checking for putenv
configure:5460: checking for setenv
configure:5460: checking for setlocale
configure:5460: checking for strchr
configure:5460: checking for strcasecmp
configure:5460: checking for strdup
configure:5460: checking for __argz_count
configure:5460: checking for __argz_stringify
configure:5460: checking for __argz_next
configure:5579: checking for LC_MESSAGES
configure:5612: checking whether NLS is requested
configure:5632: checking whether included gettext is requested
configure:6265: checking for msgfmt
configure:6299: checking for gmsgfmt
configure:6335: checking for xgettext
configure:6428: checking for catalogs to be installed
configure:6552: checking for dirent.h that defines DIR
configure:6590: checking for opendir in -ldir
configure:6679: checking whether sys/types.h defines makedev
configure:6788: checking for sys/time.h
configure:6788: checking for sys/types.h
configure:6788: checking for sys/select.h
configure:6829: checking for stl_string_fwd.h
configure:6886: checking whether stat file-mode macros are broken
configure:6942: checking whether time.h and sys/time.h may both be included
configure:6977: checking for st_blksize in struct stat
configure:7011: checking for st_blocks in struct stat
configure:7047: checking for st_rdev in struct stat
configure:7083: checking for mode_t
configure:7116: checking for off_t
configure:7149: checking for pid_t
configure:7182: checking return type of signal handlers
configure:7223: checking for size_t
configure:7256: checking for uid_t in sys/types.h
configure:7307: checking for memmove
configure:7307: checking for memset
configure:7307: checking for strchr
configure:7307: checking for putenv
configure:7307: checking for setenv
configure:7307: checking for mkfifo
configure:7364: checking types of arguments for select()
configure:7436: checking type of argument for putenv()
configure:7471: checking for strerror
configure:7471: checking for atexit

Reply via email to