View previous topic :: View next topic |
Author |
Message |
goll n00b
Joined: 23 Jan 2021 Posts: 18 Location: Brazil
|
Posted: Fri Feb 26, 2021 2:07 pm Post subject: [SOLVED] ERROR: net-print/imagescan (compile phase) |
|
|
imagescan fails to compile with the following errors:
Code: | monitor.cpp: In member function ‘std::string utsushi::monitor::default_device() const’:
monitor.cpp:79:56: error: ‘_1’ was not declared in this scope
79 | bind (&scanner::info::is_driver_set, _1));
| ^~
...
monitor.cpp: In function ‘bool utsushi::is_all_device_connected(const container_type&, const id_list&)’:
monitor.cpp:524:27: error: ‘_1’ was not declared in this scope
524 | _1, id->first, id->second));
| ^~
...
monitor.cpp: In function ‘bool utsushi::is_all_device_connected(const container_type&, const id_list&)’:
monitor.cpp:524:27: error: ‘_1’ was not declared in this scope
524 | _1, id->first, id->second));
| ^~
...
monitor.cpp: In function ‘void utsushi::configure_combo_device(utsushi::monitor::container_type&)’:
monitor.cpp:557:41: error: ‘_1’ was not declared in this scope
557 | _1, id->first, id->second));
| ^~
|
Output of emerge
I am using this ebuild with a local ebuild repo; I got the ebuild from here (page 2).
IDK much about ebuilds and patching, so I would be very happy if someone could help me solve this issue.
Last edited by goll on Sat Feb 27, 2021 9:21 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Fri Feb 26, 2021 2:46 pm Post subject: |
|
|
Moved from Portage & Programming to Unsupported Software. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Fri Feb 26, 2021 5:54 pm Post subject: |
|
|
Try this patch and change ebuild version to 3.61.0 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
goll n00b
Joined: 23 Jan 2021 Posts: 18 Location: Brazil
|
Posted: Sat Feb 27, 2021 9:21 pm Post subject: |
|
|
thanks for the patch! unfortunately, scanimage segfaults when trying to scan. now i am using utsushi from the calculate repo and it is working (at first it wasn't, but i had to add utsushi to /etc/sane.d/dll.conf for it to work) |
|
Back to top |
|
|
|