[Lazarus] Build Lazarus with Clean all - cleaning packages

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Nov 1 11:34:12 CET 2011

On Sat, 29 Oct 2011 20:12:24 +0200
cobines <cobines at gmail.com> wrote:

> 2011/10/29 zeljko <zeljko at holobit.net>:
> > It seem not. When rebuilded lazarus 33148 today , it refuses to link because
> > some of .o files in 3rd party packages have linked old function from
> > TControl (which is renamed today), so must cd into
> > mypackage/source/lib/i386-linux/ and delete all o and ppu files, then
> > lazarus builded ok.
> Yes, I asked because of exactly the same problem. Cleaning with "make
> clean", "make bigideclean", etc. didn't help but deleting all *.o
> *.ppu manually did.

The IDE now deletes all files in the unit output directory of a package
when the package is compiled clean.

It checks if the directory is shared with a required package.

This means: if you have two unrelated packages which share the unit
output directory, you have to change one of the output directories or
set one of them to compile manually.


More information about the Lazarus mailing list