RE: Re : [Liblogging-users] problems compiling liblogging 0.5 with msvc6
Brought to you by:
rgerhards
From: Rainer G. <rge...@hq...> - 2005-05-30 07:21:23
|
Hi Detlef, as far as I know, Kiwi syslog does NOT support RFC 3195. Please check with them. Rainer=20 > -----Original Message----- > From: lib...@li...=20 > [mailto:lib...@li...] On=20 > Behalf Of detlef oertel > Sent: Monday, May 30, 2005 9:18 AM > To: lib...@li... > Cc: SF...@ao... > Subject: Re: Re : [Liblogging-users] problems compiling=20 > liblogging 0.5 with msvc6 >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Hello and thank you, >=20 > 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=20 > 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=20 > this problem ? > Perhaps a working msvc6 workspace/project file ? >=20 > thanks >=20 > detlef >=20 >=20 > SF...@ao... wrote: > > hello detlef, > >=20 > > I use liblogging with visual c++ 6.0. It works well. > >=20 > > There is one thing to do with socketsWin32.c. Don't include=20 > it in your source files, otherwise, the compiler will try to=20 > 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=20 > prototype "sbSockSetSockErrState" from sockets.c.=20 > socketsWin32.c is included in sockets.c and will still remain=20 > in the project in an "External Dependencies" directory that=20 > vcpp generates automaticaly. > >=20 > > Neither include oscallsWin32.c in your source files. > >=20 > > And remove those : > > #include "liblogging.h" > > #include "sockets.h" > > #include "winsock.h" > > from your socketsWin32.c > >=20 > > It should work fine. > >=20 > > Best regards > >=20 > > MC > >=20 > >=20 > > ------------------------------------------------------- > > 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=3D7412&alloc_id=3D16344&op=3Dclick > > _______________________________________________ > > Liblogging-users mailing list > > Lib...@li... > > https://lists.sourceforge.net/lists/listinfo/liblogging-users > >=20 > > . > >=20 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.0 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org >=20 > iD8DBQFCmr4QiHgljbcBEOYRAulOAKDdvYzGjw7WAu/9Qw1SCvfA/xoB+QCgv6zv > FOwmngrz/F+kizIUE1Z4aNo=3D > =3Dewep > -----END PGP SIGNATURE----- >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit=20 > http://developer.yahoo.net/?fr=3Doffad-ysdn-ostg-q22005 > _______________________________________________ > Liblogging-users mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/liblogging-users >=20 |