
June 12th, 2008, 05:26 AM
|
|
Registered User
|
|
Join Date: Jun 2008
Posts: 2
Time spent in forums: 1 h 33 m 11 sec
Reputation Power: 0
|
|
|
Error compiling Ghostscript
Hi,
Im a Unix SA and have the following issue when trying to compile Ghostscript (8.62) on a DEC Alpha V4.0F.
I receive the following message when running make:-
cc: Warning: ./src/mkromfs.c, line 281: In this statement, the referenced type of the pointer value "node->name" is "char", which is not compatible with the "unsigned char". (ptrmismatch)
put_bytes_padded(out, node->name, namelen);
-----------------------------------------------------------
ld:
Unresolved:
ftello:
fseeko
*** Exit 1
Stop.
Lines 279-281 in mkromfs.c read as follows:-
/* write file name (path) padded to 4 byte multiple */
fprintf(out, "\t/* file name '%s' */\n/t", name->name);
put_bytes_padded(out, node->name, namelen);
Unfortunately my C knowledge stretches to 'hello world' to test compilers so any input would be greatly appreciated. If any further information is required please let me know.
Unfortunately due to the server being behind a firewall I have had to manually type in the messages so would be unable to send the full file or listings...
Thanks in advance...
|