From: Javier C. <jca...@ic...> - 2003-03-07 01:53:16
|
> 5. Modified /app/cg line 74 from Meant /app/cg/Makefile j On Thursday 06 March 2003 05:38 pm, Javier Cardona wrote: > Hi, > > I just built OpenSNMP under FreeBSD 4.6.2 and encountered some problems= =2E=20 > With the modifications listed below I was able to compile, but I have n= ot > run any of the tests yet. > > 1. Symbolic links required in /usr/local/lib > libdb.a -> /usr/local/lib/libdb41.a > libdb_cxx.a -> /usr/local/lib/libdb41_cxx.a > 2. Symbolic links required in /usr/local/include > cxx_common.h -> db41/cxx_common.h > cxx_except.h -> db41/cxx_except.h > db.h -> db41/db.h > db_185.h -> db41/db_185.h > db_cxx.h -> db41/db_cxx.h > 3. Added #include <sys/types.h> to base/BufferClass.H > 4. Added #include <sys/types.h> to asn/TransportAddress.C to be the > first #include in the file > 5. Modified /app/cg line 74 from > ar cr $@ $^ to ar cr $@ $(LIBOBJS) > For some reason, even though the target was being built, the $^ ma= cro > was empty: > ar cr libcg.a <------ !!! > ... > cgmain.o: In function `main': > cgmain.o(.text+0xf7): undefined reference to > `snmpCGArch::snmpCGArch(void)' > > > The first two issues are probably related to different installation > directories for Berkeley DB in version 4.1. > Issue 3 was puzzling... I don't know how BufferClass.H could ever compi= le > without sys/types.h! > 4. is probably system dependent, but adding that include would not hurt > and 5... well I really don't understand why that was failing. If the > prerequisite list evaluates to empty, the rule should not execute > altogether...right? > Should I file a bug for any of these issues? > > Anyway, tomorrow I'll try to run the tests described in the INSTALL fil= e. > > Cheers! > > Javier > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debu= gger > for complex code. Debugging C/C++ programs can leave you feeling lost a= nd > disoriented. TotalView can help you find your way. Available on major U= NIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Opensnmp-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensnmp-users |