Summary: | net-wireless/wimax-1.5.2-r1 with net-wireless/wpa_supplicant-1.0 USE=wimax - undefined reference to get_random_bytes symbol | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander E. Patrakov <patrakov> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | atoth, kalin, martin.drab, thunder367 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 514918 | ||
Bug Blocks: | |||
Attachments: |
Patch for net-wireless/wpa_supplicant fixing this bug. Includes src/crypto/random.o and src/utils/eloop.o to libeap.so.
wpa_supplicant-1.1-r1.ebuild |
Description
Alexander E. Patrakov
2012-07-21 14:30:01 UTC
The patch proposed here: "http://www.digipedia.pl/usenet/thread/18494/12508/" works. At least the net-wireless/wimax seems to compile when this patch is applied to wpa_supplicant. It seems the libeap gets compiled without the random_get_bytes() function (defined in src/crypto/random.c) which is used on several places there. The actual wpa_supplicant gets the function directly by linking the src/crypto/random.o, but the library is normally not linked with this object, so it needs to be added together with src/utils/eloop.c (resp. eloop.o), which defines some functions that are used in random.c. Created attachment 322677 [details, diff]
Patch for net-wireless/wpa_supplicant fixing this bug. Includes src/crypto/random.o and src/utils/eloop.o to libeap.so.
This patch to net-wireless/wpa_supplicant fixes the problem described above, please push it upstream to portage. Thanks.
I also confirm: wimax fails for me the same way. attached wpa_supplicant patch solves the problem. Please include patch in portage or push upstreams. (In reply to comment #2) > Created attachment 322677 [details, diff] [details, diff] > Patch for net-wireless/wpa_supplicant fixing this bug. Includes > src/crypto/random.o and src/utils/eloop.o to libeap.so. > > This patch to net-wireless/wpa_supplicant fixes the problem described above, > please push it upstream to portage. Thanks. Yes, works on my setup as well, I can now compile wpa_supplicant and wimax. I still haven't make it work though (Toshiba Portage R731 with built-in WiMax). Created attachment 334510 [details, diff]
wpa_supplicant-1.1-r1.ebuild
This patch for oficial ebuild wpa_supplicant-1.1.ebuild
Rename patch wpa_supplicant-libeap_fix_random_get_bytes.patch to wpa_supplicant-1.1-libeap_fix_random_get_bytes.patch and build programm.
(In reply to comment #2) > Created attachment 322677 [details, diff] [details, diff] > Patch for net-wireless/wpa_supplicant fixing this bug. Includes > src/crypto/random.o and src/utils/eloop.o to libeap.so. > > This patch to net-wireless/wpa_supplicant fixes the problem described above, > please push it upstream to portage. Thanks. Yes, the patch works, the program builds. I suggest fix ebuild file, please include it in portage or push upstreams. removed |