Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 1996 19:31:10 -0700
From:      Nate Williams <nate@sri.MT.net>
To:        jlrobins@zappa.cs.uncc.edu (James Robinson)
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Problem compiling stable kernel -- memcmp
Message-ID:  <199602220231.TAA16296@rocky.sri.MT.net>
In-Reply-To: <9602212302.AA07134@zappa.cs.uncc.edu>
References:  <9602212302.AA07134@zappa.cs.uncc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> loading kernel
> scsi_base.o: Undefined symbol `_memcmp' referenced from text segment
> *** Error code 1
> 
> I've worked around this in the past by simply writing a memcmp into
> scsi_base.c. There's got to be a better way! Anyone else see this?

This happens when you compile w/out optimization.  Turn on at least -O
and it should go away.


Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602220231.TAA16296>