'@reztho, been using your driver working fine all thru the years never updated it until a few days ago. Spent alot of time digging & found out the solution, fyi, i'm just a power user not a programmer.
Long story short, found that you need the flag '-no-pie' at LDFLAGS at Line 118 => https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=capt-src#n118 Also found the compiled libbuftool.a needs to be copied to /usr/lib/ then only statusui will build. Hope this helps, Thanks for maintaining & keep updating this driver for so many years, Cheers.
Updates
Finally found out why libbuftool.a was not found during build is bcos ${pkgdir} was not properly expanded :P
LDFLAGS='-L'${pkgdir}'/usr/lib -no-pie'
Updates
In case anyone wants to build the previous version 2.70, it'll work with the above same flag. https://bit.ly/2wUesB1 To know which model is supported then refer to here => https://bit.ly/2CEtRus All credits goes to reztho for this driver.
Pinned Comments
reztho commented on 2020-06-11 14:55 (UTC) (edited on 2020-06-11 18:47 (UTC) by reztho)
Do not expect this driver to work in the near future if Canon doesn't release a new version soon. This driver is from 2017 and the GCC environment started deprecating a lot of stuff used by this driver. Please, ask for better Linux support to Canon.
Do not flag this package out of date if there's no new version available. That's bad community behavior. A comment telling about the issue is enough.
If your machine uses the x86_64 arch, the multilib pacman repo will be needed for this driver: https://wiki.archlinux.org/index.php/Official_repositories#multilib
For an alternative 100% open source driver although not official by Canon, go to: https://aur.archlinux.org/packages/captdriver-git/
buovjaga commented on 2020-01-09 10:33 (UTC)
Re: driver deprecation - the CUPS creator opened this issue to discuss how to handle old devices: https://github.com/apple/cups/issues/5271
From one of his comments: "Before we drop PPDs, we will be working with developers to create those printer applications (particularly Gutenprint), and will likely end up creating our own printer application (based on the existing ippserver sample code) to support existing PostScript and CUPS raster drivers. So the goal is definitely not to leave people SOL, but rather to plan for a future where we aren't limited by the capabilities of the past."
reztho commented on 2019-10-06 11:44 (UTC)
Now you'll see this warning message: lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
Not sure what this will mean for the future with this driver.