Lazarus application fails to link when built with -gw3
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
-
Reporter name: Juha Manninen
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
- Reporter name: Juha Manninen
Description:
The most basic Lazarus app is attached as an example.
-gw3 is set in Project Options -> Other -> Custom Options.
The output:
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/home/juha/SW/LazTest/xxx/lib/x86_64-linux/unit1.o: In function .La1':<br/> unit1.pas:(.debug_info+0x94): undefined reference to
DBG_FORMS_TForm'
project1.lpr(19,1) Error: Error while linking
Steps to reproduce:
Open the attached project in Lazarus and hit F9.
Mantis conversion info:
- Mantis ID: 17651
- OS: Fedora
- OS Build: 13
- Platform: Linux
- Version: 2.5.1