[OS X TeX] Re: Turning eps to pdf problems

Stephen Moye stephenmoye at cox.net
Tue May 23 12:07:41 CEST 2006


Thanks for the code to use PStill on the command line. I seem to be  
missing something however. When
I run:

> cc -Wall   -c -o pstill.o pstill.m

I get a string of errors:

5:01 ~% cc -Wall   -c -o pstill.o pstill.m
pstill.m:30: error: parse error before 'sleepUntilDate'
pstill.m:30: error: stray '\' in program
pstill.m:30: error: missing terminating " character
pstill.m:32: error: parse error before '(' token
pstill.m:32: warning: type defaults to 'int' in declaration of 'fprintf'
pstill.m:32: error: conflicting types for 'fprintf'
pstill.m:32: note: a parameter list with an ellipsis can't match an  
empty parameter name list declaration
pstill.m:34: error: parse error before numeric constant
pstill.m:34: warning: type defaults to 'int' in declaration of 'exit'
pstill.m:34: error: conflicting types for 'exit'
pstill.m:34: warning: data definition has no type or storage class
pstill.m:37: warning: type defaults to 'int' in declaration of 'getwd'
pstill.m:37: warning: parameter names (without types) in function  
declaration
pstill.m:37: error: conflicting types for 'getwd'
/usr/include/unistd.h:429: error: previous declaration of 'getwd' was  
here
pstill.m:37: warning: data definition has no type or storage class
pstill.m:38: warning: type defaults to 'int' in declaration of 'pool'
pstill.m:38: warning: initialization makes integer from pointer  
without a cast
pstill.m:38: error: initializer element is not constant
pstill.m:38: warning: data definition has no type or storage class
pstill.m:39: warning: type defaults to 'int' in declaration of 'files'
pstill.m:39: warning: initialization makes integer from pointer  
without a cast
pstill.m:39: error: initializer element is not constant
pstill.m:39: warning: data definition has no type or storage class
pstill.m:41: error: parse error before 'for'
pstill.m:41: error: syntax error before '<' token
pstill.m:44: warning: type defaults to 'int' in declaration of 'pdfFile'
pstill.m:44: warning: implicit declaration of function  
'fullPathForCString'
pstill.m:44: error: 'argv' undeclared here (not in a function)
pstill.m:44: error: 'argc' undeclared here (not in a function)
pstill.m:44: error: 'cwd' undeclared here (not in a function)
pstill.m:44: error: initializer element is not constant
pstill.m:44: warning: data definition has no type or storage class
pstill.m:46: error: parse error before '(' token
pstill.m:46: warning: type defaults to 'int' in declaration of 'fprintf'
pstill.m:46: error: conflicting types for 'fprintf'
pstill.m:46: note: a parameter list with an ellipsis can't match an  
empty parameter name list declaration
pstill.m:47: error: parse error before '(' token
6:03 ~%

Is there something else that I should be doing?

SGM
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list