Hello!
I had to edit src/Makefile.in recently because new patches could not
be applied to this file. Some weeks (or days?) later I tried to re-
compile Emacs.app, which ended in:
gcc -I/sw/include -L/sw/lib -prebind -framework AppKit -Xlinker -
headerpad -Xlinker 690 -dead_strip -bind_at_load -L/usr/local/lib -L/
sw/lib/ncurses -L/sw/lib -L/usr/X11R6/lib -o temacs pre-crt0.o
dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o
coding.o category.o ccl.o character.o chartab.o cm.o term.o
xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o
filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o
cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o
alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o
print.o lread.o abbrev.o syntax.o unexmacosx.o bytecode.o process.o
callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o
intervals.o textprop.o composite.o md5.o nsterm.o nsfns.o nsmenu.o
nsselect.o nsimage.o fontset.o fringe.o image.o font.o nsfont.o
terminfo.o lastfile.o -lncurses
/sw/lib/odcctools/bin/ld: multiple definitions of symbol _Fx_popup_menu
xmenu.o definition of _Fx_popup_menu in section (__TEXT,__text)
nsmenu.o definition of _Fx_popup_menu in section (__TEXT,__text)
/sw/lib/odcctools/bin/ld: multiple definitions of symbol _Sx_popup_menu
xmenu.o definition of _Sx_popup_menu in section (__DATA,__data)
nsmenu.o definition of _Sx_popup_menu in section (__DATA,__data)
So I looked for the reason and found in src/Makefile.in:
/* xmenu.c should not be compiled on OSX. */
#ifndef HAVE_CARBON
XMENU_OBJ = xmenu.o
#endif
I changed it to:
/* xmenu.c should not be compiled on OS X for Aqua-tic Emacsen. */
#if !defined (HAVE_CARBON) && !defined (HAVE_NS)
XMENU_OBJ = xmenu.o
#endif
and a new Emacs.app was built. It works, but I still have no access
to the entries in the (Apple) menu bar ...
The file Emacs.clr, that translates X11 colours into a form that
Emacs.app understands: is it really necessary? The Mac OS X colour
chooser knows all the X11 colours, so it's only necessary for *step?
--
Greetings
Pete
A blizzard is when it snows sideways.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emacs-app-dev- mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-