Compile errors when building a Windows agent

Ram Krishnaswamy RKrishnaswamy____pathfire.com
Mon Sep 17 18:54:58 CEST 2001


Hello,

I have successfully built an agent under windows using STL. I am using the
STL that comes with VC++ 6.0. As I had said earlier, I got the same kind of
compilation errors and I had to rearrange the headers. I agree that
initially it was a struggle. May be I can try to help you if you can send me
the errors. It was a while ago and so I do not know exactly what I did other
than rearranging the headers in the source file. 

Ram 

-----Original Message-----
From: D. R. Evans [mailto:N7DR____arrl.net]
Sent: Monday, September 17, 2001 12:42 PM
To: agentpp-dl____fock.de
Subject: RE: Compile errors when building a Windows agent


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14 Sep 2001 at 21:32, D. R. Evans wrote:

> So since I always use the proper STL library header files, I get a
collision
> with the old library header files used by agent++/snmp++.
> 
> If I'm dead lucky (ha!) just changing all the file names in the agent++
and
> snmp++ code will fix everything. But that's not a task for the late
evening
> (which is the time here). Maybe I'll get brave and try it over the
weekend.
> 

It's hard to be certain, because VC++ unhelpfully doesn't seem to provide a
tree 
that describes how a particular header file got included, but as far as I
can 
tell, the only SNMP++ file that includes <iostream.h> is smi_val.h; but
renaming 
that include to <iostream> doesn't seem to make any difference; the old AT&T

stream library headers are still getting included from somewhere, and so
they 
are still colliding with the STL stream library names.

If anyone has successfully built an agent using STL and agent++ under
Windows, 
I'd very much like to know how they removed the name collisions.

  Doc Evans



- ----------------------------------------------------------
D.R. Evans N7DR / G4AMJ                      N7DR at arrl.net

A dead lawyer in a Colorado ski resort and an Australian detective 
who 
doesn't play by the rules: 
   "All Or Nothing" is now available. 
See http://www.sff.net/people/N7DR/drevans.htp for details.
- ----------------------------------------------------------


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: Key obtainable from servers: ID 0x362912B8

iQA/AwUBO6YnvGnXrLw2KRK4EQL7BACfYMPaAPmQNs5PpYgyILcu2KGI4bEAoPwG
U86Md+7j5EFdHdv8FcH8AQsm
=LgyI
-----END PGP SIGNATURE-----



More information about the AGENTPP mailing list