From: Kern S. <ke...@si...> - 2005-05-19 15:18:44
|
On Thursday 19 May 2005 16:26, Matthew Butt wrote: > I'm going to look into the slow xfer issue with Windows bacula-fd and am > trying to build it in VC++. If you are using the VC++ project file, it is *way* out of date. The file= =20 that you need to run with nmake to rebuild it is: <bacula>/src/win32/baculafd/baculafd.mak The library files are pulled in by including the ones needed in the link. T= hey=20 are in src/win32/lib -- if I am not mistaken, everything in that directory= =20 must be compiled and the object files included. > > I've got zlib, pthreads and wx to build fine but am having problems with > bacula-fd in VC++. Compiling works fine but linking produces a bunch of > unresolved externals, first few lines of which are: > > save-cwd.obj : error LNK2001: unresolved external symbol "public: char > const * __thiscall berrno::strerror(void)" (?strerror@berrno@@QAEPBDXZ) > verify.obj : error LNK2001: unresolved external symbol "public: char > const * __thiscall berrno::strerror(void)" (?strerror@berrno@@QAEPBDXZ) > makepath.obj : error LNK2001: unresolved external symbol "public: char > const * __thiscall berrno::strerror(void)" (?strerror@berrno@@QAEPBDXZ) > message.obj : error LNK2001: unresolved external symbol "public: char > const * __thiscall berrno::strerror(void)" (?strerror@berrno@@QAEPBDXZ) > parse_conf.obj : error LNK2001: unresolved external symbol "public: char > const * __thiscall berrno::strerror(void)" (?strerror@berrno@@QAEPBDXZ) > restore.obj : error LNK2001: unresolved external symbol "public: char > const * __thiscall berrno::strerror(void)" (?strerror@berrno@@QAEPBDXZ) > ...etc > > These seem to be calling stuff from src/lib but I don't see any .LIB > file for the code. Am I missing something here? Almost everything from src/lib is pulled in from src/win32/lib, because we= =20 could not make VC++ believe that .c files should be compiled as C++ files.= =20 There is no .lib file > > Thanks, > > MattB > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_idt12&alloc_id=16344&op=CCk > _______________________________________________ > Bacula-devel mailing list > Bac...@li... > https://lists.sourceforge.net/lists/listinfo/bacula-devel =2D-=20 Best regards, Kern ("> /\ V_V |