RE: [glade--]glademm and/or libglademm on win32?



Hi Christof,

>
> I'll give cross building glademm a second try now that I can even
> execute Windows binaries under Wine/Qemu/Linux/PowerPC.
>
> BTW: 1.1.3f _should_ compile with MinGW/MSys.
>
>     Christof
>
>
I'll be more than happy to give a new binary a whirl.

When I try to build 1.1.3f (MinGW/MSys, recent downloads),
I get what look like C++ mangling
problems on link. But it all appears to be on objects just built,
rather than incompatibility with some other library. Here's a
heavily reduced log of a make from scratch:

./configure
make

Note that the first link

make  all-recursive
make[1]: Entering directory `/home/acrowson/glademm-1.1.3f'
Making all in src
make[2]: Entering directory `/home/acrowson/glademm-1.1.3f/src'
Making all in SourceWriter
make[3]: Entering directory `/home/acrowson/glademm-1.1.3f/src/SourceWriter'

[
snip: no compile problems except
#warning This file includes at least one deprecated or antiquated header...
on every file
]

/bin/sh ../../libtool --mode=link g++  -g -O2   -o testCxxFile.exe
testCxxFile.o libSourceWriter.a
mkdir .libs
g++ -g -O2 -o testCxxFile.exe testCxxFile.o  libSourceWriter.a
make[3]: Leaving directory `/home/acrowson/glademm-1.1.3f/src/SourceWriter'
Making all in writers
make[3]: Entering directory `/home/acrowson/glademm-1.1.3f/src/writers'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../SourceWriter    -g -O2 -MT
WriterBase.o -MD -MP -MF ".deps/WriterBase.Tpo" \
  -c -o WriterBase.o `test -f 'WriterBase.cc' || echo './'`WriterBase.cc; \
then mv ".deps/WriterBase.Tpo" ".deps/WriterBase.Po"; \
else rm -f ".deps/WriterBase.Tpo"; exit 1; \
fi
In file included from d:/mingw/include/c++/3.2/backward/strstream:51,
                 from ../SourceWriter/SystemFile.hh:24,
                 from ../SourceWriter/CxxFile.hh:28,
                 from WriterBase.hh:29,
                 from WriterBase.cc:20:
d:/mingw/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the C++
standard. Examples include substituting the <X> header for the <X.h> header
for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.

[much similar snipped]

if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../SourceWriter    -g -O2 -MT
xpmname.o -MD -MP -MF ".deps/xpmname.Tpo" \
  -c -o xpmname.o `test -f 'xpmname.cc' || echo './'`xpmname.cc; \
then mv ".deps/xpmname.Tpo" ".deps/xpmname.Po"; \
else rm -f ".deps/xpmname.Tpo"; exit 1; \
fi
/bin/sh ../../libtool --mode=link g++  -g -O2   -o libwriters.o.exe
WriterBase.o WriterBase_matches.o Class.o accellabel.o accelgroup.o
adjustment.o alignment.o arrow.o aspectframe.o bbox.o bonobo_dock.o
bonobo_dockitem.o box.o button.o calendar.o checkbutton.o checkmenuitem.o
clist.o clock.o colorsel.o combo.o container.o ctree.o curve.o custom.o
default.o dial.o dialog.o drawingarea.o editable.o entry.o eventbox.o
fileselection.o fixed.o fontselection.o frame.o gamma.o gnome_about.o
gnome_app.o gnome_appbar.o gnome_calculator.o gnome_dateedit.o
gnome_dialog.o gnome_dock.o gnome_dockitem.o gnome_druid.o gnome_druidpage.o
gnome_druidpagestart.o gnome_druidpagestd.o gnome_druidpagefinish.o
gnome_entry.o gnome_messagebox.o gnome_numberentry.o gnome_pixmap.o
gnome_propertybox.o handlebox.o image.o imagemenuitem.o inputdialog.o
label.o layout.o libglademm.o list.o menu.o menubar.o menuitem.o menushell.o
misc.o notebook.o optionmenu.o packer.o paned.o pixmap.o pixmapmenuitem.o
placeholder.o preview.o progressbar.o radiobutton.o radiomenuitem.o range.o
ruler.o scale.o scrollbar.o scrolledwindow.o separator.o spinbutton.o
statusbar.o table.o text.o textview.o togglebutton.o toolbar.o tooltips.o
tree.o treeview.o unknown.o viewport.o widget.o window.o xpmname.o
mkdir .libs
g++ -g -O2 -o libwriters.o.exe WriterBase.o WriterBase_matches.o Class.o
accellabel.o accelgroup.o adjustment.o alignment.o arrow.o aspectframe.o
bbox.o bonobo_dock.o bonobo_dockitem.o box.o button.o calendar.o
checkbutton.o checkmenuitem.o clist.o clock.o colorsel.o combo.o container.o
ctree.o curve.o custom.o default.o dial.o dialog.o drawingarea.o editable.o
entry.o eventbox.o fileselection.o fixed.o fontselection.o frame.o gamma.o
gnome_about.o gnome_app.o gnome_appbar.o gnome_calculator.o gnome_dateedit.o
gnome_dialog.o gnome_dock.o gnome_dockitem.o gnome_druid.o gnome_druidpage.o
gnome_druidpagestart.o gnome_druidpagestd.o gnome_druidpagefinish.o
gnome_entry.o gnome_messagebox.o gnome_numberentry.o gnome_pixmap.o
gnome_propertybox.o handlebox.o image.o imagemenuitem.o inputdialog.o
label.o layout.o libglademm.o list.o menu.o menubar.o menuitem.o menushell.o
misc.o notebook.o optionmenu.o packer.o paned.o pixmap.o pixmapmenuitem.o
placeholder.o preview.o progressbar.o radiobutton.o radiomenuitem.o range.o
ruler.o scale.o scrollbar.o scrolledwindow.o separator.o spinbutton.o
statusbar.o table.o text.o textview.o togglebutton.o toolbar.o tooltips.o
tree.o treeview.o unknown.o viewport.o widget.o window.o xpmname.o
WriterBase.o(.text+0x78): In function
`ZNK10WriterBase9GHIncludeERK6WidgetR7CxxFile':
d:/mingw/include/c++/3.2/bits/stl_alloc.h:630: undefined reference to
`Widget::getProperty(std::string const&, std::string const&) const'
WriterBase.o(.text+0x123): In function
`ZNK10WriterBase9GHIncludeERK6WidgetR7CxxFile':
D:/MSYS/1.0/home/acrowson/glademm-1.1.3f/src/writers/WriterBase.cc:30:
undefined reference to `CxxFile::Include(std::string const&, bool)'

[7000+ lines snipped]

window.o(.text+0x3684): In function
`ZNK10Gtk_Window15ClassDestructorERK6WidgetR7CxxFile':
D:/MSYS/1.0/home/acrowson/glademm-1.1.3f/src/writers/../SourceWriter/CxxFile
.hh:220: undefined reference to `CxxFile::EndLine(bool)'
window.o(.text+0x3711): In function
`ZNK10Gtk_Window15ClassDestructorERK6WidgetR7CxxFile':
D:/MSYS/1.0/home/acrowson/glademm-1.1.3f/src/writers/../Configuration.hh:54:
undefined reference to `Configuration'
window.o(.text+0x3724):D:/MSYS/1.0/home/acrowson/glademm-1.1.3f/src/writers/
../Configuration.hh:55: undefined reference to `Configuration'
xpmname.o(.text+0x1a2): In function `Z7xpmnameRKSs':
d:/mingw/include/c++/3.2/bits/basic_string.h:412: undefined reference to
`Configuration'
xpmname.o(.text+0x1e1):d:/mingw/include/c++/3.2/bits/basic_string.h:953:
undefined reference to `Configuration'
d:/mingw/bin/../lib/gcc-lib/mingw32/3.2/../../../libmingw32.a(main.o)(.text+
0x7f):main.c: undefined reference to `WinMain 16'
make[3]: *** [libwriters.o.exe] Error 1
make[3]: Leaving directory `/home/acrowson/glademm-1.1.3f/src/writers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/acrowson/glademm-1.1.3f/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/acrowson/glademm-1.1.3f'
make: *** [all] Error 2




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]