home *** CD-ROM | disk | FTP | other *** search
- If anyone has successfully compile Lucid Emacs on a hp9k700, please
- let me know how you did it.
-
- I get the following error when linking:
-
- gcc -Xlinker -a -Xlinker archive -L/usr/local/X11R5/lib -L. -L./lwlib -o temacs pre-crt0.o /lib/crt0.o dispnew.o screen.o scroll.o xdisp.o window.o events.o event-alloc.o event-stream.o term.o cm.o xterm.o xfns.o xselect.o xutils.o event-Xt.o menubar.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 pure.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 font_lock.o unexhp9k800.o mocklisp.o bytecode.o process.o callproc.o environ.o elhash.o hash.o realpath.o doprnt.o extents.o faces.o terminfo.o lastfile.o gmalloc.o vm-limit.o alloca.o ScreenWidget.o ColumnWidget.o EmacsShell.o -llw -lXpm -lXaw -lXext -lXt -lXmu -lX11 -lcurses -lm -lc
- ld: Duplicate symbol "$global$" in /lib/crt0.o
- ld: Duplicate symbol "$START$" in /lib/crt0.o
- ld: Duplicate symbol "$ARGV" in /lib/crt0.o
- ld: Duplicate symbol "__dld_sp" in /lib/crt0.o
- ld: Duplicate symbol "_mcount" in /lib/crt0.o
- ld: Duplicate symbol "_sr4export" in /lib/crt0.o
- ld: Duplicate symbol "$UNWIND_START" in /lib/crt0.o
- ld: Duplicate symbol "$UNWIND_END" in /lib/crt0.o
- ld: Duplicate symbol "$RECOVER_START" in /lib/crt0.o
- ld: Duplicate symbol "$RECOVER_END" in /lib/crt0.o
- ld: Duplicate symbol "__dld_hook" in /lib/crt0.o
- ld: Duplicate symbol "__dld_flags" in /lib/crt0.o
- ld: Duplicate symbol "_SYSTEM_ID" in /lib/crt0.o
- ld: Duplicate symbol "$PFA_C_START" in /lib/crt0.o
- ld: Duplicate symbol "$PFA_C_END" in /lib/crt0.o
- ld: Found 15 duplicate symbol(s)
- collect: /bin/ld returned 1 exit status
- make[1]: *** [temacs] Error 1
-
- These are the changes I have made to the default configuration files:
-
- sed -e "s/s-sunos4shr/s-hpux8/g" \
- -e "s/m-sparc/m-hp9000s800/g" \
- ${LEMACS}/src/config.h-dist > ${COMPILEDIR}/src/config.h
- echo '#undef C_SWITCH_SYSTEM' >> ${COMPILEDIR}/src/config.h
- echo '#define C_SWITCH_SYSTEM -D_HPUX_SOURCE -D__TIMEVAL__ -I/usr/local/X11R5/include' >> ${COMPILEDIR}/src/config.h
- echo '#undef LD_SWITCH_SYSTEM' >> ${COMPILEDIR}/src/config.h
- echo '#define LD_SWITCH_SYSTEM -Xlinker -a -Xlinker archive -L/usr/local/X11R5/lib' >> ${COMPILEDIR}/src/config.h
- rm -f ${COMPILEDIR}/etc/Makefile ${COMPILEDIR}/etc/Makefile-dist
- cp ${LEMACS}/etc/Makefile ${COMPILEDIR}/etc/Makefile-dist
- sed -e "s/-g -Bstatic/-g/g" \
- ${COMPILEDIR}/etc/Makefile-dist > ${COMPILEDIR}/etc/Makefile
-
- Looking forward to someone with the magic incantation ...
-
- --
- --------------------------------------------- _--_|\ |
- Rod Whitby (rwhitby@research.canon.oz.au) / \ |
- Canon Information Systems Research Australia \_.--._/ |
- 1 Thomas Holt Drive, North Ryde, N.S.W., 2113. v |
-
-