Discussion:
buildkernel broken on if_ixl when EVDEV is enabled
(too old to reply)
Pete Wright
2018-06-22 02:43:44 UTC
Permalink
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
***@nomadlogic.org
@nomadlogicLA
Danilo Egêa Gondolfo
2018-06-22 03:47:27 UTC
Permalink
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.
Post by Pete Wright
howdy - just ran into an issue with building a kernel that has EVDEV
--- kernel.full ---
linking kernel.full
ld: error: undefined symbol: ixl_iw_pf_init
referenced by if_ixl.c:900 (/usr/home/pete/git/freebsd/sy
s/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/sy
s/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/sy
s/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/sy
s/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
options EVDEV_SUPPORT # D10265 from phabricator
device evdev
Not sure if anyone else has seen this?
-pete
--
Pete Wright
@nomadlogicLA
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-current
Pete Wright
2018-06-22 17:25:00 UTC
Permalink
Post by Danilo Egêa Gondolfo
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!
-pete
--
Pete Wright
***@nomadlogic.org
@nomadlogicLA
Navdeep Parhar
2018-06-22 17:38:34 UTC
Permalink
Post by Pete Wright
Post by Danilo Egêa Gondolfo
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
2018-06-22 17:41:30 UTC
Permalink
Post by Navdeep Parhar
Post by Pete Wright
Post by Danilo Egêa Gondolfo
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
***@nomadlogic.org
@nomadlogicLA
Navdeep Parhar
2018-06-22 17:41:14 UTC
Permalink
Post by Navdeep Parhar
Post by Pete Wright
Post by Danilo Egêa Gondolfo
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.

Loading...