emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: HP-UX: link error]


From: Richard Stallman
Subject: Re: address@hidden: HP-UX: link error]
Date: Mon, 20 Mar 2006 10:05:46 -0500

    > on HP-UX I got this error (latest CVS version of emacs).
    >
    > <long gcc line to link emacs...>
    > /usr/ccs/bin/ld: Duplicate symbol "append_glyph" in files xdisp.o and 
term.o

I think I see the cause of this.  There is a static function called
append_glyph defined in xdisp.o.  Apparently that version of GCC
compiles it in a way that isn't static, effectively producing
two global definitions of append_glyph.

I think that is a bug in the compiler and/or linker.  However, I
wonder why we do this confusing thing in Emacs.  Couldn't we rename
the function append_glyph that is defined and used in xdisp.c?
If we rename it to store_next_glyph, does that fix that bug?

Likewise, we could rename produce_stretch_glyph in xdisp.c
to generate_stretch_glyph.


Christoph, could you try that?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]