axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <>
Subject Re: [Axis2] Same source file compiled multiple times in the build
Date Thu, 27 Apr 2006 13:43:18 GMT
Damitha, the problem is partially fixed but not completely.

Digging further into the problem, I found that almost all source files 
are compiled twice.
1. Source file compiled with "-fPIC -DPIC" options and object placed in 
.libs folder inside source folder
2. Source file compiled without "-fPIC -DPIC" options and object placed 
in source folder

I do not think that this is necessary, we should have only one compiling 
of a given source.


Damitha Kumarage wrote:

> Hi Samisa,
> Thanks very much for pointing this out.  I found the reason for this 
> and fixed it.
> Damitha
> Samisa Abeysinghe wrote:
>> It looks to me that the same source file is compiled more than once  
>> in some cases when I do a full build.
>> This must be the reason for the *very* slow build time.
>> To verify this do a 'make clean' and then 'sh > out'
>> Then 'vi out' and '/http_worker.c' and search next. There are 
>> multiple occurences.
>> This we have to fix. It is annyoing to wait till a build finishes - 
>> takes *so long* :-(
>> Samisa...

View raw message