[Lazarus] Can't compile a saved project

Joost van der Sluis joost at cnoc.nl
Thu Jun 12 16:07:41 CEST 2014


On 06/12/2014 10:41 AM, Michael Van Canneyt wrote:
>
>
> On Thu, 12 Jun 2014, Michael Schnell wrote:
>
>> On Linux x86 32 Bits, using the current svn version, since two days,
>> while I still can create a "new->application", after I just did "save
>> project as" and saved the two files, I can't compile any more but get
>> lots of error messages (seemingly when linking) starting with
>>
>> Compile Project: Exit code 256, Errors:50
>> /usr/bin/ld: warning: link.res contains output sections; did you
>> forget -T?
>> /home/mschnell/Downloads/svn/lazarus/trunk/lcl/units/i386-linux/wsimglist.o:
>> In function `REGISTERCUSTOMIMAGELIST':
>> wsimglist.pp(262,1) Error: undefined reference to
>> `WSRegisterCustomImageList'
>> /home/mschnell/Downloads/svn/lazarus/trunk/lcl/units/i386-linux/wsmenus.o:
>> In function `REGISTERMENUITEM':
>> wsmenus.pp(221,1) Error: undefined reference to `WSRegisterMenuItem'
>> ....
>>
>> What to do ?
>
> Sounds like a missing 'interfaces' unit in your project source.

See also:

http://wiki.lazarus.freepascal.org/Lazarus_Faq#When_I_compile_a_project.2C_that_uses_a_LCL_unit.2C_I_get_a_linker_error

Joost.




More information about the Lazarus mailing list