Hello,
I received the same message installing Lazarus:
link.res contains output sections; did you forget -T?
the problem was that I was installing via command line, when installed by Synaptics then everything worked perfectly, so let's go through a step-by-step:
I will show how to install a software by Synaptics:
1) mark the packages to install (one on one with double-click)
2) click the Apply button (top menu)
3) then Synaptics will download the packages and install, but ...
it needs to have a list of where it will download the packages,
he handle /etc/apt/sources.list
I entered the site debgen.simplylinux.ch and performed the
Sources List Generator and copied and pasted the lines generated
(As superuser) in sources.list file and the rest
was automatic
4) installed Lazarus ok but does not compile, claims dependency,
says lacked the LCL, marked and applied the lcl-1.2.4 and
lcl-gtk2-1.2.4 and lcl-Nogui-1.2.4 and lcl-units-1.2.4 and
lcl-utils-1.2.4
and ok, started to compile ok
5) Lazarus in Tools> Options uncheck "Notify on Lazarus Exceptions"
that's it ... the process should be the same for any software, lets Synaptics resolve dependencies.
Good luck
Gilson