Re: Re : [Liblogging-users] problems compiling liblogging 0.5 with msvc6
Brought to you by:
rgerhards
From: detlef o. <oe...@ui...> - 2005-05-30 07:18:09
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello and thank you, this helps - I'm now able to compile and link the testdrv program without errors. But I have still the problem, that the testdrv program terminates with a 'cant open session' error (yes, I changed the IP-Adress in the testdrv source). I'm testing with a kiwi syslogd running on the same maschine. Are they any more hints (project options....) to get around this problem ? Perhaps a working msvc6 workspace/project file ? thanks detlef SF...@ao... wrote: > hello detlef, > > I use liblogging with visual c++ 6.0. It works well. > > There is one thing to do with socketsWin32.c. Don't include it in your source files, otherwise, the compiler will try to compile it without the headers: > #include "config.h" > #include "liblogging.h" > #include "sockets.h" > #include "assert.h" > (#include "winsock.h" can be found into sockets.h) and the prototype "sbSockSetSockErrState" from sockets.c. socketsWin32.c is included in sockets.c and will still remain in the project in an "External Dependencies" directory that vcpp generates automaticaly. > > Neither include oscallsWin32.c in your source files. > > And remove those : > #include "liblogging.h" > #include "sockets.h" > #include "winsock.h" > from your socketsWin32.c > > It should work fine. > > Best regards > > MC > > > ------------------------------------------------------- > 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_id=7412&alloc_id=16344&op=click > _______________________________________________ > Liblogging-users mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/liblogging-users > > . > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCmr4QiHgljbcBEOYRAulOAKDdvYzGjw7WAu/9Qw1SCvfA/xoB+QCgv6zv FOwmngrz/F+kizIUE1Z4aNo= =ewep -----END PGP SIGNATURE----- |