Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228941 - net-analyzer/ifstatus-1.1.0 fails to compile (patch)
Summary: net-analyzer/ifstatus-1.1.0 fails to compile (patch)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Netmon Herd
Depends on:
Blocks: gcc-4.3
  Show dependency tree
Reported: 2008-06-22 18:35 UTC by Olivier Huber
Modified: 2008-06-28 20:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

patch proposal (ifstatus.patch,246 bytes, patch)
2008-06-22 18:38 UTC, Olivier Huber
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 <>