We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
$ make -j1 gdbus-codegen \ --interface-prefix org.cups.cupsd \ --c-namespace Cups \ --generate-c-code cups-notifier \ daemon/org.cups.cupsd.Notifier.xml make all-recursive make[1]: Verzeichnis „/home/domain/user/Downloads/cups-browsed-2.0.0“ wird betreten make[2]: Verzeichnis „/home/domain/user/Downloads/cups-browsed-2.0.0“ wird betreten CC backend/implicitclass-implicitclass.o CCLD implicitclass CC daemon/cups_browsed-cups-browsed.o daemon/cups-browsed.c:405:3: error: unknown type name 'AvahiIfIndex' 405 | AvahiIfIndex interface; | ^~~~~~~~~~~~ daemon/cups-browsed.c:406:3: error: unknown type name 'AvahiProtocol' 406 | AvahiProtocol protocol; | ^~~~~~~~~~~~~ daemon/cups-browsed.c:411:9: error: unknown type name 'AvahiAddress' 411 | const AvahiAddress *address; | ^~~~~~~~~~~~ daemon/cups-browsed.c:413:3: error: unknown type name 'AvahiStringList' 413 | AvahiStringList *txt; | ^~~~~~~~~~~~~~~ daemon/cups-browsed.c:414:3: error: unknown type name 'AvahiLookupResultFlags' 414 | AvahiLookupResultFlags flags; | ^~~~~~~~~~~~~~~~~~~~~~ daemon/cups-browsed.c: In function 'get_local_queue_name': daemon/cups-browsed.c:6196:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6196 | str = resource; | ^ daemon/cups-browsed.c: In function 'examine_discovered_printer_record': daemon/cups-browsed.c:10199:7: warning: unused variable 'raw_queue' [-Wunused-variable] 10199 | int raw_queue = 0; | ^~~~~~~~~ daemon/cups-browsed.c: At top level: daemon/cups-browsed.c:3897:1: warning: 'local_printer_has_uuid' defined but not used [-Wunused-function] 3897 | local_printer_has_uuid (gpointer key, | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:1075: daemon/cups_browsed-cups-browsed.o] Fehler 1 make[2]: Verzeichnis „/home/domain/user/Downloads/cups-browsed-2.0.0“ wird verlassen make[1]: *** [Makefile:1260: all-recursive] Fehler 1 make[1]: Verzeichnis „/home/domain/user/Downloads/cups-browsed-2.0.0“ wird verlassen make: *** [Makefile:769: all] Fehler 2
To Reproduce Steps to reproduce the behavior:
Expected behavior Allow to build with avahi support disabled.
System Information:
The text was updated successfully, but these errors were encountered:
cups-browsed.c: Fix build with avahi disabled (#20)
08af74b
Fixes #19
Successfully merging a pull request may close this issue.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Allow to build with avahi support disabled.
Screenshots
System Information:
Additional context
The text was updated successfully, but these errors were encountered: