- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ghostscript on HP-UX 11.00
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
Forums
Discussions
Discussions
Discussions
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
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
05-24-2010 06:58 AM
05-24-2010 06:58 AM
ghostscript on HP-UX 11.00
I'd appreciate any help.
Thanks,
Steve
- Tags:
- ghostscript
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2010 07:02 AM
05-24-2010 07:02 AM
Re: ghostscript on HP-UX 11.00
Post your errors, someone might be abel to help.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2010 02:00 PM
05-24-2010 02:00 PM
Re: ghostscript on HP-UX 11.00
Thanks for the tip. I was hoping I would find someone that has the precompiled package. :-)
While compiling 8.71 configure as:
./configure --without-jasper --without-jbig2dec CC=/opt/ansic/bin/cc
I get the following error:
...
./obj/echogs -e .dev -a- ./obj/dpsnext -oper zdpnext
./obj/echogs -e .dev -a- ./obj/dpsnext -ps gs_dpnxt
/opt/ansic/bin/cc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -O -DSYS_TYPES_HAS_STDINT_TYPES -DGX_COLOR_INDEX_TYPE="unsigned long long" -I./obj -I./base -o ./obj/gsnogc.o -c ./base/gsnogc.c
cc: "base/gsnogc.c", line 35: error 1610: Attempting to return value from function of type void.
cc: "base/gsnogc.c", line 83: warning 604: Pointers are not assignment-compatible.
cc: "base/gsnogc.c", line 83: warning 563: Argument #1 is not the correct type.
cc: "base/gsnogc.c", line 87: warning 604: Pointers are not assignment-compatible.
cc: "base/gsnogc.c", line 87: warning 563: Argument #1 is not the correct type.
make: *** [obj/gsnogc.o] Error 1
#
I'd appreciate any help.
Thanks,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2010 11:45 PM
05-24-2010 11:45 PM
Re: ghostscript on HP-UX 11.00
What's on this line? What's the start of the function look like?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2010 05:52 PM
05-25-2010 05:52 PM
Re: ghostscript on HP-UX 11.00
/* Free a string. */
static void
nogc_free_string(gs_memory_t * mem, byte * str, uint size, client_name_t cname)
{
return gs_free_object(mem, str, cname);
}
HP compiler apparently doesn't like return statement in function of type void. I was able to compile the same code on another system using gcc on HP-UX 11.23. Instead of modifying the src code I'm going to see if I can find gcc for HP-UX 11.00.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2010 08:01 PM
05-25-2010 08:01 PM
Re: ghostscript on HP-UX 11.00
That's correct, this is illegal code.
>Instead of modifying the source code I'm going to see if I can find gcc for HP-UX 11.00.
Why not fix the code? Just see what gs_free_object returns and if nogc_free_string is expected to return something.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2010 07:50 PM
05-28-2010 07:50 PM
Re: ghostscript on HP-UX 11.00
So I got beyond the error 1610. Then I started getting the following error.
/opt/ansic/bin/cc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -O -DSYS_TYPES_HAS_STDINT_TYPES -DGX_COLOR_INDEX_TYPE="unsigned long long" -I./obj -I./base -Itiff/libtiff -I./obj -Izlib -o ./obj/gdevtfax.o -c ./base/gdevtfax.c
cc: "base/stdpre.h", line 249: error 1713: Illegal redeclaration for identifier "ushort".
cc: "base/stdpre.h", line 250: error 1713: Illegal redeclaration for identifier "uint".
make: *** [obj/gdevtfax.o] Error 1
#
According to HP-UX doc, I'm supposed to remove the Illegal redeclaration. So I did. Then I get the following error...
cc -O -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -I./base -o ./obj/genconf ./base/genconf.c
cc: "base/genconf.c", line 779: error 1000: Unexpected symbol: "strlen".
cc: "base/genconf.c", line 778: error 1621: Too few arguments for sprintf.
cc: "base/genconf.c", line 781: warning 527: Integral value implicitly converted to pointer in assignment.
cc: "base/genconf.c", line 781: warning 563: Argument #1 is not the correct type.
make: *** [obj/genconf] Error 1
#
Now I'm tired of chasing this and pretty much out of time. I've given up on this approach for the moment and have found a work around. I was finally able to compile it with gcc 3.0.1.
Thanks for the advice and tip Dennis.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2010 07:55 PM
05-28-2010 07:55 PM
Re: ghostscript on HP-UX 11.00
./configure --without-jasper --without-jbig2dec CC=gcc
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2010 08:21 PM
05-28-2010 08:21 PM
Re: ghostscript on HP-UX 11.00
What's on these lines in base/genconf.c?