msvc BZ2_bzCompressInit detecting problem

Stromek stromek at realtime.sk
Tue Apr 10 16:36:35 CEST 2007


On Sun, Apr 08, 2007 at 07:48:28PM +0200, Ralf Habacker wrote:
> Christian Ehrlicher schrieb:
> > Ralf Habacker schrieb:
> >   
> >> Hi,
> >>
> >> the last bzip2 releases have problems to detect BZ2_bzCompressInit.
> >>
> >> I've added a testcase which runs well using mingw, but fails with msvc
> >> with the following error (The full compile log is added below)
> >>
> >> CheckFunctionExists.obj : error LNK2019: Verweis auf nicht aufgel”stes
> >> externes Symbol "_BZ2_bzCompressInit" in Funktion "_main".
> >>
> >>
> >>
> >> While I tracked this problem down and fixed for mingw, I cannot see any
> >> error why msvc fails in this area.
> >>
> >> Is anyone there who can solve this problem ?
> >>
> >>     
> > Who created the bzip2 package? I don't think I created them because I
> > never would create bzip2d.lib and I *know* that it worked with the
> > package I uploaded. In the current package, all is messed up again!
> > bzip2d.lib is also *never* needed...
> > If you don't know how to handle name mangling please don't touch the
> > import libs!
> >   
> Christian Ehrlicher schrieb:
> > Ralf Habacker schrieb:
> >   
> >> Hi,
> >>
> >> the last bzip2 releases have problems to detect BZ2_bzCompressInit.
> >>
> >> I've added a testcase which runs well using mingw, but fails with msvc
> >> with the following error (The full compile log is added below)
> >>
> >> CheckFunctionExists.obj : error LNK2019: Verweis auf nicht aufgel”stes
> >> externes Symbol "_BZ2_bzCompressInit" in Funktion "_main".
> >>
> >>
> >>
> >> While I tracked this problem down and fixed for mingw, I cannot see any
> >> error why msvc fails in this area.
> >>
> >> Is anyone there who can solve this problem ?
> >>
> >>     
> > Who created the bzip2 package? I don't think I created them because I
> > never would create bzip2d.lib and I *know* that it worked with the
> > package I uploaded. In the current package, all is messed up again!
> > bzip2d.lib is also *never* needed...
> > If you don't know how to handle name mangling please don't touch the
> > import libs!
> >   
> The bzip2 package uploaded before does not work for me neither with 
> mingw nor with msvc. BZ2_bzCompressInit wasn't found in both cases.

I do not remember the exact version of bzip2 but the version from around
28. march worked fine on msvc.

http://mail.kde.org/pipermail/kde-windows/2007-March/000762.html

-- 
Stromek



More information about the Kde-windows mailing list