<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<pre>No, even defining -d ../aop-out I got the same error.</pre>Francisco<br><br>> Date: Wed, 24 Oct 2007 12:07:37 +0200<br>> From: Olaf.Spinczyk@informatik.uni-erlangen.de<br>> To: afonsofc@hotmail.com<br>> CC: aspectc-user@aspectc.org<br>> Subject: Re: [aspectc-user] weaving twice<br>> <br>> Hi,<br>> <br>> you compiled the application with "ac++ - I ../os/woven/include –I <br>> ../os/woven –p . –d ./aop-out". I would better use "-d../aop-out". The <br>> destination directory should not be a subdirectory of the source <br>> directory. Does that help?<br>> <br>> - Olaf<br>> <br>> Francisco Afonso wrote:<br>> > Hi Olaf,<br>> >  <br>> > In my case I am using Whole Program Transformation (WPT) and so the library includes are already being generated. I tried the –i option and confirmed that the generated included files are equal to generated by WPT. <br>> >  <br>> > I will describe my setup. I am compiling the code of an operating system which is divided in the following folders:<br>> >  <br>> > /os<br>> >     /base<br>> >          /include<br>> >          /src<br>> >          /aspects<br>> >  <br>> > The aspects are placed in folder /aspects. From the /base folder I run ac++ using the following command:<br>> >  <br>> > ac++ -I include –p. –d ../woven<br>> >  <br>> > This generates the following structure:<br>> >  <br>> > /os<br>> >      /base<br>> >          /include<br>> >          /src<br>> >          /aspects<br>> >      /woven<br>> >          /include<br>> >          /src<br>> >          /aspects<br>> >  <br>> > Then I generate the library based on the source code inside the /woven folder. For this, I have a makefile in the /os folder that calls g++ using options “–I woven/include” and “ –I woven”. The second include is needed to access the .ah files in the /woven/aspects folder. After this step I have a library file (libos.a) in /os.<br>> >  <br>> > Then, in another folder I have an application that needs to be woven too. This application is usually a single c++ file and I place the aspects in the same folder. The command line for weaving is: <br>> > ac++ - I ../os/woven/include –I ../os/woven –p . –d ./aop-out<br>> >  <br>> > The following output is generated:<br>> > * Running ac++ 1.0pre3<br>> > * Simple Dependency Check<br>> > * Handling Translation Unit ´myApp.cc´<br>> > make: ****[linuxaop] Segmentation fault<br>> >  <br>> > Do you see something wrong?<br>> >  <br>> >  <br>> > Francisco<br>> > _________________________________________________________________<br>> > Climb to the top of the charts!  Play Star Shuffle:  the word scramble challenge with star power.<br>> > http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct<br>> > _______________________________________________<br>> > aspectc-user mailing list<br>> > aspectc-user@aspectc.org<br>> > http://www.aspectc.org/mailman/listinfo/aspectc-user<br>> >   <br>> <br><br /><hr />Peek-a-boo FREE Tricks & Treats for You! <a href='http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us' target='_new'>Get 'em!</a></body>
</html>