Jürgen Keil pisze:
>>> 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
> 
No I can't link anything with libmeta because it doesn't exists in my
zone...

> 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
Ok, looks like the /lib/libmeta* are not correctly copied by zoneadm.
It's hard to diagnose why, since I don't have access to the global zone
but this is my own worry ;)

-- 
Regards,
Piotr Jasiukajtis | estibi | SCA OS0072
http://estseg.blogspot.com
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to