>From my notes (this is apparently the "old" way to do it,
but it might work for you as a quick fix):

Error: "/usr/bin/ld: cannot find -lstubs"

Problem: /usr/src/distrib/special/libstubs/libstubs.a does not exist

Fix:

cd /usr/src/distrib/special/libstubs
make


Bill

On Wed, 2006-11-29 at 09:05 -0700, Carlos A. Garcia G. wrote:
> Hi, im trying to make a obsd livecd i use the instructions in
> http://www.onlamp.com/pub/a/bsd/2005/07/14/openbsd_live.html
> but in one step i get
> /usr/bin/ld: cannot find -lstubs
> collect2: ld returned 1 exit status
> *** Error code 1
> 
> Stop in /usr/src/distrib/i386/ramdisk_cd (line 10 of instbin.mk).
> *** Error code 1
> 
> Stop in /usr/src/distrib/i386/ramdisk_cd (line 109 of 
> /usr/src/distrib/i386/ramdisk_cd/../common/Makefile.inc).
> 
> what can i do to solve the problem?

Reply via email to