[aspectc-user] Re: Problems using AspectC++ with SystemC
    Matthias Urban 
    matthias.urban at pure-systems.com
       
    Fri Feb 18 15:26:38 CET 2005
    
    
  
Hi Sergio,
> I put this definition  "#define SC_EXTERNS_H" before each systemc headers but
>   I could not notice much difference and the compiler says again: "undefined
> reference to `sc_main'" :(
Don't you define a function sc_main() in your application?
> I think the problem is caused by ac++ because I can compile the same project,
> just using g++. So I compiled my files again with the -v9 option. As the only
> file when the aspect is supposed to act is the application.cpp file, I tried
> to copy the other object files from the original project but the errors were
> similar.
I'm a little bit helpless ;). It really would help if you could attach a 
working example where these errors occur. Maybe you could reduce your 
test application?
> In the end of the message I put the log of the compilation. Is it allowed to
> attach files here? :)
This should be ok.
Regards,
Matthias
    
    
More information about the aspectc-user
mailing list