Jason,
You should be able to use DBG_ statements like this in any .cpp file
within Flexus. Make sure you have the following header information:
#include <core/debug/debug.hpp>
#define DBG_DefineCategories Foo
#define DBG_SetDefaultOps AddCat(Foo)
#include DBG_Control()
where Foo is some unique identifier. Add this code, do a make all-
clobber and then rebuild and see if that fixes your problem. If not,
can you reproduce this effect with a minimal example, and post it to
the list?
Thanks,
Brian
On Oct 12, 2008, at 11:40 PM, Jason Zebchuk wrote:
> Hi guys,
>
> I'm getting an error when I try to load a flexus module:
>
> Error loading module 'flexus-VMTileCMP.OoO-v9-iface-gcc': Failed to
> load module 'flexus-VMTileCMP.OoO-v9-iface-gcc' ('/home/apps/flexus/
> runs/zebchuk-empty/simics/x86-linux/lib/
> libflexus_VMTileCMP.OoO_v9_iface_gcc.so'): "undefined symbol:
> _ZN5boost14dynamic_bitsetImSaImEE4nposE"
>
>
>
> I can get rid of the error by commenting out all of the "DBG_()"
> statements in one of my .cpp files. There isn't anything fancy about
> the statements that should be causing the problem. Simply adding:
>
> DBG_(Trace, ( << "Hello World!" ));
>
> to the file causes the above error.
>
> Interestingly, the same file has a number of "DBG_Assert()"
> statements that don't seem to cause any problems.
>
> I figure I must be missing a header or something related to the
> debug system, but I have no idea what.
>
> Do you have any suggestions? or can I just not have DBG_()
> statements in
> this file?
>
>
>
> Jason
>
>
> _______________________________________________
> SimFlex mailing list
> [email protected]
> https://sos.ece.cmu.edu/mailman/listinfo/simflex
> SimFlex web page: http://www.ece.cmu.edu/~simflex