> > Builds OK for me.
> >
> > But I don't see -L options in the link command line for
> > SUNW_md_link.so, so maybe it is using the -lmeta library
> > from  /lib/libmeta.so on my machine.  The missing -L
> > option looks like a bug...
> >
> >
> > What exactly is installed on your compile host?
> > A full install of SXCE?
> Full install of SXCE90 but this is non global zone.

I'm using a full install of SXCE85; which I bfu'ed quite often
(currently running snv_94 opensolaris bits).

I'm not using zones.


In your non global zone,  is it possible to link anything
against -lmeta ?   Like this:

    % echo 'int main() {}' > xxx.c
    % cc -o xxx xxx.c -lmeta


Btw. when I hide /usr/lib/libmeta.so and /lib/libmeta.so,
remove usr/src/cmd/devfsadm/i386/SUNW_md_link.so
and try a dmake in usr/src/cmd/devfsadm, I get the same
error (that is, libmeta.so isn't used from the proto/root_i386
directory!):

+ /opt/studio11/SUNWspro/bin/cc -O -xspace -Xa -xildoff -errtags=yes 
-errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED 
-xc99=%none -W0,-xglobalstatic -v -K pic -DTEXT_DOMAIN="SUNW_OST_OSCMD" 
-D_TS_ERRNO -I/files2/snv_95_jk/proto/root_i386/usr/include 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I.. -I../../../uts/common 
-I../../modload -Bdirect 
-M/files2/snv_95_jk/usr/src/common/mapfiles/common/map.noexstk 
-M/files2/snv_95_jk/usr/src/common/mapfiles/i386/map.pagealign 
-M/files2/snv_95_jk/usr/src/common/mapfiles/i386/map.noexdata -o 
SUNW_md_link.so -G -h SUNW_md_link.so md_link.o -lmeta 
ld: fatal: library -lmeta: not found
ld: fatal: File processing errors. No output written to SUNW_md_link.so
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to