Project

General

Profile

Actions

Bug #6560

closed

Make error for libprtdiag_psr on SPARC

Added by Gary Mills over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
lib - userland libraries
Start date:
2016-01-16
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

In building a recent version of illumos on my T2000, I encountered this error:

dmake: Warning: Don't know how to make target `/dpool/export/home/mills/Downloads/code/illumos-gate/proto/root_sparc/usr/platform/SUNW,Ultra-Enterprise/lib'
Current working directory /dpool/export/home/mills/Downloads/code/illumos-gate-jan/usr/src/lib/libprtdiag_psr/sparc/sunfire

The solution is to add a rule to sunfire/Makefile similar to those in adjacent Makefiles:

+$(USR_PSM_LIB_DIR):
+    cd $(UTSBASE)/sun4u/sunfire; $(MAKE) $(USR_PSM_LIB_DIR)
+

With this change, the error disappears. The directory proto/root_sparc/usr/platform/SUNW,Ultra-Enterprise/lib is created correctly, if it doesn't already exist.

Actions

Also available in: Atom PDF