On 05 Jun 2010, at 19:38, spir wrote: > I have renamed a unit previously called "UnitType" to "UnitSystem". The unit > name itself, its file name, and the name used to import it in a uses clause > inside a testing program where all changed. > But the linker still expects the previous name: > testUnit.pas(78,1) Warning: Object UnitType.o not found, Linking may fail ! > testUnit.pas(79,1) Error: Error while linking > Note: UnitSystem compile finely, UnitSystem.o exists.
Maybe you did not recompile all units that used the old unit name? Try rebuilding the program (compile with the -B option, or delete all .ppu files). Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal