auto build r3347: 2 of 7 builds failed - 4 regression tests failed
Mikael Magnusson
mikma264 at gmail.com
Sat Jun 30 19:11:37 CEST 2007
On Sat, Jun 30, 2007 at 06:39:26PM +0200, Mikael Svensson wrote:
> Hello
>
> I could use some pointers as to how to debug error messages like these:
>
> svn wrote:
> > Machine: mingw32_on_debian_unstable
> > Build: gtk_dsound_debug
> ...
> > Creating library file: .libs/libmnetutil.dll.a
> > .libs/DirectorySetItem.o: In function `_ZN16DirectorySetItemC1Ei':/home/svn/3347/trunk/libmnetutil/source/DirectorySetItem.cxx:31: undefined reference to `CacheItem::CacheItem()'
> > .libs/DirectorySetItem.o: In function `_ZN16DirectorySetItemC2Ei':/home/svn/3347/trunk/libmnetutil/source/DirectorySetItem.cxx:31: undefined reference to `CacheItem::CacheItem()'
> > .libs/DirectorySetItem.o: In function `_ZN16DirectorySetItemC1EiSsSs':/home/svn/3347/trunk/libmnetutil/source/DirectorySetItem.cxx:29: undefined reference to `CacheItem::CacheItem()'
> > .libs/DirectorySetItem.o: In function `_ZN16DirectorySetItemC2EiSsSs':/home/svn/3347/trunk/libmnetutil/source/DirectorySetItem.cxx:29: undefined reference to `CacheItem::CacheItem()'
> > .libs/DirectorySetItem.o: In function `_ZN16DirectorySetItemC1ESsSs':/home/svn/3347/trunk/libmnetutil/source/DirectorySetItem.cxx:27: undefined reference to `CacheItem::CacheItem()'
> > .libs/DirectorySetItem.o:/home/svn/3347/trunk/libmnetutil/source/DirectorySetItem.cxx:27: more undefined references to `CacheItem::CacheItem()' follow
>
> Appearantly my code does not compile on "ming32", which I guess is the
> Windows-port of the application?!
Yes, mingw32 is a cross-compiler used to compile it.
>
> My major issue with the compilation errors is that the supposedly
> missing function CacheItem::CacheItem() is never used on any of the
> lines mentioned in the error messages. The lines in question (line 27,
> 29 and 31) contain (almost) empty constructors for DirectorySetItem().
>
> I guess the problem somehow relates to that DirectorySetItem inherits
> from CacheItem, but in what way would this be the source of the problem?
> CacheItem is defined/declared in libmutil, and that library compiles
> just fine.
>
> Does anyone have an idea about why this error occurs?
>
You need to add "#include <config.h>" at the top of all minisip cxx files
before including other minisip header files. And add LIBMXXX_API to all
exported class declarations, since they need to be explicitely exported in
dll-files.
/Mikael M.
More information about the Minisip-devel
mailing list