Bodo Meissner skryf:
> Am 2004.05.06 16:08 schrieb(en) Olivier Vogel:
> > I tried to compile it with p2c (I typed make prepmxc),
> > but got an error. I join the message of error.
>
> ...
>
> > cc globals.o mtx.o preamble.o lyrics.o analyze.o mtxline.o status.o
> > uptext.o files.o notes.o prepmx.o cfuncs.o multfile.o utility.o
> > control.o -o prepmx
> >
> > status.o(.text+0xbd4): In function `beginSlur':
> > : undefined reference to `strpos2'
> >
> > status.o(.text+0xdc0): In function `endSlur':
> > : undefined reference to `strpos2'
> >
> > collect2: ld returned 1 exit status
> > make: *** [prepmxc] Erreur 1
>
> This seems to be an incompatibility between p2c, Makefile and
> module cfuncs.c.
>
This one is very easy to solve. In status.pas, replace 'pos(' by 'pos1(' in
the two places wher it occurs. In fact, the reason why there is a function
'pos1' in strings.pas is precisely to work around the problem that Pascal
syntax does not distinguish between character constants and length one string
constants.
Dirk
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://icking-music-archive.org/mailman/listinfo/tex-music