[gs-devel] errors building gs8.33 on mac
Adam Heinz
AHeinz at exstream.com
Tue Nov 30 21:01:16 PST 2004
Environment:
- MacOS 9.2
- CodeWarrior 8.3
- zlib 1.2.2
- jpeg 6b
- libpng 1.2.7
I'm getting the following errors building Ghostscript 8.33:
Error : ',' expected
gp_macio.c line 167 p = (char*)gs_malloc(1, (size_t) ( 4*strlen(fpath) + 40), "getenv");
Error : undefined identifier 'gs_stdout'
gp_macio.c line 337 if (file != stdout && file != stderr) {
Error : undefined identifier 'gs_stdout'
gp_macio.c line 352 if (file != stdout && file != stderr) {
Error : undefined identifier 'gs_stdout'
gp_macio.c line 374 return stdout;
Error : undefined identifier 'gs_stderr'
gp_macio.c line 444 fprintf(stderr,"Can't find temp folder.\n");
Error : the file 'gconfigd.h' cannot be opened
gscdefs.c line 22 #include "gconfigd.h" /* for #defines */
Error : undefined identifier 'GS_REVISION'
gscdefs.c line 60 CONFIG_CONST long gs_revision = GS_REVISION;
Error : undefined identifier 'GS_REVISIONDATE'
gscdefs.c line 69 CONFIG_CONST long gs_revisiondate = GS_REVISIONDATE;
Error : undefined identifier 'GS_DOCDIR'
gscdefs.c line 82 const char *const gs_doc_directory = GS_DOCDIR;
Error : undefined identifier 'GS_LIB_DEFAULT'
gscdefs.c line 85 const char *const gs_lib_default_path = GS_LIB_DEFAULT;
Error : undefined identifier 'GS_INIT'
gscdefs.c line 88 const char *const gs_init_file = GS_INIT;
Error : the file 'gconfigd.h' cannot be opened
iconfig.c line 22 #include "gconfigd.h"
Error : undefined identifier 'SEARCH_HERE_FIRST'
iconfig.c line 33 0, 20000, 0, 0, -1, 0, SEARCH_HERE_FIRST, 1
Error : illegal implicit conversion from 'int' to
'struct gs_main_instance_s *'
gp_macpoll.c line 67 gs_main_instance *minst = gs_main_instance_default();
Error : 'poll_fn' is not a member of class 'struct gs_main_instance_s'
gp_macpoll.c line 68 if (minst && minst->poll_fn)
Error : 'poll_fn' is not a member of class 'struct gs_main_instance_s'
gp_macpoll.c line 69 iRetVal = (*minst->poll_fn)(minst->caller_handle);
Adam Heinz
Contract Software Developer
Exstream Software
More information about the gs-devel
mailing list