On Sun, Nov 02, 2014 at 18:49, Ted Unangst wrote:

>> # cd /usr/src/lib/libssl/ssl
>> # make obj
>> /usr/src/lib/libssl/ssl/obj -> /usr/obj/lib/libssl/ssl
>> # make
>> make: don't know how to make /usr/src/lib/libssl/ssl/../src/e_os.h
>> (prerequisite of: s3_meth.o)
>> Stop in /usr/src/lib/libssl/ssl
>>
>>
>> So, what did I do wrong?
> 
> That file was deleted before 5.6. It looks you built with a dirty obj
> directory.

To expand and clarify.

The patch instructions make certain assumptions, such as that obj is
either empty or from a previous build of the same system. Generally,
the more complete procedure for building a library is

make obj
make includes
make depend
make

These additional steps are typically only necessary when tracking
current, but transitioning from 5.5 to 5.6 would certainly count, too.

Short version: When you upgrade a machine from 5.x to 5.next, delete
the contents of the obj directory at the same time.

Reply via email to