Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Scheda wireless non rilevata
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31349
Location: here

PostPosted: Thu May 11, 2023 5:10 am    Post subject: Reply with quote

Il pacchetto non sembra installato, prova ad installarlo.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Thu May 11, 2023 6:10 am    Post subject: Reply with quote

Scusa, quale pacchetto?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31349
Location: here

PostPosted: Thu May 11, 2023 6:17 am    Post subject: Reply with quote

Intendo net-wireless/broadcom-sta
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Thu May 11, 2023 6:33 am    Post subject: Reply with quote

Quote:
Sparrow /home/nemo *#emerge -av net-wireless/broadcom-sta

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.07 s.

[ebuild N ~] net-wireless/broadcom-sta-6.30.223.271-r6::gentoo USE="-dist-kernel" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] Yes

>>> Verifying ebuild manifests

>>> Running pre-merge checks for net-wireless/broadcom-sta-6.30.223.271-r6
*
* If you are stuck using this unmaintained driver (likely in a MacBook),
* you may be interested to know that a newer compatible wireless card
* is supported by the in-tree brcmfmac driver. It has a model number
* BCM943602CS and is for sale on the second hand market for less than
* 20 USD.
*
* See https://wikidevi.com/wiki/Broadcom_Wireless_Adapters and
* https://wikidevi.com/wiki/Broadcom_BCM943602CS
* for more information.
*

