Subject: Patching lpd fails - Missing -lcommon
To: None <>
From: Daniel Meinhold <>
List: port-pmax
Date: 03/13/2002 22:44:53
Hi all,

i've got a DECstation 5000/125 running NetBSD 1.5.2. So far it is all
fine. Then i wanted to patch some programs, because of security fixes.
Patching works fine, but when doing "make" it complains about the

cc   -o lpd lpd.o printjob.o recvjob.o lpdchar.o key.o modes.o
ttcompat.o rcmd.o -L/usr/src/usr.sbin/lpr/common_source -lcommon
/usr/bin/ld: cannot open -lcommon: No such file or directory
collect2: ld returned 1 exit status
*** Error code 1

And in general when compiling e.g. some pkgsrc, it will fail with the
following message:

make: don't know how to make /usr/share/tmac/tmac.andoc. Stop
*** Error code 2

I am running GENERIC kernel.

Hope anybody can give me a hint.