[Clam-devel] Troubleshooting

Rupinder Singh plitanium at gmail.com
Thu Jan 1 13:04:09 PST 2009


Hi,

I had to do some troubleshooting to confer to the given SConscript.

1) a)In the mingw\local\include directory, changed the name of libxml++-2.6
folder to libxml++. That is, all the libxml++ data should be in a folder
named

libxml++ in mingw\local\include. Did the same for glibmm (in glib-2.4), glib
(in glib-2.0).

b) Downloaded glibconfig.h , glibmmconfig.h , libxml++config.h  (they're
absent from the tarball) and put it in the include folder.

c) Transfered gmacros.h from glib to include .

Not doing this caused libxml++ code compile/link/run test to fail.


2) In the file ustring.h, instead of using :
GLIBMM_USING_STD(bidirectional_iterator_tag) , used : using
std::bidirectional_iterator_tag;

Not doing this gave some error like : '::bidirectional_iterator_tag' has not
been declared


Those were the steps till now.


In the prompt I get:


#########################################
### CLAM CORE DEPENDENCIES CHECKING   ###
#########################################
Checking that libxml++ sample program compiles...yes
Checking that libxml++ sample program links...no
libxml++ code compile/link/run test failed!
Check the config.log file for details

-> config.h <-

C:/clam/CLAM/.sconf_temp/conftest_7.cxx:5: undefined reference to
`Glib::ustring::ustring(char const*)'
C:/clam/CLAM/.sconf_temp/conftest_7.cxx:5: undefined reference to
`xmlpp::Document::Document(Glib::ustring const&)'
C:/clam/CLAM/.sconf_temp/conftest_7.cxx:5: undefined reference to
`Glib::ustring::~ustring()'
C:/clam/CLAM/.sconf_temp/conftest_7.cxx:5: undefined reference to
`Glib::ustring::~ustring()'
C:/clam/CLAM/.sconf_temp/conftest_7.cxx:6: undefined reference to
`xmlpp::Document::~Document()'


I guess this can be solved if the conftest_7.cxx being produced can be made
to include ustring.h . Is there any method to solve this ?


Rupinder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20090102/d85ab068/attachment-0003.htm>


More information about the clam-devel mailing list