>>> Emerging (1 of 1) net-wireless/broadcom-sta-6.30.223.271-r6::gentoo
* hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
* README-broadcom-sta-6.30.223.271.txt BLAKE2B SHA512 size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 6.1.24-gentoo-dist
* Checking for suitable kernel configuration options ...
* B43: If you insist on building this, you must blacklist it!
* BCMA: If you insist on building this, you must blacklist it!
* SSB: If you insist on building this, you must blacklist it!
* X86_INTEL_LPSS: Please disable it. The module does not work with it enabled.
* MAC80211: If you insist on building this, you must blacklist it!
* LIB80211_CRYPT_TKIP: You will need this for WPA.
* PREEMPT_RCU: Please do not set the Preemption Model to "Preemptible Kernel"; choose something else. [ !! ]
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
>>> Unpacking source...
>>> Unpacking hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work
>>> Unpacking README-broadcom-sta-6.30.223.271.txt to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work
unpack README-broadcom-sta-6.30.223.271.txt: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work
>>> Preparing source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ...
* Applying broadcom-sta-6.30.223.141-makefile.patch ...
patching file Makefile
Hunk #1 succeeded at 147 with fuzz 2 (offset 19 lines). [ ok ]
* Applying broadcom-sta-6.30.223.141-eth-to-wlan.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.141-gcc.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.248-r3-Wno-date-time.patch ...
patching file Makefile
Hunk #1 succeeded at 145 with fuzz 2 (offset 19 lines). [ ok ]
* Applying broadcom-sta-6.30.223.271-r1-linux-3.18.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r2-linux-4.3-v2.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.7.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.8.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.11.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.12.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.15.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r5-linux-5.1.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r5-linux-5.6.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r6-linux-5.9.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ...
ln: failed to create symbolic link 'Module.symvers': File exists
* Preparing wl module
make -j4 HOSTCC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-m elf_x86_64' -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work wl.ko
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.o
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.o
make[1]: '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/wl.mod' is up to date.
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_iw.o
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.o
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:1792:20: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, int, u8, bool, const u8 *, struct key_params *)’ {aka ‘int (*)(struct wiphy *, struct net_device *, int, unsigned char, _Bool, const unsigned char *, struct key_params *)’} from incompatible pointer type ‘s32 (*)(struct wiphy *, struct net_device *, u8, bool, const u8 *, struct key_params *)’ {aka ‘int (*)(struct wiphy *, struct net_device *, unsigned char, _Bool, const unsigned char *, struct key_params *)’} [-Werror=incompatible-pointer-types]
1792 | .add_key = wl_cfg80211_add_key,
| ^~~~~~~~~~~~~~~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:1792:20: note: (near initialization for ‘wl_cfg80211_ops.add_key’)
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:1793:20: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, int, u8, bool, const u8 *)’ {aka ‘int (*)(struct wiphy *, struct net_device *, int, unsigned char, _Bool, const unsigned char *)’} from incompatible pointer type ‘s32 (*)(struct wiphy *, struct net_device *, u8, bool, const u8 *)’ {aka ‘int (*)(struct wiphy *, struct net_device *, unsigned char, _Bool, const unsigned char *)’} [-Werror=incompatible-pointer-types]
1793 | .del_key = wl_cfg80211_del_key,
| ^~~~~~~~~~~~~~~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:1793:20: note: (near initialization for ‘wl_cfg80211_ops.del_key’)
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:1794:20: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, int, u8, bool, const u8 *, void *, void (*)(void *, struct key_params *))’ {aka ‘int (*)(struct wiphy *, struct net_device *, int, unsigned char, _Bool, const unsigned char *, void *, void (*)(void *, struct key_params *))’} from incompatible pointer type ‘s32 (*)(struct wiphy *, struct net_device *, u8, bool, const u8 *, void *, void (*)(void *, struct key_params *))’ {aka ‘int (*)(struct wiphy *, struct net_device *, unsigned char, _Bool, const unsigned char *, void *, void (*)(void *, struct key_params *))’} [-Werror=incompatible-pointer-types]
1794 | .get_key = wl_cfg80211_get_key,
| ^~~~~~~~~~~~~~~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:1794:20: note: (near initialization for ‘wl_cfg80211_ops.get_key’)
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:1795:28: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, int, u8, bool, bool)’ {aka ‘int (*)(struct wiphy *, struct net_device *, int, unsigned char, _Bool, _Bool)’} from incompatible pointer type ‘s32 (*)(struct wiphy *, struct net_device *, u8, bool, bool)’ {aka ‘int (*)(struct wiphy *, struct net_device *, unsigned char, _Bool, _Bool)’} [-Werror=incompatible-pointer-types]
1795 | .set_default_key = wl_cfg80211_config_default_key,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:1795:28: note: (near initialization for ‘wl_cfg80211_ops.set_default_key’)
In file included from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:81:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_iw.h:74: warning: "isprint" redefined
74 | #define isprint(c) bcm_isprint(c)
|
In file included from ./include/linux/string_helpers.h:6,
from ./include/linux/seq_file.h:7,
from ./include/linux/seq_file_net.h:5,
from ./include/net/net_namespace.h:191,
from ./include/linux/netdevice.h:38,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:69,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:27:
./include/linux/ctype.h:30: note: this is the location of the previous definition
30 | #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0)
|
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_bss_roaming_done’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:2362:18: error: ‘struct cfg80211_roam_info’ has no member named ‘channel’
2362 | roam_info.channel = &wl->conf->channel,
| ^
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:2363:18: error: ‘struct cfg80211_roam_info’ has no member named ‘bssid’
2363 | roam_info.bssid = (u8 *)&wl->bssid,
| ^
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:2362:47: warning: left-hand operand of comma expression has no effect [-Wunused-value]
2362 | roam_info.channel = &wl->conf->channel,
| ^
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:2363:43: warning: left-hand operand of comma expression has no effect [-Wunused-value]
2363 | roam_info.bssid = (u8 *)&wl->bssid,
| ^
In file included from ./include/linux/string.h:253,
from ./include/linux/bitmap.h:11,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/cpumask.h:5,
from ./arch/x86/include/asm/msr.h:11,
from ./arch/x86/include/asm/processor.h:22,
from ./arch/x86/include/asm/timex.h:5,
from ./include/linux/timex.h:67,
from ./include/linux/time32.h:13,
from ./include/linux/time.h:60,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:13,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:40:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function ‘wl_attach’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:647:43: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
647 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN);
./include/linux/fortify-string.h:469:27: note: in definition of macro ‘__fortify_memcpy_chk’
469 | __underlying_##op(p, q, __fortify_size); \
| ^
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’
156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len))
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:647:9: note: in expansion of macro ‘bcopy’
647 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN);
| ^~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:647:43: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
647 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN);
./include/linux/fortify-string.h:469:27: note: in definition of macro ‘__fortify_memcpy_chk’
469 | __underlying_##op(p, q, __fortify_size); \
| ^
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’
156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len))
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:647:9: note: in expansion of macro ‘bcopy’
647 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN);
| ^~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function ‘wl_pci_probe’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:786:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
786 | if ((val & 0x0000ff00) != 0)
| ^~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:788:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
788 | bar1_size = pci_resource_len(pdev, 2);
| ^~~~~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function ‘wl_set_mac_address’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:1853:31: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1853 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN);
./include/linux/fortify-string.h:469:27: note: in definition of macro ‘__fortify_memcpy_chk’
469 | __underlying_##op(p, q, __fortify_size); \
| ^
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’
156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len))
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:1853:9: note: in expansion of macro ‘bcopy’
1853 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN);
| ^~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:1853:31: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
1853 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN);
./include/linux/fortify-string.h:469:27: note: in definition of macro ‘__fortify_memcpy_chk’
469 | __underlying_##op(p, q, __fortify_size); \
| ^
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’
156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len))
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:1853:9: note: in expansion of macro ‘bcopy’
1853 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN);
| ^~~~~
In file included from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:43:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_set_auth_type’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.h:52:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
52 | if (wl_dbg_level & WL_DBG_DBG) { \
| ^
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:793:17: note: in expansion of macro ‘WL_DBG’
793 | WL_DBG(("network eap\n"));
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:794:9: note: here
794 | default:
| ^~~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function ‘_wl_add_monitor_if’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3032:37: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
3032 | bcopy(wl->dev->dev_addr, dev->dev_addr, ETHER_ADDR_LEN);
./include/linux/fortify-string.h:469:27: note: in definition of macro ‘__fortify_memcpy_chk’
469 | __underlying_##op(p, q, __fortify_size); \
| ^
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’
156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len))
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3032:9: note: in expansion of macro ‘bcopy’
3032 | bcopy(wl->dev->dev_addr, dev->dev_addr, ETHER_ADDR_LEN);
| ^~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3032:37: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
3032 | bcopy(wl->dev->dev_addr, dev->dev_addr, ETHER_ADDR_LEN);
./include/linux/fortify-string.h:469:27: note: in definition of macro ‘__fortify_memcpy_chk’
469 | __underlying_##op(p, q, __fortify_size); \
| ^
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’
156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len))
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3032:9: note: in expansion of macro ‘bcopy’
3032 | bcopy(wl->dev->dev_addr, dev->dev_addr, ETHER_ADDR_LEN);
| ^~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function ‘wl_proc_read’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3313:26: error: implicit declaration of function ‘PDE_DATA’; did you mean ‘NODE_DATA’? [-Werror=implicit-function-declaration]
3313 | wl_info_t * wl = PDE_DATA(file_inode(filp));
| ^~~~~~~~
| NODE_DATA
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3313:26: warning: initialization of ‘wl_info_t *’ {aka ‘struct wl_info *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function ‘wl_proc_write’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3370:26: warning: initialization of ‘wl_info_t *’ {aka ‘struct wl_info *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
3370 | wl_info_t * wl = PDE_DATA(file_inode(filp));
| ^~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:250: /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function ‘osl_dma_alloc_consistent’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:603:14: error: implicit declaration of function ‘pci_alloc_consistent’; did you mean ‘osl_dma_alloc_consistent’? [-Werror=implicit-function-declaration]
603 | va = pci_alloc_consistent(osh->pdev, size, (dma_addr_t*)pap);
| ^~~~~~~~~~~~~~~~~~~~
| osl_dma_alloc_consistent
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:603:12: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
603 | va = pci_alloc_consistent(osh->pdev, size, (dma_addr_t*)pap);
| ^
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function ‘osl_dma_free_consistent’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:616:9: error: implicit declaration of function ‘pci_free_consistent’; did you mean ‘osl_dma_free_consistent’? [-Werror=implicit-function-declaration]
616 | pci_free_consistent(osh->pdev, size, va, (dma_addr_t)pa);
| ^~~~~~~~~~~~~~~~~~~
| osl_dma_free_consistent
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function ‘osl_dma_map’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:626:38: error: ‘PCI_DMA_TODEVICE’ undeclared (first use in this function); did you mean ‘DMA_TO_DEVICE’?
626 | dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE;
| ^~~~~~~~~~~~~~~~
| DMA_TO_DEVICE
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:626:38: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:626:56: error: ‘PCI_DMA_FROMDEVICE’ undeclared (first use in this function); did you mean ‘DMA_FROM_DEVICE’?
626 | dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE;
| ^~~~~~~~~~~~~~~~~~
| DMA_FROM_DEVICE
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:659:17: error: implicit declaration of function ‘pci_map_single’; did you mean ‘dma_map_single’? [-Werror=implicit-function-declaration]
659 | return (pci_map_single(osh->pdev, va, size, dir));
| ^~~~~~~~~~~~~~
| dma_map_single
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function ‘osl_dma_unmap’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:668:38: error: ‘PCI_DMA_TODEVICE’ undeclared (first use in this function); did you mean ‘DMA_TO_DEVICE’?
668 | dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE;
| ^~~~~~~~~~~~~~~~
| DMA_TO_DEVICE
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:668:56: error: ‘PCI_DMA_FROMDEVICE’ undeclared (first use in this function); did you mean ‘DMA_FROM_DEVICE’?
668 | dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE;
| ^~~~~~~~~~~~~~~~~~
| DMA_FROM_DEVICE
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:669:9: error: implicit declaration of function ‘pci_unmap_single’; did you mean ‘dma_unmap_single’? [-Werror=implicit-function-declaration]
669 | pci_unmap_single(osh->pdev, (uint32)pa, size, dir);
| ^~~~~~~~~~~~~~~~
| dma_unmap_single
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function ‘osl_os_get_image_block’:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:35: warning: passing argument 2 of ‘kernel_read’ makes pointer from integer without a cast [-Wint-conversion]
1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ~~^~~~~~~
| |
| loff_t {aka long long int}
In file included from ./include/linux/huge_mm.h:8,
from ./include/linux/mm.h:743,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25:
./include/linux/fs.h:3033:43: note: expected ‘void *’ but argument is of type ‘loff_t’ {aka ‘long long int’}
3033 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:44: warning: passing argument 3 of ‘kernel_read’ makes integer from pointer without a cast [-Wint-conversion]
1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ^~~
| |
| char *
./include/linux/fs.h:3033:51: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘char *’
3033 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:49: warning: passing argument 4 of ‘kernel_read’ makes pointer from integer without a cast [-Wint-conversion]
1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ^~~
| |
| int
./include/linux/fs.h:3033:59: note: expected ‘loff_t *’ {aka ‘long long int *’} but argument is of type ‘int’
3033 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:250: /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.o] Error 1
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:250: /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.o] Error 1
make: *** [Makefile:2012: /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work] Error 2
* ERROR: net-wireless/broadcom-sta-6.30.223.271-r6::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-wireless/broadcom-sta-6.30.223.271-r6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-wireless/broadcom-sta-6.30.223.271-r6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/temp/environment'.
* Working directory: '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work'
* S: '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work'

