hi, I have a HP-UX 11.11. We are using GNU gcc, GNU make and still ghostscript will not compile. Here are the errors: ./src/mkromfs.c: In function 'inode_write': ./src/mkromfs.c:281: warning: pointer targets in passing argument 2 of 'put_bytes_padded' differ in signedness /usr/ccs/bin/ld: Unsatisfied symbols: mkstemp64 (first referenced in ./obj/gp_unifs.o) (code) collect2: ld returned 1 exit status *** Error exit code 1 This bug has been already logged for AIX and not yet solved i guess. http://bugs.ghostscript.com/show_bug.cgi?id=689669 please help to solve this problem. Thanks,
Make sure HAVE_MKSTEMP64 isn't defined in the makefile?
Created attachment 4187 [details] Makefile Please find the attached Makefile. HAVE_MKSTEMP64 is not declared anywhere in the Makefile.
Hi, I could not find any solution for error : mkstemp64 Please help. Please refer to the attached file.
Hi, Please confirm whether Ghostscript can be installed in HP-UX 11.11 and HP-UX 11.31 I am not finding any solution for the issues i face while installing Ghost script...... Please reply whether Ghostscript can be installed in HP-X 11.11 and HP-UX 11.31. Thanks,
You are correct that your Makefile doesn't define HAVE_MKSTEMP64. On the other hand, the code won't reference it if it is not defined. You don't say which version of Ghostscript you're trying to build, but this is the case with at least 8.62 and the current development tree. You might try removing -DHAVE_FILE64 from the makefile as a work around.
I believe ghostcript 8.5x works with HP-UX 11.11 and 11.31 - I tried recently - a week or so ago - regarding bug 688184 (which I filed myself) on the HP test-drive service - the problem in bug 688184 is no longer seen with newer HP-UX. Unfortunately the HP test-drive service is being withdrawn end of this month, so it would be difficult to fix any HP-UX-specific problems (AFAIK, the ghostscript folks don't have access to an HP-UX machines), if any such problems don't get fixed in two weeks. There are a few small HP-UX specific problems. Would you consider granting remote access to some of your machines to some of ghostscript's developers, if one of them/us agree to take this on?
gs 8.63 can be installed on HP-UX 11.31 with the HP C compiler, if you skip a few of the recently merged drivers. Specifically, this combination works: (1) HP C compiler: cpp.ansi: HP92453-01 B.11.31.01 HP C Preprocessor (ANSI) ccom: HP92453-01 B.11.X.36086-36089-36092.GP HP C Compiler /usr/ccs/bin/ld: 92453-07 linker linker ld B.11.60 070209 (2) HP-UX 11.31: > uname -a HP-UX td191 B.11.31 U 9000/800 3397116299 unlimited-user license (3) configure ghostscript with ./configure --with-drivers=FILES,APPLE,BROTHER,EPSON,HP,IBM,LEXMARK,OKI,PCLXL (i.e. without JAPAN and CANON) These 5 files (a few from JAPAN, a few from CANON) contrib/japanese/gdevespg.c, contrib/japanese/gdevnpdl.c, contrib/japanese/gdevrpdl.c, contrib/lips4/gdevl4r.c, contrib/opvp/gdevopvp.c won't build on HP-UX; so if you desparately need some CANON printers (unlikely you need the JAPAN ones), try removing "lbp8" "lips3" from the CANON list in ./configure . Unfortunately today is the last day of the HP testdrive service (Any time now I expect to be kicked off) - I wish it could stay for a little bit. HP-UX-specific issues are unlikely to be fixed without access to such machines.
Oh, I am just confirming the bug because it is tricky to build HP-UX (11.31). HP test drive doesn't have gcc. (and they don't have a HP-UX 11.11 machine any more, and today is the last day of the provision of 11.31 machine).
Grabbing a Ralph's bugs.
Please try the patch set and instruction in http://bugs.ghostscript.com/show_bug.cgi?id=688184#c15 and do "./configure && make" with ghostscript 8.71 to see if it works. (and not "ln -s base/unix-gcc.mak make; make " or anything that involves dealing with base/*.mak)
Since another user is filing runtime issue on HP-UX with the 9.0 release (Bug 691853), it would appear that building on HP-UX is no longer a problem.