Operating System - HP-UX
1755038 Members
3050 Online
108828 Solutions
New Discussion юеВ

Error when installing a software

 
Nivi
Advisor

Error when installing a software

Hi,

I want to install Ghostscript inorder to support prinitng to non-Postscript printers. While installing ghostscript i got the following error in "make" command

te-strings -Wno-strict-aliasing -fno-builtin -fno-common -DSYS_TYPES_HAS_STDINT_TYPES -DGX_COLOR_INDEX_TYPE="unsigned long long" -Ijasper/src/libjasper/include -I./src -I./obj -I./obj -I./src -DJAS_CONFIGURE -o ./obj/zfjpx.o -c ./src/zfjpx.c
In file included from jasper/src/libjasper/include/jasper/jasper.h:66,
from ./src/sjpx.h:24,
from ./src/zfjpx.c:37:
jasper/src/libjasper/include/jasper/jas_types.h:151: error: conflicting types for 'int_fast8_t'
/usr/include/sys/_inttypes.h:133: error: previous declaration of 'int_fast8_t' was here
jasper/src/libjasper/include/jasper/jas_types.h:157: error: conflicting types for 'uint_fast8_t'
/usr/include/sys/_inttypes.h:136: error: previous declaration of 'uint_fast8_t' was here
jasper/src/libjasper/include/jasper/jas_types.h:162: error: conflicting types for 'int_fast16_t'
/usr/include/sys/_inttypes.h:145: error: previous declaration of 'int_fast16_t' was here
jasper/src/libjasper/include/jasper/jas_types.h:168: error: conflicting types for 'uint_fast16_t'
/usr/include/sys/_inttypes.h:148: error: previous declaration of 'uint_fast16_t' was here
*** Error exit code 1

Stop.

I could not understand what is actually conflicting.

please help me to solve this error.

Any help is appreciated.

Thanks,
2 REPLIES 2
Nivi
Advisor

Re: Error when installing a software

Hi,

I saw the same question in http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1215061546814+28353475&threadId=1021208

but what has to be changed in that file i could not understand.

Please help...
Dennis Handly
Acclaimed Contributor

Re: Error when installing a software

>but what has to be changed in that file i could not understand.

It should be obvious. What's in jas_types.h is garbage, what's in HP-UX's is by fiat, good. So change/remove jas_types.h:151, jas_types.h:157 jas_types.h:162, jas_types.h:168.
You could these 4 bad typedefs in an "#ifndef __hpux" block.