>>> Failed to emerge net-wireless/broadcom-sta-6.30.223.271-r6, Log file:

>>> '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/temp/build.log'

* Messages for package net-wireless/broadcom-sta-6.30.223.271-r6:

*
* If you are stuck using this unmaintained driver (likely in a MacBook),
* you may be interested to know that a newer compatible wireless card
* is supported by the in-tree brcmfmac driver. It has a model number
* BCM943602CS and is for sale on the second hand market for less than
* 20 USD.
*
* See https://wikidevi.com/wiki/Broadcom_Wireless_Adapters and
* https://wikidevi.com/wiki/Broadcom_BCM943602CS
* for more information.
*

* Messages for package net-wireless/broadcom-sta-6.30.223.271-r6:

* B43: If you insist on building this, you must blacklist it!
* BCMA: If you insist on building this, you must blacklist it!
* SSB: If you insist on building this, you must blacklist it!
* X86_INTEL_LPSS: Please disable it. The module does not work with it enabled.
* MAC80211: If you insist on building this, you must blacklist it!
* LIB80211_CRYPT_TKIP: You will need this for WPA.
* PREEMPT_RCU: Please do not set the Preemption Model to "Preemptible Kernel"; choose something else.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* ERROR: net-wireless/broadcom-sta-6.30.223.271-r6::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-wireless/broadcom-sta-6.30.223.271-r6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-wireless/broadcom-sta-6.30.223.271-r6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/temp/environment'.
* Working directory: '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work'
* S: '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work'
(
Quote:



Last edited by GianGian2387 on Thu May 11, 2023 9:00 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31349
Location: here

PostPosted: Thu May 11, 2023 7:42 am    Post subject: Reply with quote

Prova a installare il pacchetto net-wireless/broadcom-wl-9999 dall'overlay menelkir.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Thu May 11, 2023 8:35 am    Post subject: Reply with quote

Scarico e copio i file in: /var/cache/distfiles
e poi procedo con l'installazione?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31349
Location: here

PostPosted: Thu May 11, 2023 9:16 am    Post subject: Reply with quote

Puoi attivare l'overlay con eselect repository ma so che questo overlay non è più mantenuto e quindi da qualche errore.
L'altra soluzione è quella di crearti il tuo overlay locale e coiare tutti i file e cartelle del pacchetto broadcom-wl dell'altro overlay.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Fri May 12, 2023 6:43 pm    Post subject: Reply with quote

seguendo la guida... ho creato la cartella: /var/db/repos/local/app-dicts/broadcom-sta,, in questa cartella ho scaricato i file (tramite comando wget copiando i link dei singoli file), ho poi dato comando: pkgdev manifest...

Quote:
/var/db/repos/local/app-dicts/broadcom-sta # ls
broadcom-wl-6.30.223.271_p20191221.ebuild broadcom-wl-9999.ebuild files Manifest metadata.xml
var/db/repos/local/app-dicts/broadcom-sta # pkgdev manifest
pkgdev manifest: error: not in ebuild repo
o /var/db/repos/local/app-dicts/broadcom-sta # emerge --ask --verbose net-wireless/broadcom-wl-9999
!!! 'net-wireless/broadcom-wl-9999' is not a valid package atom.
!!! Please check ebuild(5) for full details.


Cosa sbaglio?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31349
Location: here

PostPosted: Fri May 12, 2023 6:59 pm    Post subject: Reply with quote

Devi rinominare la cartella /var/db/repos/local/app-dicts/broadcom-sta in /var/db/repos/local/anet-wireless/broadcom-wl.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Fri May 12, 2023 7:19 pm    Post subject: Reply with quote

Stesso risulato di prima con tutti e 2 i comandi...
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31349
Location: here

PostPosted: Fri May 12, 2023 7:46 pm    Post subject: Reply with quote

Causa copia e incolla ho messo un 'a' di troppo il path dovrebbe essere /var/db/repos/local/net-wireless/broadcom-wl.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Fri May 12, 2023 8:02 pm    Post subject: Reply with quote

modificato, sempre stessi errori...
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31349
Location: here

PostPosted: Fri May 12, 2023 8:31 pm    Post subject: Reply with quote

Puoi spiegare passo per passo quello che hai fatto e l'output del comando /var/db/repos/local/**/*.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Fri May 12, 2023 8:48 pm    Post subject: Reply with quote

mkdir -p /var/db/repos/local/app-dicts/net-wireless, ho poi creato la cartella broadcom-wl, ci ho copiato i file scaricati dal link che hai postato e poi, ho dato i comandi:

Quote:
chown -R portage:portage /var/db/repos/local

cd /var/db/repos/local/app-dicts/net-wireless/broadcom-wl
pkgdev manifest
pkgdev manifest: error: not in ebuild repo
emerge --ask --verbose net-wireless/broadcom-wl-9999
!!! 'net-wireless/broadcom-wl-9999' is not a valid package atom.
!!! please check ebuild (5) for full details.
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1041

PostPosted: Fri May 12, 2023 10:22 pm    Post subject: Reply with quote

se indichi una versione specifica ci devi mettere "=" davanti al nome pacchetto
Code:
emerge --ask --verbose =net-wireless/broadcom-wl-9999


e l'ebuild ?
Code:
pkgdev manifest
pkgdev manifest: error: not in ebuild repo


c'è ?
_________________
LRS 64/32
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Sat May 13, 2023 5:12 am    Post subject: Reply with quote

Quote:
emerge --ask --verbose =net-wireless/broadcom-wl-9999
these are the packages that would be merged, in order:
calculating dependencies... done!
Dependency resolution took 1.29 s.

emerge: there are no ebuilds to satisy "=net-wireless/broadcom-wl-9999".
emerge: searching for similar names...
emerge maybe you meant any of these: net-wireless/broadcom-sta, net-wireless/gnuradio, net-wireless/lorcon?


nella cartella creata però ci sono 2 file con estensione .ebuild
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31349
Location: here

PostPosted: Sat May 13, 2023 6:30 am    Post subject: Reply with quote

GianGian2387 wrote:
mkdir -p /var/db/repos/local/app-dicts/net-wireless, ho poi creato la cartella broadcom-wl, ci ho copiato i file scaricati dal link che hai postato e poi, ho dato i comandi:

Rimuovi la cartella /var/db/repos/local/, i passi corretti per creare l'overlay sono:
  • eselect repository create localrepo (questo crea il tuo overlai in /var/db/repos/localrepo aggiungendo tutti i file necessari)
  • mkdir -p /var/db/repos/localrepo/net-wireless/broadcom-wl

A questo punto copi i file dell'altro overlay in /var/db/repos/localrepo/net-wireless/broadcom-wl. Devi anche copiare la cartella files e il suo contenuto.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Sat May 13, 2023 7:25 am    Post subject: Reply with quote

dato comando: eselect repository create localerepo:
Quote:
!!! Error : can't loadmodule repository
exiting

creato poi la cartella broadcom-sta con il percorso indicato, fatto l'emerge ma ricevo lo stesso errore di prima
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1560
Location: switzerland

PostPosted: Sat May 13, 2023 7:36 am    Post subject: Reply with quote

ti manca il pacchetto eselect-repository, fai prima

Code:
#emerge eselect-repository

_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Sat May 13, 2023 8:44 am    Post subject: Reply with quote

ok, ho installato il pacchetto, ripetuto tutte le operazioni, quando do:
Quote:
emerge --ask --verbose =net-wireless/broadcom-wl-9999
!!! all ebuilds that could satisfy "net-wireless/broadcom-wl-9999" have been masked.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1560
Location: switzerland

PostPosted: Sat May 13, 2023 9:00 am    Post subject: Reply with quote

se sei su amd64 dai il comando

Code:
#echo "net-wireless/broadcom-wl ~amd64" >> /etc/portage/package.accept_keywords/broadcom-wl


broadcom-wl é un pacchetto mascherato
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Sat May 13, 2023 9:06 am    Post subject: Reply with quote

Anche così mi dice che il pacchetto risulta mascherato
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1560
Location: switzerland

PostPosted: Sat May 13, 2023 9:08 am    Post subject: Reply with quote

non sono sicura, forse devi aggiungere -9999 a bradcom-wl
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Sat May 13, 2023 9:13 am    Post subject: Reply with quote

nulla
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1560
Location: switzerland

PostPosted: Sat May 13, 2023 9:26 am    Post subject: Reply with quote

forse non è mscherato per la keywords? prova così, scusa ma non l'ho mai installato questo pacchetto e appunto non c'è in portage

Code:
#echo "=net-wireless/broadcom-wl-9999" >> /etc/portage/package.unmask/broadcom-wl


se caso cancella il file in accept.keywords creato prima che non dovrebbe servire, guarda anche qui

https://wiki.gentoo.org/wiki/Knowledge_Base:Unmasking_a_package
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum