- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cups on HPUX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 08:05 PM
тАО11-13-2007 08:05 PM
cups on HPUX
The configuration is done by the next command:
> LDFLAGS="-L/usr/local/lib" ; \
> DSOFLAGS="-L/usr/local/lib" ; \
> ./configure --prefix=/usr/local/cups
After this, I change the Makedefs file for SHELL = /usr/local/bin/bash.
When I run make all(or gmake all), I get a lot of errors like "warning: array subscript has type 'char'", "warning: deprecated conversion from string constant to 'char*'" and "warning: missing sentinel in function call". I have put the output in a txtfile.
The result is that when I run gmake install (or make install), everything looks ok. When I start cups however only the home page from the cups website is available. lpadmin and lpstat don't work properly either.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 08:31 PM
тАО11-13-2007 08:31 PM
Re: cups on HPUX
These are just warnings. The first is just a stylistic one. I suppose a possible error if it is a signed char and that is unexpected.
The second is just warning you that string constant are const char* and you are really violating type safety. But this is still allowed in C++.
I don't know about the "sentinel" one?
Perhaps you don't have an anchor arg when you have "..."?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 08:52 PM
тАО11-13-2007 08:52 PM
Re: cups on HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 09:01 PM
тАО11-13-2007 09:01 PM
Re: cups on HPUX
int printf(const char *fmt, ...);
fmt is the anchor. The C Standard uses parmN.
While you can have "..." without the anchor you can't use va_start in that function. Perhaps that's the warning?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2007 09:23 PM
тАО11-13-2007 09:23 PM