@depau yeah, I'll update it. What is the issue you're trying to fix. I'm guessing adding -fcommon to the CFLAGS is the right solution.
Search Criteria
Package Details: cnijfilter2 6.60-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/cnijfilter2.git (read-only, click to copy) |
---|---|
Package Base: | cnijfilter2 |
Description: | Canon IJ Printer Driver for Linux |
Upstream URL: | https://www.canon.com.au/home-printers |
Keywords: | Canon Driver Printer |
Licenses: | GPL, custom:canon |
Conflicts: | cnijfilter, cnijfilter-mg3600 |
Provides: | cnijlgmon3, tocanonij, tocnpwg |
Submitter: | iAndrewT |
Maintainer: | unit73e |
Last Packager: | unit73e |
Votes: | 42 |
Popularity: | 0.053887 |
First Submitted: | 2016-12-22 12:46 (UTC) |
Last Updated: | 2023-07-30 13:18 (UTC) |
Dependencies (5)
- cups (cups-gitAUR, cups-gssapiAUR)
- ghostscript
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- autoconf (autoconf-gitAUR) (make)
- automake (automake-gitAUR) (make)
Required by (0)
Sources (1)
zerophase commented on 2020-07-22 19:34 (UTC) (edited on 2020-07-22 19:36 (UTC) by zerophase)
depau commented on 2020-07-22 11:20 (UTC)
@zerophase can you please update the package to implement the patch suggested below or something equivalent?
Thank you
Amethyste69 commented on 2020-06-22 15:44 (UTC)
@daviddoan Works fine ! Many thanks for your help
daviddoan commented on 2020-06-20 02:30 (UTC) (edited on 2020-06-20 02:31 (UTC) by daviddoan)
I added "sed -e '/GET_PROTOCOL/ s:^int:extern &:g' -i 'lgmon3/src/cnijlgmon3.c'" to PKGBUILD as follows and it worked
build() { cd "$pkgname-source-$pkgver-1" sed -e '/GET_PROTOCOL/ s:^int:extern &:g' -i 'lgmon3/src/cnijlgmon3.c' pushd cmdtocanonij2
Amethyste69 commented on 2020-06-19 20:08 (UTC)
Got the same problem than Jochidd here. Don't understand severach idea with sed -e '/GET_PROTOCOL/ s:^int:extern &:g' -i 'lgmon3/src/cnijlgmon3.c' Anybody can explain please ? Many thanks.
severach commented on 2020-05-28 06:26 (UTC)
sed -e '/GET_PROTOCOL/ s:^int:extern &:g' -i 'lgmon3/src/cnijlgmon3.c'
Adding -fcommon to CFLAGS will also work but I couldn't figure out where to put it.
blufinney commented on 2020-05-28 06:08 (UTC)
@jochidd - I get the same linker error. How did you fix it?
jochidd commented on 2020-05-23 11:23 (UTC)
I needed to fix the following linker error manually (extern declaration):
libtool: link: gcc -O2 -Wall -I/usr/include/libusb-1.0 -I./common -I/usr/include/libxml2 -o cnijlgmon3 cnijcomif.o cnijifusb.o cnijlgmon3.o cnijifnet.o keytext.o cnijifnet2.o cnijutil.o -L../../com/libs_bin64 -ldl -lusb-1.0 -lcnnet2 -lxml2 -lcnbpcnclapicom2 -lcnbpnet30 -lcups /usr/bin/ld: cnijifnet2.o:(.bss+0x0): multiple definition of `GET_PROTOCOL'; cnijlgmon3.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:402: cnijlgmon3] Fehler 1
Otherwise works nicely. Tested with Canon Pixma TS6350 (scanning + printing).
zerophase commented on 2019-12-19 04:40 (UTC)
Sorry, I'm back to updating. I can add a co-maintainer to help keep this package up to date.
tschertel commented on 2019-12-18 16:49 (UTC)
Any chance to see this package updated?? Is it time to orphan it?
Pinned Comments
unit73e commented on 2022-10-01 15:47 (UTC)
Just a kindly reminder (because I forgot) that to have the scanner working you probably should use avahi:
https://wiki.archlinux.org/title/SANE/Scanner-specific_problems#Scanning_over_the_network_with_Canon_PIXMA_or_imageCLASS_all-in-one_printer/scanners
There are other methods but this is the easiest one.