Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
wifi działa, a internet po kablu nie działa
#14
0
(19-04-2020, 21:26)dedito napisał(a): Te linki na forum się skracają, więc skopiuj sobie do terminala prawoklikiem.
I błagam, nie dubluj tych informacji, bo to się potem ciężko analizuje.
Kod:
~/jmebp-1.0.8.5$ make
make[1]: Wejście do katalogu '/usr/src/linux-headers-5.3.0-46-generic'
  CC [M]  /home/jaroslaw/jmebp-1.0.8.5/jme.o
su/home/jaroslaw/jmebp-1.0.8.5/jme.c: In function ‘jme_alloc_and_feed_skb’:
/home/jaroslaw/jmebp-1.0.8.5/jme.c:1121:4: error: too few arguments to function ‘__vlan_hwaccel_put_tag’
    __vlan_hwaccel_put_tag(skb, vid);
    ^~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/filter.h:22:0,
                 from ./include/net/sock.h:59,
                 from ./include/linux/tcp.h:19,
                 from ./include/linux/ipv6.h:87,
                 from /home/jaroslaw/jmebp-1.0.8.5/jme.c:42:
./include/linux/if_vlan.h:521:20: note: declared here
static inline void __vlan_hwaccel_put_tag(struct sk_buff *skb,
                    ^~~~~~~~~~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c: In function ‘jme_LC_task’:
/home/jaroslaw/jmebp-1.0.8.5/jme.c:1500:28: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
    jme->asd_timer.function = &asd_polling_func;
                            ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:1501:18: error: ‘struct timer_list’ has no member named ‘data’
    jme->asd_timer.data     = (unsigned long)jme;
                  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:1565:2: error: implicit declaration of function ‘tasklet_hi_enable’; did you mean ‘tasklet_enable’? [-Werror=implicit-function-declaration]
  tasklet_hi_enable(&jme->rxclean_task);
  ^~~~~~~~~~~~~~~~~
  tasklet_enable
/home/jaroslaw/jmebp-1.0.8.5/jme.c: In function ‘jme_tx_vlan’:
/home/jaroslaw/jmebp-1.0.8.5/jme.c:2464:6: error: implicit declaration of function ‘vlan_tx_tag_present’; did you mean ‘skb_vlan_tag_present’? [-Werror=implicit-function-declaration]
  if (vlan_tx_tag_present(skb)) {
      ^~~~~~~~~~~~~~~~~~~
      skb_vlan_tag_present
In file included from ./include/linux/byteorder/little_endian.h:5:0,
                 from ./arch/x86/include/uapi/asm/byteorder.h:5,
                 from ./include/asm-generic/bitops/le.h:6,
                 from ./arch/x86/include/asm/bitops.h:394,
                 from ./include/linux/bitops.h:19,
                 from ./include/linux/kernel.h:12,
                 from ./include/linux/list.h:9,
                 from ./include/linux/module.h:9,
                 from /home/jaroslaw/jmebp-1.0.8.5/jme.c:30:
/home/jaroslaw/jmebp-1.0.8.5/jme.c:2466:23: error: implicit declaration of function ‘vlan_tx_tag_get’; did you mean ‘vlan_ioctl_set’? [-Werror=implicit-function-declaration]
   *vlan = cpu_to_le16(vlan_tx_tag_get(skb));
                       ^
./include/uapi/linux/byteorder/little_endian.h:35:51: note: in definition of macro ‘__cpu_to_le16’
#define __cpu_to_le16(x) ((__force __le16)(__u16)(x))
                                                   ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:2466:11: note: in expansion of macro ‘cpu_to_le16’
   *vlan = cpu_to_le16(vlan_tx_tag_get(skb));
           ^~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c: At top level:
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3341:3: error: ‘const struct ethtool_ops’ has no member named ‘get_settings’; did you mean ‘get_strings’?
  .get_settings  = jme_get_settings,
   ^~~~~~~~~~~~
   get_strings
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3341:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .get_settings  = jme_get_settings,
                   ^~~~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3341:19: note: (near initialization for ‘jme_ethtool_ops.get_msglevel’)
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3342:3: error: ‘const struct ethtool_ops’ has no member named ‘set_settings’; did you mean ‘get_strings’?
  .set_settings  = jme_set_settings,
   ^~~~~~~~~~~~
   get_strings
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3342:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .set_settings  = jme_set_settings,
                   ^~~~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3342:19: note: (near initialization for ‘jme_ethtool_ops.set_msglevel’)
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3444:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jme_init_one’
jme_init_one(struct pci_dev *pdev,
^~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3732:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jme_remove_one’
jme_remove_one(struct pci_dev *pdev)
^~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c: In function ‘jme_resume’:
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3868:27: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
   jme->asd_timer.function = &asd_polling_func;
                           ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3869:17: error: ‘struct timer_list’ has no member named ‘data’
   jme->asd_timer.data     = (unsigned long)jme;
                 ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c: At top level:
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3891:8: error: type defaults to ‘int’ in declaration of ‘DEFINE_PCI_DEVICE_TABLE’ [-Werror=implicit-int]
static DEFINE_PCI_DEVICE_TABLE(jme_pci_tbl) = {
        ^~~~~~~~~~~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3891:1: warning: parameter names (without types) in function declaration
static DEFINE_PCI_DEVICE_TABLE(jme_pci_tbl) = {
^~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3891:1: error: function ‘DEFINE_PCI_DEVICE_TABLE’ is initialized like a variable
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:2: warning: braces around scalar initializer
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:2: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
In file included from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:0:
./include/linux/pci.h:900:2: error: field name not in record or union initializer
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
./include/linux/pci.h:900:2: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
In file included from ./include/linux/pci.h:37:0,
                 from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:
./include/linux/pci_ids.h:2532:32: error: invalid initializer
#define PCI_VENDOR_ID_JMICRON  0x197B
                                ^
./include/linux/pci.h:900:12: note: in expansion of macro ‘PCI_VENDOR_ID_JMICRON’
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
            ^~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
./include/linux/pci_ids.h:2532:32: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
#define PCI_VENDOR_ID_JMICRON  0x197B
                                ^
./include/linux/pci.h:900:12: note: in expansion of macro ‘PCI_VENDOR_ID_JMICRON’
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
            ^~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
In file included from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:0:
./include/linux/pci.h:900:34: error: field name not in record or union initializer
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
                                  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
./include/linux/pci.h:900:34: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
                                  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
./include/linux/pci.h:900:44: warning: excess elements in scalar initializer
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
                                            ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
./include/linux/pci.h:900:44: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
                                            ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
./include/linux/pci.h:901:2: error: field name not in record or union initializer
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
./include/linux/pci.h:901:2: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
In file included from ./include/linux/pci.h:21:0,
                 from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:
./include/linux/mod_devicetable.h:17:20: warning: excess elements in scalar initializer
#define PCI_ANY_ID (~0)
                    ^
./include/linux/pci.h:901:15: note: in expansion of macro ‘PCI_ANY_ID’
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
               ^~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
./include/linux/mod_devicetable.h:17:20: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
#define PCI_ANY_ID (~0)
                    ^
./include/linux/pci.h:901:15: note: in expansion of macro ‘PCI_ANY_ID’
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
               ^~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
In file included from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:0:
./include/linux/pci.h:901:27: error: field name not in record or union initializer
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                           ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
./include/linux/pci.h:901:27: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                           ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
In file included from ./include/linux/pci.h:21:0,
                 from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:
./include/linux/mod_devicetable.h:17:20: warning: excess elements in scalar initializer
#define PCI_ANY_ID (~0)
                    ^
./include/linux/pci.h:901:40: note: in expansion of macro ‘PCI_ANY_ID’
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                                        ^~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
./include/linux/mod_devicetable.h:17:20: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
#define PCI_ANY_ID (~0)
                    ^
./include/linux/pci.h:901:40: note: in expansion of macro ‘PCI_ANY_ID’
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                                        ^~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
In file included from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:0:
./include/linux/pci.h:901:52: warning: excess elements in scalar initializer
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                                                    ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
./include/linux/pci.h:901:52: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                                                    ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
./include/linux/pci.h:901:55: warning: excess elements in scalar initializer
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                                                       ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
./include/linux/pci.h:901:55: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                                                       ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3893:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC250) },
    ^~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:2: warning: braces around scalar initializer
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:2: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
In file included from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:0:
./include/linux/pci.h:900:2: error: field name not in record or union initializer
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
./include/linux/pci.h:900:2: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
In file included from ./include/linux/pci.h:37:0,
                 from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:
./include/linux/pci_ids.h:2532:32: error: invalid initializer
#define PCI_VENDOR_ID_JMICRON  0x197B
                                ^
./include/linux/pci.h:900:12: note: in expansion of macro ‘PCI_VENDOR_ID_JMICRON’
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
            ^~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
./include/linux/pci_ids.h:2532:32: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
#define PCI_VENDOR_ID_JMICRON  0x197B
                                ^
./include/linux/pci.h:900:12: note: in expansion of macro ‘PCI_VENDOR_ID_JMICRON’
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
            ^~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
In file included from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:0:
./include/linux/pci.h:900:34: error: field name not in record or union initializer
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
                                  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
./include/linux/pci.h:900:34: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
                                  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
./include/linux/pci.h:900:44: warning: excess elements in scalar initializer
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
                                            ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
./include/linux/pci.h:900:44: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
                                            ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
./include/linux/pci.h:901:2: error: field name not in record or union initializer
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
./include/linux/pci.h:901:2: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
In file included from ./include/linux/pci.h:21:0,
                 from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:
./include/linux/mod_devicetable.h:17:20: warning: excess elements in scalar initializer
#define PCI_ANY_ID (~0)
                    ^
./include/linux/pci.h:901:15: note: in expansion of macro ‘PCI_ANY_ID’
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
               ^~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
./include/linux/mod_devicetable.h:17:20: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
#define PCI_ANY_ID (~0)
                    ^
./include/linux/pci.h:901:15: note: in expansion of macro ‘PCI_ANY_ID’
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
               ^~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
In file included from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:0:
./include/linux/pci.h:901:27: error: field name not in record or union initializer
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                           ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
./include/linux/pci.h:901:27: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                           ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
In file included from ./include/linux/pci.h:21:0,
                 from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:
./include/linux/mod_devicetable.h:17:20: warning: excess elements in scalar initializer
#define PCI_ANY_ID (~0)
                    ^
./include/linux/pci.h:901:40: note: in expansion of macro ‘PCI_ANY_ID’
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                                        ^~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
./include/linux/mod_devicetable.h:17:20: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
#define PCI_ANY_ID (~0)
                    ^
./include/linux/pci.h:901:40: note: in expansion of macro ‘PCI_ANY_ID’
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                                        ^~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
In file included from /home/jaroslaw/jmebp-1.0.8.5/jme.c:32:0:
./include/linux/pci.h:901:52: warning: excess elements in scalar initializer
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                                                    ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
./include/linux/pci.h:901:52: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                                                    ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
./include/linux/pci.h:901:55: warning: excess elements in scalar initializer
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                                                       ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
./include/linux/pci.h:901:55: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
  .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
                                                       ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:4: note: in expansion of macro ‘PCI_VDEVICE’
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
    ^~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:2: warning: excess elements in scalar initializer
  { PCI_VDEVICE(JMICRON, PCI_DEVICE_ID_JMICRON_JMC260) },
  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3894:2: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3895:2: warning: braces around scalar initializer
  { }
  ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3895:2: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3895:2: warning: excess elements in scalar initializer
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3895:2: note: (near initialization for ‘DEFINE_PCI_DEVICE_TABLE’)
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3900:20: error: ‘jme_pci_tbl’ undeclared here (not in a function); did you mean ‘jme_pm_ops’?
  .id_table       = jme_pci_tbl,
                    ^~~~~~~~~~~
                    jme_pm_ops
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3901:20: error: ‘jme_init_one’ undeclared here (not in a function); did you mean ‘sg_init_one’?
  .probe          = jme_init_one,
                    ^~~~~~~~~~~~
                    sg_init_one
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3902:20: error: implicit declaration of function ‘__devexit_p’; did you mean ‘__exit_p’? [-Werror=implicit-function-declaration]
  .remove         = __devexit_p(jme_remove_one),
                    ^~~~~~~~~~~
                    __exit_p
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3902:32: error: ‘jme_remove_one’ undeclared here (not in a function); did you mean ‘neigh_remove_one’?
  .remove         = __devexit_p(jme_remove_one),
                                ^~~~~~~~~~~~~~
                                neigh_remove_one
In file included from /home/jaroslaw/jmebp-1.0.8.5/jme.c:30:0:
./include/linux/module.h:230:21: error: ‘__mod_pci__jme_pci_tbl_device_table’ aliased to undefined symbol ‘jme_pci_tbl’
extern typeof(name) __mod_##type##__##name##_device_table  \
                     ^
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3932:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’
MODULE_DEVICE_TABLE(pci, jme_pci_tbl);
^~~~~~~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:3360:1: warning: ‘jme_pci_dma64’ defined but not used [-Wunused-function]
jme_pci_dma64(struct pci_dev *pdev)
^~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:1724:1: warning: ‘jme_tx_clean_tasklet’ defined but not used [-Wunused-function]
jme_tx_clean_tasklet(unsigned long arg)
^~~~~~~~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:1687:1: warning: ‘jme_rx_empty_tasklet’ defined but not used [-Wunused-function]
jme_rx_empty_tasklet(unsigned long arg)
^~~~~~~~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:1662:1: warning: ‘jme_poll’ defined but not used [-Wunused-function]
jme_poll(JME_NAPI_HOLDER(holder), JME_NAPI_WEIGHT(budget))
^~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:1572:1: warning: ‘jme_link_change_tasklet’ defined but not used [-Wunused-function]
jme_link_change_tasklet(unsigned long arg)
^~~~~~~~~~~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:1468:13: warning: ‘jme_LC_task’ defined but not used [-Wunused-function]
static void jme_LC_task(struct work_struct *work)
             ^~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:1276:1: warning: ‘jme_pcc_tasklet’ defined but not used [-Wunused-function]
jme_pcc_tasklet(unsigned long arg)
^~~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:330:1: warning: ‘jme_load_macaddr’ defined but not used [-Wunused-function]
jme_load_macaddr(struct net_device *netdev)
^~~~~~~~~~~~~~~~
/home/jaroslaw/jmebp-1.0.8.5/jme.c:300:1: warning: ‘jme_reload_eeprom’ defined but not used [-Wunused-function]
jme_reload_eeprom(struct jme_adapter *jme)
^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:288: recipe for target '/home/jaroslaw/jmebp-1.0.8.5/jme.o' failed
make[2]: *** [/home/jaroslaw/jmebp-1.0.8.5/jme.o] Error 1
Makefile:1655: recipe for target '_module_/home/jaroslaw/jmebp-1.0.8.5' failed
make[1]: *** [_module_/home/jaroslaw/jmebp-1.0.8.5] Error 2
make[1]: Opuszczenie katalogu '/usr/src/linux-headers-5.3.0-46-generic'
Makefile:27: recipe for target 'modules' failed
make: *** [modules] Error 2
jaroslaw@Asus:~/jmebp-1.0.8.5$
tym razem po make wywaliło error
czy tamte komendy pozostałę tez wysłąć ?
Odpowiedz


Wiadomości w tym wątku
wifi działa, a internet po kablu nie działa - przez jaro55107 - 19-04-2020, 17:27
RE: wifi działa, a internet po kablu nie działa - przez jaro55107 - 19-04-2020, 20:03
RE: wifi działa, a internet po kablu nie działa - przez jaro55107 - 19-04-2020, 20:34
RE: wifi działa, a internet po kablu nie działa - przez jaro55107 - 19-04-2020, 20:40
RE: wifi działa, a internet po kablu nie działa - przez jaro55107 - 19-04-2020, 21:07
RE: wifi działa, a internet po kablu nie działa - przez jaro55107 - 19-04-2020, 21:20
RE: wifi działa, a internet po kablu nie działa - przez jaro55107 - 19-04-2020, 21:33
RE: wifi działa, a internet po kablu nie działa - przez jaro55107 - 19-04-2020, 21:46
RE: wifi działa, a internet po kablu nie działa - przez jaro55107 - 20-04-2020, 11:19
RE: wifi działa, a internet po kablu nie działa - przez jaro55107 - 20-04-2020, 13:38
RE: wifi działa, a internet po kablu nie działa - przez jaro55107 - 20-04-2020, 14:04
RE: wifi działa, a internet po kablu nie działa - przez jaro55107 - 20-04-2020, 15:30

Skocz do:




Użytkownicy przeglądający ten wątek: 14 gości