Subject: ld internal error HELP
To: None <amiga@NetBSD.ORG>
From: Olivier Lahaye <>
List: amiga
Date: 11/30/1995 22:24:00

  I'm trying to compile xemacs-19.13 for NetBSD-1.1ALPHA1.
but the "ld" seems to have internal problems.
I tryed gcc-2.4.5 and gcc-2.7.0
both gives the same result when executing ld. :-(

Is there a solution ??
HELP, I need this wonderful xemacs!!!!

Here is the description. (there where no warning a the compilation stage.)

/space/xemacs-19.13/src #gcc -nostdlib     `./prefix-args -Xlinker   -e start       \
 -L. -L../lwlib -L/usr/local/X11R6/lib      `  -o temacs pre-crt0.o /usr/lib/crt0.o \
 device.o dynarr.o blocktype.o device-x.o    device-tty.o event-tty.o frame-tty.o   \
 objects-tty.o redisplay-tty.o    frame.o redisplay.o redisplay-output.o device-stream.o \
 window.o events.o event-stream.o lstream.o       cm.o redisplay-x.o frame-x.o xselect.o \
 event-Xt.o menubar-x.o xgccache.o objects-x.o glyphs-x.o scrollbar-x.o toolbar-x.o  \
 emacs.o keyboard.o macros.o keymap.o sysdep.o          buffer.o filelock.o insdel.o \
 marker.o general.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 intl.o \
 eval.o floatfns.o fns.o print.o lread.o symbols.o getloadavg.o  abbrev.o syntax.o  \
 font-lock.o unexfreebsd.o       bytecode.o    process.o callproc.o elhash.o hash.o doprnt.o \
 extents.o opaque.o              signal.o sound.o faces.o specifier.o glyphs.o objects.o \
 menubar.o scrollbar.o toolbar.o md5.o   tparam.o   lastfile.o gmalloc.o vm-limit.o ralloc.o \
 EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o \
 -llw -lXaw -lXpm    -lXmu -lXt -lSM -lICE -lXext -lX11 -ltermcap `gcc -print-libgcc-file-name` \
 -lm  -lc  `gcc -print-libgcc-file-name`
ld: internal error:wrong number (3028) of global symbols written into output file, should be 3030

My config if it does matter:

A3000UX 12Megs FAST 2Megs CHIP.
RetinaZIIIBlt 4Megs
Emplant serial
C= a2065.

big Hard Drives. CDROM (Apple CD300) Streamer (Archive Viper 2150S).

NetBSD-1.1 ALPHA1. (Realy great)

     Olivier Lahaye   UseNET: