Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 519780

Summary: net-firewall/xtables-addons-2.3 - .../work/xtables-addons-2.3/extensions/xt_CHAOS.c:71:2: error: implicit declaration of function ‘net_random’ [-Werror=implicit-function-declaration]
Product: Gentoo Linux Reporter: Michal Feix <michal>
Component: Current packagesAssignee: Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs>
Status: RESOLVED FIXED    
Severity: normal CC: blueness, proxy-maint, toralf
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build.log output
emerge --info output
Build log output

Description Michal Feix 2014-08-13 06:48:49 UTC
Compiliing xtables-addons on stable AMD64 Gentoo hardened installation ends with the following compilation error:

error: implicit declaration of function ‘net_random’


Reproducible: Always

Steps to Reproduce:
emerge xtables-addons

Actual Results:  
/var/tmp/portage/net-firewall/xtables-addons-2.3/work/xtables-addons-2.3/extensions/xt_CHAOS.c: In function ‘xt_chaos_total’:
/var/tmp/portage/net-firewall/xtables-addons-2.3/work/xtables-addons-2.3/extensions/xt_CHAOS.c:71:2: error: implicit declaration of function ‘net_random’ [-Werror=implicit-function-declaration]
Comment 1 Michal Feix 2014-08-13 06:49:24 UTC
Created attachment 382798 [details]
Build.log output
Comment 2 Michal Feix 2014-08-13 06:49:58 UTC
Created attachment 382800 [details]
emerge --info output
Comment 3 Michal Feix 2014-08-13 06:50:40 UTC
Created attachment 382802 [details]
Build log output
Comment 4 Anthony Basile gentoo-dev 2015-07-06 12:36:30 UTC
*** Bug 536182 has been marked as a duplicate of this bug. ***
Comment 5 Anthony Basile gentoo-dev 2015-07-06 12:48:27 UTC
This is fixed in xtables-addons-2.6 and hardened-sources-4.0.6-r2 (and others) which I plan on stabilizing soon.