[oi-dev] Broadcom BCM4312 wireless on OpenIndiana 64-bit

Jean-Pierre jean-pierre.andre at wanadoo.fr
Mon Mar 18 19:01:10 UTC 2013


Hi,

> The unsatisfied symbols problem is caused by dependencies.
>
> bcmndis depends on misc/ndisapi and misc/mac. This is normally
> described in the .dynamic section of the bcmndis executable.
>
> A rough way of checking that is (be sure to fetch a string
> terminated by a null char - so NOT terminated by a space) :
>
> [linux at pavilion2 oindiana]$ grep 'misc/ndisapi[^ ]' bcmndis
> Binary file bcmndis matches
>
> This is normally declared in a hacky way on OpenIndiana by
> inserting the following line in if_ndis.c :
> char _depends_on[] = "misc/ndisapi misc/net80211 misc/mac ip";
>
> This line in the .data section is somehow recognized in the
> build chain to produce the dependency information.
> I do not know where this is recognized, whether this is
> specific to some build chain and how you declare this with
> other tool chains. This is the developers's list, so
> somebody else will tell you.

See https://forums.oracle.com/forums/thread.jspa?threadID=1951971
suggesting the use of options -N (and -dy ?) in the link step.

Regards

Jean-Pierre





More information about the oi-dev mailing list