[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs compile problem (mbsinit unresolved)
From: |
Benjamin Riefenstahl |
Subject: |
Re: Emacs compile problem (mbsinit unresolved) |
Date: |
Fri, 30 May 2003 21:55:47 +0200 |
User-agent: |
Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (gnu/linux) |
Hi Doug,
Doug Chinnery <doug.chinnery@zadall.com> writes:
> Undefined first referenced
> symbol in file
> mbsinit strftime.o
> temacs: fatal error: Symbol referencing errors. No output written to temacs
The Emacs 21.3 version of src/strftime.c believes that if you have
mbrlen(), you must also have mbsinit() without explicitly checking for
the latter function. That seems not to be true on your system. Emacs
in CVS allows for that possibility, but 21.3 doesn't.
Add this line in src/strftime.c to patch it up, and let us know how it
goes:
#define mbsinit(ps) (*(ps) == 0)
Hope this helps, benny