This is a discussion on GhostScript on AIX within the AIX Operating System forums, part of the Unix Operating Systems category; --> hi, i've a problem when i try to compile GhostScript on AIX 5.1 when i issue "make" it exits ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| hi, i've a problem when i try to compile GhostScript on AIX 5.1 when i issue "make" it exits with this error: In file included from jasper/src/libjasper/include/jasper/jasper.h:66, from src/sjpx.h:29, from ./src/zfjpx.c:40: jasper/src/libjasper/include/jasper/jas_types.h:139: stdint.h: No such file or directory make: The error code from the last command is 1. could someone help me with this? maybe giving me a tip advicing me how to get to solute this one? thank you very much in advance, Alberto |
| |||
| lupo75 <lupo.alberto75@gmail.com> wrote: > hi, i've a problem when i try to compile GhostScript on AIX 5.1 > when i issue "make" it exits with this error: > [...] > jasper/src/libjasper/include/jasper/jas_types.h:139: stdint.h: No such > file or directory > [...] > could someone help me with this? maybe giving me a tip advicing me how > to get to solute this one? Comment out the line #define HAVE_STDINT_H 1 or replace it by #undef HAVE_STDINT_H in src/libjasper/include/jasper/jas_config.h Martin -- "For the Snark's a peculiar creature, that won't Be caught in a commonplace way. Do all that you know, and try all that you don't; Not a chance must be wasted to-day!" |
| |||
| On Nov 30, 3:36 pm, Martin Etteldorf <ettel...@email.lu> wrote: > lupo75 <lupo.albert...@gmail.com> wrote: > > hi, i've a problem when i try to compile GhostScript on AIX 5.1 > > when i issue "make" it exits with this error: > > [...] > > jasper/src/libjasper/include/jasper/jas_types.h:139: stdint.h: No such > > file or directory > > [...] > > could someone help me with this? maybe giving me a tip advicing me how > > to get to solute this one?Comment out the line > #define HAVE_STDINT_H 1 > or replace it by > #undef HAVE_STDINT_H > in src/libjasper/include/jasper/jas_config.h > > Martin hi Martin, first of all thank you for your reply!! i've added #undef HAVE_STDINT_H in src/libjasper/include/jasper/jas_config.h as you told me (it wasn't present at all) but nothing changed. i still have this error at line 139 in jasper/src/libjasper/include/jasper/jas_types.h around this line you find this: #if defined(HAVE_STDINT_H) /* * The C language implementation does correctly provide the standard header * file "stdint.h". */ # include <stdint.h> #else /* * The C language implementation does not provide the standard header file * "stdint.h" as required by ISO/IEC 9899:1999. Try to compensate for this * braindamage below. */ # include <limits.h> do you have others ideas?? thank you Alberto |
| |||
| lupo75 <lupo.alberto75@gmail.com> wrote: > > > i still have this error at line 139 in > jasper/src/libjasper/include/jasper/jas_types.h > > do you have others ideas?? Maybe it's defined somewhere else? grep HAVE_STDINT_H jasper/src/libjasper/include/jasper/* Martin -- "For the Snark's a peculiar creature, that won't Be caught in a commonplace way. Do all that you know, and try all that you don't; Not a chance must be wasted to-day!" |
| |||
| Martin Etteldorf ha scritto: > > Maybe it's defined somewhere else? > grep HAVE_STDINT_H jasper/src/libjasper/include/jasper/* > > > Martin you were right, it was in jasper/src/libjasper/include/jasper/jas_config_ac.h i've undefined it as you told me, but now i've another kind of error: ld: 0706-005 Cannot find or open file: libgcc.a ld ld: 0706-005 Cannot find or open file: libgcc.a ld gcc: file path prefix `/opt/freeware/GNUPro/lib/gcc-lib/loadmap/2.9-aix51-020209/' never used i've found libgcc.a in /usr/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-020209/libgcc.a and copied it in the file path prefix (i don't know if it's useful to do, but i've done it) make again and ld: 0711-317 ERROR: Undefined symbol: .inflate_blocks_reset ld: 0711-317 ERROR: Undefined symbol: .inflate_blocks_free ld: 0711-317 ERROR: Undefined symbol: .inflate_blocks_new ld: 0711-317 ERROR: Undefined symbol: .inflate_blocks ld: 0711-317 ERROR: Undefined symbol: .inflate_set_dictionary ld: 0711-317 ERROR: Undefined symbol: .inflate_blocks_sync_point ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. gcc: file path prefix `/opt/freeware/GNUPro/lib/gcc-lib/loadmap/2.9-aix51-020209/' never used make: The error code from the last command is 1. (-bloadmap or -bnoquiet are already in use in the makefile) |
| ||||
| lupo75 <lupo.alberto75@gmail.com> wrote: > Martin Etteldorf ha scritto: > >> >> Maybe it's defined somewhere else? >> grep HAVE_STDINT_H jasper/src/libjasper/include/jasper/* > > you were right, it was in > > jasper/src/libjasper/include/jasper/jas_config_ac.h > > i've undefined it as you told me, but now i've another kind of error: > > ld: 0706-005 Cannot find or open file: libgcc.a > ld > ld: 0706-005 Cannot find or open file: libgcc.a > ld > gcc: file path prefix > `/opt/freeware/GNUPro/lib/gcc-lib/loadmap/2.9-aix51-020209/' never used Sounds like a broken Makefile, generated by a broken autoconf or configure-script. Always the same with that GNU stuff under AIX. By the way, have you already considered installing a more recent version of gcc? > make again and > > ld: 0711-317 ERROR: Undefined symbol: .inflate_blocks_reset > ld: 0711-317 ERROR: Undefined symbol: .inflate_blocks_free > ld: 0711-317 ERROR: Undefined symbol: .inflate_blocks_new > ld: 0711-317 ERROR: Undefined symbol: .inflate_blocks > ld: 0711-317 ERROR: Undefined symbol: .inflate_set_dictionary > ld: 0711-317 ERROR: Undefined symbol: .inflate_blocks_sync_point > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. > gcc: file path prefix > `/opt/freeware/GNUPro/lib/gcc-lib/loadmap/2.9-aix51-020209/' never used > make: The error code from the last command is 1. > > (-bloadmap or -bnoquiet are already in use in the makefile) How exactly are they in there? I asume, as "-bloadmap" and "-bnoquiet", right? If I remember correctly, it should be "-Wl,-bloadmap" and "-Wl,-bnoquiet". Maybe this fixes also your libgcc error. For the undefined symbols .inflate_whatever: These are part of libz.[a|so], so maybe it's missing at all (then you should also get a ld: 0706-005 Cannot find or open file: libz.[a|so]), or it's there but the version is wrong (most likely too old). You can find the most recent version at <http://www.zlib.net/>. Compile and install it and link ghostscript against this one instead of the one you're currently using. Martin -- "For the Snark's a peculiar creature, that won't Be caught in a commonplace way. Do all that you know, and try all that you don't; Not a chance must be wasted to-day!" |