Subject: Re: Problem with linking our emacs package
To: None <current-users@NetBSD.ORG>
From: Matthias Scheler <tron@lyssa.owl.de>
List: current-users
Date: 03/12/1998 18:35:09
In article <6e7707$t7q$1@colwyn.owl.de>,
tron@lyssa.owl.de (Matthias Scheler) writes:
> cc -nostdlib `./prefix-args -Xlinker -L/usr/X11R6/lib ` -o temacs pre-crt0.o /usr/lib/crt0.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o intervals.o textprop.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 unexsunos4.o mocklisp.o bytecode.o process.o callproc.o region-cache.o doprnt.o strftime.o tparam.o lastfile.o gmalloc.o ralloc.o vm-limit.o widget.o ../lwlib/liblw.a -L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -ltermcap `cc -print-libgcc-file-name` -lm -lc `cc -print-libgcc-file-name`
Cut & paste error, the important lines are missing:
ld: -ltermcap: no match
*** Error code 1
The strange thing is that "ld" find "libc" and "libm" in "/usr/lib" but not
"libtermcap". Adding a "-L/usr/lib" before "-ltermcap" fixes the problem.
But that isn't necessary to compile it under 1.3.
--
Matthias Scheler http://home.owl.de/~tron/