buildkernel broken on if_ixl when EVDEV is enabled

1 view
Skip to first unread message

Pete Wright

unread,
Jun 21, 2018, 10:47:45 PM6/21/18
to
howdy - just ran into an issue with building a kernel that has EVDEV
enabled causing this error:

--- kernel.full ---
linking kernel.full
ld: error: undefined symbol: ixl_iw_pf_init
>>> referenced by if_ixl.c:900
(/usr/home/pete/git/freebsd/sys/dev/ixl/if_ixl.c:900)
>>>               if_ixl.o:(ixl_if_init)

ld: error: undefined symbol: ixl_iw_pf_stop
>>> referenced by if_ixl.c:920
(/usr/home/pete/git/freebsd/sys/dev/ixl/if_ixl.c:920)
>>>               if_ixl.o:(ixl_if_stop)

ld: error: undefined symbol: ixl_iw_pf_attach
>>> referenced by if_ixl.c:669
(/usr/home/pete/git/freebsd/sys/dev/ixl/if_ixl.c:669)
>>>               if_ixl.o:(ixl_if_attach_post)

ld: error: undefined symbol: ixl_iw_pf_detach
>>> referenced by if_ixl.c:711
(/usr/home/pete/git/freebsd/sys/dev/ixl/if_ixl.c:711)
>>>               if_ixl.o:(ixl_if_detach)
*** [kernel.full] Error code 1


building a standard GENERIC kernel works without issue.  my "EVDEV" kern
conf has the following two lines added:

options         EVDEV_SUPPORT           # D10265 from phabricator
device          evdev

Not sure if anyone else has seen this?

-pete

--
Pete Wright
pe...@nomadlogic.org
@nomadlogicLA

_______________________________________________
freebsd...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"

Danilo Egêa Gondolfo

unread,
Jun 21, 2018, 11:51:50 PM6/21/18
to
Hi,

check if you have 'options IXL_IW' in your kernel conf. It's removed from
GENERIC. I had the same problem here with my customized conf.

Pete Wright

unread,
Jun 22, 2018, 1:29:01 PM6/22/18
to

On 06/21/2018 20:47, Danilo Egêa Gondolfo wrote:
> Hi,
>
> check if you have 'options IXL_IW' in your kernel conf. It's removed
> from GENERIC. I had the same problem here with my customized conf.

ah - that was totally it i think.  i was lazy and just copied GENERIC to
GENERIC-EVDEV so it got of sync.  i've now re-created my EVDEV config to
just include GENERIC.

thanks for the heads up!

Navdeep Parhar

unread,
Jun 22, 2018, 1:42:59 PM6/22/18
to
On 06/22/18 10:25, Pete Wright wrote:
>
>
> On 06/21/2018 20:47, Danilo Egêa Gondolfo wrote:
>> Hi,
>>
>> check if you have 'options IXL_IW' in your kernel conf. It's removed
>> from GENERIC. I had the same problem here with my customized conf.
>
> ah - that was totally it i think.  i was lazy and just copied GENERIC to
> GENERIC-EVDEV so it got of sync.  i've now re-created my EVDEV config to
> just include GENERIC.

You can avoid your kernconf going out of sync by including GENERIC in it
and then adding just your customizations.

include GENERIC
ident GENERIC-EVDEV
options EVDEV_SUPPORT
device evdev

Regards,
Navdeep

Pete Wright

unread,
Jun 22, 2018, 1:45:17 PM6/22/18
to

On 06/22/2018 10:38, Navdeep Parhar wrote:
> On 06/22/18 10:25, Pete Wright wrote:
>>
>> On 06/21/2018 20:47, Danilo Egêa Gondolfo wrote:
>>> Hi,
>>>
>>> check if you have 'options IXL_IW' in your kernel conf. It's removed
>>> from GENERIC. I had the same problem here with my customized conf.
>> ah - that was totally it i think.  i was lazy and just copied GENERIC to
>> GENERIC-EVDEV so it got of sync.  i've now re-created my EVDEV config to
>> just include GENERIC.
> You can avoid your kernconf going out of sync by including GENERIC in it
> and then adding just your customizations.
>
> include GENERIC
> ident GENERIC-EVDEV
> options EVDEV_SUPPORT
> device evdev

yep, that's exactly what i did - don't think my hasty response phrased
things too well :)

-pete

--
Pete Wright
pe...@nomadlogic.org
@nomadlogicLA

_______________________________________________

Navdeep Parhar

unread,
Jun 22, 2018, 1:47:06 PM6/22/18
to
On 06/22/18 10:38, Navdeep Parhar wrote:
> On 06/22/18 10:25, Pete Wright wrote:
>>
>>
>> On 06/21/2018 20:47, Danilo Egêa Gondolfo wrote:
>>> Hi,
>>>
>>> check if you have 'options IXL_IW' in your kernel conf. It's removed
>>> from GENERIC. I had the same problem here with my customized conf.
>>
>> ah - that was totally it i think.  i was lazy and just copied GENERIC to
>> GENERIC-EVDEV so it got of sync.  i've now re-created my EVDEV config to
>> just include GENERIC.
>
> You can avoid your kernconf going out of sync by including GENERIC in it
> and then adding just your customizations.

oops I missed the last sentence in your email.

Reply all
Reply to author
Forward
0 new messages