Giter VIP home page Giter VIP logo

cups's People

Contributors

jianglei12138 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cups's Issues

后台打开之后,点击增加打印机页面显示notfound

另外移植到android上之后,./cupsd -f 并没有日志输出,但是浏览器中能够打开631页面,但是点击添加打印机全是显示not found,另外发现生成的var/文件夹下面有文件夹但是各文件夹里面的内容全是空的,是否与此有关?

ubuntu 16.04编译报错avahi_client头文件找不到

$make
Using ARCHFLAGS=
Using ALL_CFLAGS=-Ifontembed -I.. -D_CUPS_SOURCE   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT  
Using ALL_CXXFLAGS=-Ioprs -Iopvp -I../opvp -I../.. -I.. -D_CUPS_SOURCE   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT  
Using CC=arm-linux-androideabi-clang
Using CXX=arm-linux-androideabi-clang
Using DSOFLAGS=-L../cups  -Wl,-soname,all -shared -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-unused-result -Wsign-conversion -Wno-tautological-compare -D_GNU_SOURCE
Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -fPIE -pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-unused-result -Wsign-conversion -Wno-tautological-compare -D_GNU_SOURCE
Using LIBS=-lcups  -lavahi-client -lavahi-core -lavahi-common -lz -pthread -lm  -lz -llocale
Making all in cups...
Compiling adminutil.c...
Compiling array.c...
Compiling attr.c...
Compiling auth.c...
Compiling backchannel.c...
Compiling backend.c...
Compiling conflicts.c...
Compiling custom.c...
Compiling debug.c...
Compiling dest.c...
dest.c:38:12: fatal error: 'avahi-client/client.h' file not found
#  include 
           ^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [dest.o] Error 1
make: *** [all] Error 1

`extern char *setlocale` definition missed

Hi,
your liblocale's custom locale.h header file miss the definition of setlocale whose linkage symbol can be found in sysroot/usr/lib/libc.so by nm

extern char *setlocale(int category, const char *locale); //this line missed

cups更改了什么东西?

老哥,按照你的操作步骤来。成功移植到了Android系统,访问127.0.0.1:631之后,home界面正常显示。但是其他界面,打印机管理啊,任务管理啊等,全部显示NOT FOUND,会是什么原因呢?并且想向您请教一下,您的cups做了哪些更改。

编译时出错: fatal error: linux/lp.h: No such file or directory

1、操作系统,新安装的ubuntu16.04x64
2、NDK版本android-ndk-r10e-linux-x86_64

编译时出现以下错误:
Compiling ieee1284.c...
In file included from ieee1284.c:22:0:
backend-private.h:34:26: fatal error: linux/lp.h: No such file or directory
include <linux/lp.h>
compilation terminated.
../Makedefs:253: recipe for target 'ieee1284.o' failed
make[1]: *** [ieee1284.o] Error 1
Makefile:31: recipe for target 'all' failed
make: *** [all] Error 1

请问知道是什么原因吗?
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.