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

Bug 228941

Summary: net-analyzer/ifstatus-1.1.0 fails to compile (patch)
Product: Gentoo Linux Reporter: Olivier Huber <oli.huber>
Component: Current packagesAssignee: Netmon Herd <netmon>
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: patch proposal

Description Olivier Huber 2008-06-22 18:35:25 UTC
In file included from
Main.h:74: attention : ‘typedef’ was ignored in this declaration In member function ‘void Config::LoadHomePath()’: erreur: ‘getenv’ was not declared in this scope In member function ‘void Config::LoadDefaultConfig()’: erreur: ‘getenv’ was not declared in this scope

Sorry for the localization crap.

It's pretty straightforward to solve this : #include <stdlib.h> in a header.
Comment 1 Olivier Huber 2008-06-22 18:38:17 UTC
Created attachment 158031 [details, diff]
patch proposal

I choose this header (Main.h) because another file which include this header uses getenv
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-28 20:21:18 UTC
+  28 Jun 2008; Peter Alfredsen <>
+  +files/ifstatus-1.1.0-gcc43.patch, ifstatus-1.1.0.ebuild:
+  Fix for gcc-4.3, bug #228941. Thanks Olivier Huber <>