-
Notifications
You must be signed in to change notification settings - Fork 464
-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
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
errors occurred when there is no HAVE_POSIX_SPAWN definition #4510
Comments
CUPS.org User: tommy my solution: [tommy@alfread scheduler]$ diff process.c process.c.fix
|
CUPS.org User: mike Current CUPS requires POSIX conformance for Unix operating systems. What OS and compiler are you using? |
CUPS.org User: tommy I'm using arm-linux-gcc cross compile for arm. |
CUPS.org User: mike Fixed in Subversion repository. Your proposed fix was incorrect and would cause filters to run as root... The correct "fix" is attached, although longer term we will no longer support non-POSIX systems. |
"str4510.patch": Index: scheduler/process.c--- scheduler/process.c (revision 12243)
|
Version: 2.0-current
CUPS.org User: tommy
Making all in cups...
Making all in test...
Making all in filter...
Making all in backend...
Making all in berkeley...
Making all in cgi-bin...
Making all in monitor...
Making all in notifier...
Making all in ppdc...
Making all in scheduler...
make[5]: Entering directory '/home/tommy/cups-2.0.0/scheduler'
Compiling process.c...
process.c: In function �cupsdStartProcess�:
process.c:542:14: error: �user_str� undeclared (first use in this function)
process.c:542:14: note: each undeclared identifier is reported only once for each function it appears in
process.c:543:14: error: �group_str� undeclared (first use in this function)
process.c:544:14: error: �nice_str� undeclared (first use in this function)
At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare"
../Makedefs:248: recipe for target 'process.o' failed
make[5]: *** [process.o] Error 1
The text was updated successfully, but these errors were encountered: