Jump to content

Recommended Posts

Posted

raw_gadget compile failed

 

make
make -C /lib/modules/5.15.93-sunxi/build M=/root/raw-gadget-master/raw_gadget SUBDIRS=/root/raw-gadget-master/raw_gadget modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.93-sunxi'
  MODPOST /root/raw-gadget-master/raw_gadget/Module.symvers
make[3]: *** No rule to make target '/root/raw-gadget-master/raw_gadget/raw_gadget.mod.o', needed by '/root/raw-gadget-master/raw_gadget/raw_gadget.ko'.  Stop.
make[2]: *** [scripts/Makefile.modpost:139: __modpost] Error 2
make[1]: *** [Makefile:1820: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.93-sunxi'

 

I cat Module.sysmvers in /usr/src/linux-headers-5.15.93-sunxi/

0x00000000      ipu_cpmem_set_burstsize drivers/gpu/ipu-v3/imx-ipu-v3   EXPORT_SYMBOL_GPL
0x00000000      af_alg_free_resources   crypto/af_alg   EXPORT_SYMBOL_GPL
0x00000000      __traceiter_pnfs_mds_fallback_pg_get_mirror_count       fs/nfs/nfsv4    EXPORT_SYMBOL_GPL
0x00000000      cfg80211_bss_flush      net/wireless/cfg80211   EXPORT_SYMBOL
0x00000000      nf_nat_pptp_hook_outbound       net/netfilter/nf_conntrack_pptp EXPORT_SYMBOL_GPL
0x00000000      adt7x10_remove  drivers/hwmon/adt7x10   EXPORT_SYMBOL_GPL
0x00000000      i3c_generic_ibi_get_free_slot   drivers/i3c/i3c EXPORT_SYMBOL_GPL
0x00000000      typec_unregister_plug   drivers/usb/typec/typec EXPORT_SYMBOL_GPL
0x00000000      free_candev     drivers/net/can/dev/can-dev     EXPORT_SYMBOL_GPL
0x00000000      ipu_image_convert_sync  drivers/gpu/ipu-v3/imx-ipu-v3   EXPORT_SYMBOL_GPL
0x00000000      __SCK__tp_func_bcache_journal_replay_key        drivers/md/bcache/bcache        EXPORT_SYMBOL_GPL
0x00000000      madera_dev_exit drivers/mfd/madera      EXPORT_SYMBOL_GPL
0x00000000      flow_offload_free       net/netfilter/nf_flow_table     EXPORT_SYMBOL_GPL
0x00000000      nat_t120_hook   net/netfilter/nf_conntrack_h323 EXPORT_SYMBOL_GPL
0x00000000      stm_data_write  drivers/hwtracing/stm/stm_core  EXPORT_SYMBOL_GPL
0x00000000      dm_array_walk   drivers/md/persistent-data/dm-persistent-data   EXPORT_SYMBOL_GPL
0x00000000      nci_core_reset  net/nfc/nci/nci EXPORT_SYMBOL
0x00000000      ceph_cls_set_cookie     net/ceph/libceph        EXPORT_SYMBOL
0x00000000      inet_sk_diag_fill       net/ipv4/inet_diag      EXPORT_SYMBOL_GPL
0x00000000      arpt_unregister_table   net/ipv4/netfilter/arp_tables   EXPORT_SYMBOL
0x00000000      __traceiter_bcache_bypass_sequential    drivers/md/bcache/bcache        EXPORT_SYMBOL_GPL
0x00000000      rc_map_af9005_table_size        drivers/media/usb/dvb-usb/dvb-usb-af9005-remote EXPORT_SYMBOL
0x00000000      stv0367ter_attach       drivers/media/dvb-frontends/stv0367     EXPORT_SYMBOL
0x00000000      stv0367ddb_attach       drivers/media/dvb-frontends/stv0367     EXPORT_SYMBOL
0x00000000      stv0367cab_attach       drivers/media/dvb-frontends/stv0367     EXPORT_SYMBOL
0x00000000      gether_setup_name_default       drivers/usb/gadget/function/u_ether     EXPORT_SYMBOL_GPL
0x00000000      nvme_host_path_error    drivers/nvme/host/nvme-core     EXPORT_SYMBOL_GPL
root@bananapim2plus:~/raw-gadget-master/raw_gadget/patches#


why all 0x00000000?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines