I ran configure, and then make, using the SCO 6.0.0 cc compiler.
Is this error in the Makefile, as line 277 of it appears to be correct,
Unless the comment lines in the Makefile are discarded.
Hmmmmm.......well jgt, with your enormous contribution to this forum you would have already tried the obvious so this is probably just 'second opinion' rather than a solution.
Octal 174 is the pipe '|' character in most ascii sets, hex 7C, dec 124.
Try using a suitable (hex) editor to find any instances of 7C in the file and whether it finds one on line 277.
Make a backup copy of the file and then delete line 277 and retype it in manually to ensure any hidden/unprintable characters are removed. Do you get the same error? If a hidden character has been removed I would at least expect a different error even if it still doesn't work.
Any make/compiler that reports wrong line numbers by omitting comment lines is about as much use as a chocolate teapot so my opinion is that the error line number would be correct (unless it's inserting some other source file and including the line count in that).
If you look at the code (you didn't post the whole file) do you reckon that the '-' after the '=' is correct? I guess that it's just creating a switch option on a command line.
Hi jgt,
Assuming the line numbers are correct, one might guess that there is a <vertical-bar> character (AKA pipe symbol) followed by a <backspace> on line 277 and those two characters are being replaced by whatever character follows them (making the <vertical-bar> invisible when you print the line to a non-hardcopy device).
Hi hicksd8,
In a makefile, the CFLAGS macro is a list of command line options to be fed to the C compiler. Presumably, JBIG2_CFLAGS is a macro in this makefile that will be assigned to CFLAGS or used in addition to it when the target being built is JBIG2. (And the C compiler command line option -DHAVE_STDINT_H=1 initializes the C macro HAVE_STDINT_H to have the value 1).
This User Gave Thanks to Don Cragun For This Post:
@Don.....Thanks for the clarification. I thought that if you specify CFLAGS without a leading '-' that the system would insert one automatically on the compiler command line. Therefore, actually supplying a '-' at the start of CFLAGS would put two ('--<whatever>') on the compiler command line. Anyway, got it!
I put another hour or so into it. I changed the PATH so that gcc 2.95 was ahead of the SCO cc, and used gnu make instead of SCO and that eliminated the error with the |. However, a new problem appeared. It seems that the new version of Ghostscript requires a version of gcc newer than 2.95.
I am attempting to update to ghostscript version 8.54 on my SCO 5.0.7 box. When I run ./configure, I get the following error
configure: error: no acceptable C compiler found in $PATH
Could someone please help me? (0 Replies)
I am trying to use Ghostscript oin AIX to print pdf's and it seems I have downloaded it and all dependencys fine - install went fine, when I type any gs commnad except gs -h it just hangs..Here is what it says before the hang:
GNU Ghostscript 5.50 (2000-2-13)
Copyright (C) 1998 Aladdin... (6 Replies)
Hi everyone,
I'm new here but I hope there's someone who can help me with this error when running ghostscript/gs:
/usr/lib/dld.sl: Unresolved symbol: jpeg_resync_to_restart (code) from gs
Abort(coredump)
I've managed to install Ghostscript 8.56 including all dependencies successfully... (0 Replies)
I need to know how to convert 132 columns text file to Postcript by using ghostscript. What I want to do is to fax a 132 columns
report (text file) with efax and I was told to use ghostscript to change the type and szie of font so the lines will not wrap.
Thanks ;) (1 Reply)
Hi all
I am using HPUX11.0
i want to install perl 5.6.0 and ghostscript 5.03..
can anyone help me to get it download from any free ftp or http link...
i searched perl.com and ghostscript.com but in vain....
the procuct are to be installed with the above mentioned version...
please... (1 Reply)