[OS X TeX] Compiling 'skt.c' in order to use Sanskrit for LaTeX 2e by Charles wikner
costabel at wanadoo.fr
Wed Oct 24 19:40:33 EDT 2012
On 24/10/12 21:02, Park, Boram wrote:
> I am a newcomer in MacTeX.
> I am trying to typeset Devanagari using Sanskrit for LaTeX 2e by Charles
> It seems to need to compile "skt.c" before using a command, "skt" to
> produce a tex file suitable for LaTeX.
> Thus, after many try and erros, I tried to compile the file "skt.c"
> but it failed with this alarms.(even though I have no idea about
> compiling, programming, etc.)
>> XXX-MacBook-Pro:sanskrit BoramPark$ gcc -O2 -g -Wall -o skt skt.c
>> skt.c:46: error: conflicting types for ‘getline’
>> /usr/include/stdio.h:449: error: previous declaration of ‘getline’ was here
You can edit the file skt.c and insert the following line
#define getline skt_getline
This has to be inserted in the text around line 39, after the line
but before the line
void getline (void);
The error then goes away.
More information about the MacOSX-TeX