C. Bergstr?m wrote:
> So running make from
>
> onnv-gate/usr/src/cmd/sgs/libld
>
> /usr/bin/make
> /usr/local/src/onnv-gate/usr/src/cmd/sgs/libld/i386
> /usr/local/src/onnv-gate/usr/src/cmd/sgs/tools/i386/sgsmsg -i
> /usr/local/src/onnv-gate/usr/src/cmd/sgs/messages/sgs.ident -h msg.h -d
> msg.c -n libld_msg ../common/libld.msg ../common/libld.sparc.msg
> ../common/libld.intel.msg
> sh: /usr/local/src/onnv-gate/usr/src/cmd/sgs/tools/i386/sgsmsg: not found
>
> and running make from
> onnv-gate/usr/src/cmd/sgs/tools
>
> /usr/bin/make
> /usr/local/src/onnv-gate/usr/src/cmd/sgs/tools/i386
> /usr/local/src/SUNWspro/prod/bin/cc -O -o piglatin ../common/piglatin.c
> ld.so.1: ld: fatal: libld.so.4: version `SUNWprivate_4.3' not found
> (required by file /usr/bin/ld)
>
> So which came first.. libld or sgsmsg?
>
> (I ran nightly with a relatively unchanged opensolaris.sh and didn't
> seem to build everything.. so manually trying to figure out bits)
>
> This is from the onnv_103 revision
>
> suggestions/work-arounds?
A number of the sgs components are related, and there's an order
to building them. A top down (nightly) build should build everything
in the right order. But, our short cut is to:
% cd usr/src/cmd/sgs/packages
% make package (lint)
This builds all the standard link-editor components, and also creates a
SUNWonld package. This isn't an official package, but it contains
all the link-editor components, and it's what we developers
install (pkgadd) to test our new bits.
--
Rod