cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi Bluetooth for Linux

New Contributor

hi everyone:

     when i compiling the backports package,there is a question:

lex -ozconf.lex.c -L zconf.l

yacc -ozconf.tab.c -t -l zconf.y

yacc: e - line 97 of "zconf.y", syntax error

%destructor {

^

Makefile:20: recipe for target 'zconf.tab.c' failed

make[2]: *** [zconf.tab.c] Error 1

i check the file zconf.y and i can find no error, so did anyone have the same experience?

0 Likes
Reply
13 Replies
New Contributor

@

VinayakS_26

can you help me ?

0 Likes
Reply
New Contributor II

you can try defconfig-brcmfmac

make ARCH=arm CROSS_COMPILE=/root/test/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- KLIB=/media/root/72697916-abb2-41ca-bad4-f9ccee790405/1/imx-yocto-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/4.19.35-r0/build/ KLIB_BUILD=/media/root/72697916-abb2-41ca-bad4-f9ccee790405/1/imx-yocto-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/4.19.35-r0/build/ defconfig-brcmfmac

cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer   -c -o conf.o conf.c

lex -ozconf.lex.c -L zconf.l

yacc -ozconf.tab.c -t -l zconf.y

cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer   -c -o zconf.tab.o zconf.tab.c

cc   conf.o zconf.tab.o   -o conf

#

# configuration written to .config

New Contributor II

make ARCH=arm CROSS_COMPILE=/root/test/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- KLIB=/media/root/72697916-abb2-41ca-bad4-f9ccee790405/1/imx-yocto-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/4.19.35-r0/build/ KLIB_BUILD=/media/root/72697916-abb2-41ca-bad4-f9ccee790405/1/imx-yocto-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/4.19.35-r0/build/ modules -j8

GEN /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/shipped-certs.c

CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/core.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/sysfs.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/radiotap.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/util.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/reg.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/scan.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmutil/utils.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/nl80211.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/mlme.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/ibss.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/sme.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/chan.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.o

  LD   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/ethtool.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/mesh.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/ap.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/trace.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/ocb.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/pmsr.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/of.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/wext-compat.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/wext-sme.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/shipped-certs.o

  CC   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.o

  LD   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.o

  LD   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211.o

  Building modules, stage 2.

  MODPOST 4 modules

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_stop_iface' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_unregister_wdev' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'wiphy_free' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'wiphy_new_nm' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'wiphy_register' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'wiphy_rfkill_set_hw_state' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'wiphy_rfkill_start_polling' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'wiphy_rfkill_stop_polling' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'wiphy_unregister' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_shutdown_all_interfaces' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_radiotap_iterator_init' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_radiotap_iterator_next' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'bridge_tunnel_header' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_calculate_bitrate' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_check_combinations' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_classify8021d' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_free_nan_func' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_get_p2p_attr' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_get_station' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_iter_combinations' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_sinfo_alloc_tid_stats' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_amsdu_to_8023s' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_chandef_to_operating_class' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_channel_to_frequency' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_data_to_8023_exthdr' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_frequency_to_channel' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_get_channel' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_get_hdrlen_from_skb' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_get_mesh_hdrlen' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_get_num_supported_channels' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_get_response_rate' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_hdrlen' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_ie_split_ric' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_mandatory_rates' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'ieee80211_operating_class_to_band' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'rfc1042_header' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'freq_reg_info' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'reg_initiator_name' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'reg_query_regdb_wmm' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'regulatory_hint' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'regulatory_set_wiphy_regd' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'regulatory_set_wiphy_regd_sync_rtnl' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'wiphy_apply_custom_regulatory' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_get_bss' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_inform_bss_data' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_inform_bss_frame_data' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_put_bss' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_ref_bss' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_scan_done' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_sched_scan_results' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_sched_scan_stopped' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_sched_scan_stopped_rtnl' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_unlink_bss' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: '__cfg80211_alloc_event_skb' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: '__cfg80211_alloc_reply_skb' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: '__cfg80211_send_event_skb' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_ch_switch_notify' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_ch_switch_started_notify' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_check_station_change' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_conn_failed' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_cqm_beacon_loss_notify' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_cqm_pktloss_notify' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_cqm_rssi_notify' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_cqm_txe_notify' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_crit_proto_stopped' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_del_sta_sinfo' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_external_auth_request' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_ft_event' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_gtk_rekey_notify' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_mgmt_tx_status' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_nan_func_terminated' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_nan_match' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_new_sta' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_notify_new_peer_candidate' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_pmksa_candidate_notify' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_probe_status' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_ready_on_channel' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_remain_on_channel_expired' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_report_obss_beacon' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_report_wowlan_wakeup' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_rx_control_port' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_rx_spurious_frame' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_rx_unexpected_4addr_frame' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_rx_unprot_mlme_mgmt' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_sta_opmode_change_notify' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_tdls_oper_request' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_vendor_cmd_reply' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_abandon_assoc' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_assoc_timeout' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_auth_timeout' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_cac_event' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_michael_mic_failure' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_radar_event' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_rx_assoc_resp' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_rx_mgmt' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_rx_mlme_mgmt' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_tx_mlme_mgmt' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_ibss_joined' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_connect_done' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_disconnected' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_port_authorized' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_roamed' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_chandef_compatible' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_chandef_create' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_chandef_dfs_required' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_chandef_usable' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_chandef_valid' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_reg_can_beacon' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_reg_can_beacon_relax' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'cfg80211_get_drvinfo' exported twice. Previous export was in vmlinux

WARNING: /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211: 'wiphy_read_of_freq_limits' exported twice. Previous export was in vmlinux

  CC      /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/compat/compat.mod.o

  CC      /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.mod.o

  CC      /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.mod.o

  CC      /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211.mod.o

  LD   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/net/wireless/cfg80211.ko

  LD   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko

  LD   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.ko

  LD   /root/test/fmac/cypress-fmac-v5.4.18-2020_0925/v5.4.18-backports/compat/compat.ko

0 Likes
Reply
New Contributor

sorry, i have some doubt that the readme show the commands are "

bash

    MY_KERNEL=<the 4.9.88 kernel path>

    make KLIB=$MY_KERNEL KLIB_BUILD=$MY_KERNEL defconfig-brcmfmac

"

and

"

source /opt/poky/1.8/environment-setup-cortexa7hf-vfp-neon-poky-linux-gnueabi

    make KLIB=$MY_KERNEL KLIB_BUILD=$MY_KERNEL modules

"

so you means that i do not need these commands?

and the path KLIB and KLIB_BUILD means?

0 Likes
Reply
New Contributor II

KLIB_BUILD and KLIB =>your target bsp/kernel
ex. == imx-yocto-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/4.19.35-r0/build/

#### Build the cypress driver/backports modules

```bash

#1. Untar the Cypress backports package

    tar zxvf cypress-backports-*.tar.gz

    cd v5.4.18-backports

#2. (Native) compile local tools and generate .config (in a new terminal

#   without sourcing Yoctol toolchain settings)

    bash

    MY_KERNEL=<the 4.14.78 kernel path>

    make KLIB=$MY_KERNEL KLIB_BUILD=$MY_KERNEL defconfig-brcmfmac

#3. (Cross) compile kernel modules

    source /opt/poky/1.8/environment-setup-cortexa7hf-vfp-neon-poky-linux-gnueabi

    make KLIB=$MY_KERNEL KLIB_BUILD=$MY_KERNEL modules

#4. The kernel modules are available here

#      compat/compat.ko

#      net/wireless/cfg80211.ko

#      drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.ko

#      drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko

```

0 Likes
Reply
New Contributor

yes, i did what you told me, like "make ARCH=arm CROSS_COMPILE=arm-hisiv500-linux-  KLIB=/home/brian/hisi3519/osdrv/opensource/kernel/linux-3.18.y/ KLIB_BUILD=/home/brian/hisi3519/osdrv/opensource/kernel/linux-3.18.y/ defconfig-brcmfmac". but it also failed.

the log is:

brian@brian-virtual-machine:~/cypress-backports-v5.4.18-2020_0925-module-src/v5.4.18-backports$ make ARCH=arm CROSS_COMPILE=arm-hisiv500-linux-  KLIB=/home/brian/hisi3519/osdrv/opensource/kernel/linux-3.18.y/ KLIB_BUILD=/home/brian/hisi3519/osdrv/opensource/kernel/linux-3.18.y/ defconfig-brcmfmac

Generating local configuration database from kernel ... done.

cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer   -c -o conf.o conf.c

lex -ozconf.lex.c -L zconf.l

yacc -ozconf.tab.c -t -l zconf.y

yacc: e - line 97 of "zconf.y", syntax error

%destructor {

^

Makefile:20: recipe for target 'zconf.tab.c' failed

make[2]: *** [zconf.tab.c] Error 1

Makefile.real:41: recipe for target 'defconfig-brcmfmac' failed

make[1]: *** [defconfig-brcmfmac] Error 2

Makefile:40: recipe for target 'defconfig-brcmfmac' failed

0 Likes
Reply
New Contributor II
0 Likes
Reply
New Contributor

yes, with installing the bison, there finds no error,

the commands are:

bash

MY_KERNEL=/home/brian/hisi3519/osdrv/opensource/kernel/linux-3.18.y

make KLIB=$MY_KERNEL KLIB_BUILD=$MY_KERNEL defconfig-brcmfmac

make ARCH=arm CROSS_COMPILE=arm-hisiv500-linux- KLIB=$MY_KERNEL KLIB_BUILD=$MY_KERNEL modules

and i can get the four modules,

compat.ko

cfg80211.ko

brcmutil.ko

brcmfmac.ko

because i have compiled the backport project v4 2019-09, and the driver modules work not well on my targets board hisi3519. and i think maybe the packport project v5 will help to fix the problem,but it does not help. i insmod the new modules and log is :

compat: Unknown symbol hash_algo_name (err 0)

cfg80211: Unknown symbol verify_pkcs7_signature (err 0)

cfg80211: Unknown symbol backport_genlmsg_put (err 0)

cfg80211: Unknown symbol backport_genl_unregister_family (err 0)

cfg80211: Unknown symbol bp_key_create_or_update (err 0)

cfg80211: Unknown symbol bp_keyring_alloc (err 0)

cfg80211: Unknown symbol backport_genlmsg_multicast_allns (err 0)

cfg80211: Unknown symbol backport_genlmsg_multicast_netns (err 0)

cfg80211: Unknown symbol backport___nla_parse (err 0)

cfg80211: Unknown symbol backport_genl_register_family (err 0)

cfg80211: Unknown symbol backport_key_put (err 0)

cfg80211: Unknown symbol backport___nla_validate (err 0)

cfg80211: Unknown symbol backport_dependency_symbol (err 0)

cfg80211: Unknown symbol backport_nla_put_64bit (err 0)

brcmfmac: Unknown symbol cfg80211_sched_scan_results (err 0)

brcmfmac: Unknown symbol cfg80211_scan_done (err 0)

brcmfmac: Unknown symbol cfg80211_sched_scan_stopped (err 0)

brcmfmac: Unknown symbol cfg80211_remain_on_channel_expired (err 0)

brcmfmac: Unknown symbol cfg80211_new_sta (err 0)

brcmfmac: Unknown symbol cfg80211_disconnected (err 0)

brcmfmac: Unknown symbol wiphy_new_nm (err 0)

brcmfmac: Unknown symbol cfg80211_ready_on_channel (err 0)

brcmfmac: Unknown symbol cfg80211_classify8021d (err 0)

brcmfmac: Unknown symbol cfg80211_crit_proto_stopped (err 0)

brcmfmac: Unknown symbol wiphy_register (err 0)

brcmfmac: Unknown symbol __cfg80211_alloc_reply_skb (err 0)

brcmfmac: Unknown symbol __cfg80211_alloc_event_skb (err 0)

brcmfmac: Unknown symbol cfg80211_put_bss (err 0)

brcmfmac: Unknown symbol cfg80211_roamed (err 0)

brcmfmac: Unknown symbol cfg80211_check_combinations (err 0)

brcmfmac: Unknown symbol __cfg80211_send_event_skb (err 0)

brcmfmac: Unknown symbol cfg80211_ibss_joined (err 0)

brcmfmac: Unknown symbol cfg80211_michael_mic_failure (err 0)

brcmfmac: Unknown symbol wiphy_apply_custom_regulatory (err 0)

brcmfmac: Unknown symbol ieee80211_get_channel (err 0)

brcmfmac: Unknown symbol cfg80211_del_sta_sinfo (err 0)

brcmfmac: Unknown symbol wiphy_unregister (err 0)

brcmfmac: Unknown symbol wiphy_read_of_freq_limits (err 0)

brcmfmac: Unknown symbol cfg80211_vendor_cmd_reply (err 0)

brcmfmac: Unknown symbol cfg80211_mgmt_tx_status (err 0)

brcmfmac: Unknown symbol strscpy (err 0)

brcmfmac: Unknown symbol cfg80211_unregister_wdev (err 0)

brcmfmac: Unknown symbol ieee80211_channel_to_frequency (err 0)

brcmfmac: Unknown symbol cfg80211_rx_mgmt (err 0)

brcmfmac: Unknown symbol cfg80211_report_wowlan_wakeup (err 0)

brcmfmac: Unknown symbol cfg80211_get_p2p_attr (err 0)

brcmfmac: Unknown symbol cfg80211_inform_bss_data (err 0)

brcmfmac: Unknown symbol ieee80211_frequency_to_channel (err 0)

brcmfmac: Unknown symbol backport_dependency_symbol (err 0)

brcmfmac: Unknown symbol cfg80211_connect_done (err 0)

brcmfmac: Unknown symbol strreplace (err 0)

brcmfmac: Unknown symbol wiphy_free (err 0)

my kernel is linux-3.18.y and i check the .config file, i can't find CPTCFG_KERNEL_3_18, it seems that this project does not support my kernel. look forward for you repley.

0 Likes
Reply
New Contributor II

Wow .. congratulations,

you can compiling successfully

wait for Cypress staff to assist you (linux version issue)

0 Likes
Reply
Moderator
Moderator

The minimum kernel version supported is v3.10, so the 3.18 should also be supported. When i checked the compat folder, there is a backport-3.18.c, so that should be compiled. In the Makefile present in the same folder, there is a statement shown below:

compat-$(CPTCFG_KERNEL_3_18) += backport-3.18.o

0 Likes
Reply
New Contributor

yes, the makefile in folder compat seems to support the kernel 3.18, but the .config file in the main directories not support 3.18, i can find the file wrote like this :

and i add the CPTCFG_KERNEL_3_18 =y to this file ,but it doesnt help.

0 Likes
Reply
New Contributor

CPTCFG_NLATTR=y

CPTCFG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y

CPTCFG_AVERAGE=y

CPTCFG_LIBFDT=y

CPTCFG_ARCH_HAS_SG_CHAIN=y

CPTCFG_KERNEL_3_19=y

CPTCFG_KERNEL_4_0=y

CPTCFG_KERNEL_4_1=y

CPTCFG_KERNEL_4_2=y

CPTCFG_KERNEL_4_3=y

CPTCFG_KERNEL_4_4=y

CPTCFG_KERNEL_4_5=y

CPTCFG_KERNEL_4_6=y

CPTCFG_KERNEL_4_7=y

CPTCFG_KERNEL_4_8=y

CPTCFG_KERNEL_4_9=y

CPTCFG_KERNEL_4_10=y

CPTCFG_KERNEL_4_11=y

CPTCFG_KERNEL_4_12=y

CPTCFG_KERNEL_4_13=y

CPTCFG_KERNEL_4_14=y

0 Likes
Reply
Moderator
Moderator

In the README document, under the section "Build the kernel image", after setting up the build environment, the .config file should show the CPTCFG_KERNEL_3_18 for your kernel. I checked the same for i.Mx kernel version 4.1.15 and i could see the CPTCFG_KERNEL_3_18. You may need to review the build steps under this section for your kernel.

0 Likes
Reply