Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2022 16:07:10 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
To:        Kurt Jaeger <pi@FreeBSD.org>
Cc:        freebsd-net@FreeBSD.org
Subject:   Re: Building driver for BCM57504 from Broadcom?
Message-ID:  <202206252307.25PN7Ada071125@gndrsh.dnsmgr.net>
In-Reply-To: <YrW0q0KMjgrqZprF@fc.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi!
> 
> For more details, see:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263046
> 
> Problem: Getting a BCM57504 card to work on FreeBSD
> 
> Current state of affairs:
> 
> There's a driver from Broadcom:
> 
>   https://www.broadcom.com/products/ethernet-connectivity/network-adapters/p425g
> 
> as version 222.0.74.0.
> 
> It's source, so I tried to build it on 13.1, after I disabled -Werror in 
> 
>         share/mk/bsd.sys.mk
>         sys/conf/kern.pre.mk
> 
> Now it builds, but fails to load, with those error messages:
> 
> link_elf_obj: symbol if_multiaddr_count undefined
> linker_load_file: /usr/obj/usr/src/amd64.amd64/sys/modules/bnxt/if_bnxt.ko - unsupported file type
> 
> I've tried to find that if_multiaddr_count() function in
> the source tree (either 13.1 or current), but failed 8-(
> 
> Does anyone have an idea where that function might come from ?
> Or should I fake it ?

You should start here where a prior similiar event happened:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252642

Then google for "if_multiaddr_count" for other possible hints.

> -- 
> pi@FreeBSD.org         +49 171 3101372                  Now what ?
-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206252307.25PN7Ada071125>