Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 213912
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sergey Dryabzhinsky <sergey.dryabzhinsky@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
lshw-02.12.01b-gcc43-includes.patch Upstream fixes for build with gcc-4.3 patch Sergey Dryabzhinsky 2008-03-20 19:22 0000 11.07 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 213912 depends on: Show dependency tree
Bug 213912 blocks: 198121
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-19 10:35 0000
Again missing headers...

Reproducible: Always

Steps to Reproduce:
1. Compile and set as default gcc-4.3.0
2. Try to compile lshw

Actual Results:  
>>> Compiling source in /var/tmp/portage/sys-apps/lshw-02.12.01b/work/lshw-B.02.12.01 ...
lshw.cc: In function ‘void usage(const char*)’:
lshw.cc:27: ошибка: нет декларации ‘getenv’ в этой
области видимости
lshw.cc: In function ‘void status(const char*)’:
lshw.cc:57: ошибка: нет декларации ‘strlen’ в этой
области видимости
lshw.cc: In function ‘int main(int, char**)’:
lshw.cc:87: ошибка: нет декларации ‘exit’ в этой
области видимости
lshw.cc:94: ошибка: нет декларации ‘strcmp’ в этой
области видимости
lshw.cc:103: ошибка: нет декларации ‘exit’ в этой
области видимости
lshw.cc:106: ошибка: нет декларации ‘strcmp’ в этой
области видимости
lshw.cc:109: ошибка: нет декларации ‘exit’ в этой
области видимости
lshw.cc:112: ошибка: нет декларации ‘strcmp’ в этой
области видимости
lshw.cc:119: ошибка: нет декларации ‘strcmp’ в этой
области видимости
lshw.cc:126: ошибка: нет декларации ‘strcmp’ в этой
области видимости
lshw.cc:132: ошибка: нет декларации ‘strcmp’ в этой
области видимости
lshw.cc:138: ошибка: нет декларации ‘strcmp’ в этой
области видимости
lshw.cc:144: ошибка: нет декларации ‘strcmp’ в этой
области видимости
lshw.cc:150: ошибка: нет декларации ‘strcmp’ в этой
области видимости
lshw.cc:156: ошибка: нет декларации ‘strcmp’ в этой
области видимости
lshw.cc:165: ошибка: нет декларации ‘memmove’ в
этой области видимости
lshw.cc:171: ошибка: нет декларации ‘exit’ в этой
области видимости
lshw.cc:178: ошибка: нет декларации ‘exit’ в этой
области видимости
make[1]: *** [lshw.o] Ошибка 1
make[1]: *** Ожидание завершения заданий...
hw.cc: In function ‘std::string cleanupId(const std::string&)’:
hw.cc:78: ошибка: нет декларации ‘strchr’ в этой
области видимости
hw.cc: In member function ‘std::string hwNode::asXML(unsigned int)’:
hw.cc:1316: ошибка: нет декларации ‘PATH_MAX’ в
этой области видимости
hw.cc:1318: ошибка: нет декларации ‘version’ в этой
области видимости
hw.cc: In constructor ‘hw::resource::resource()’:
hw.cc:1640: ошибка: нет декларации ‘memset’ в этой
области видимости
hw.cc: In member function ‘std::string hw::resource::asString(const
std::string&) const’:
hw.cc:1782: ошибка: нет декларации ‘strncpy’ в этой
области видимости
make[2]: *** [hw.o] Ошибка 1
make[2]: *** Ожидание завершения заданий...
make[1]: *** [core] Ошибка 2
make: *** [all] Ошибка 2

------- Comment #1 From Sergey Dryabzhinsky 2008-03-19 10:38:23 0000 -------
Agrh... Sorry for localized crap...

Again:
>>> Compiling source in /var/tmp/portage/sys-apps/lshw-02.12.01b/work/lshw-B.02.12.01 ...
hw.cc: In function 'std::string cleanupId(const std::string&)':
hw.cc:78: error: 'strchr' was not declared in this scope
hw.cc: In member function 'std::string hwNode::asXML(unsigned int)':
hw.cc:1316: error: 'PATH_MAX' was not declared in this scope
hw.cc:1318: error: 'version' was not declared in this scope
hw.cc: In constructor 'hw::resource::resource()':
hw.cc:1640: error: 'memset' was not declared in this scope
hw.cc: In member function 'std::string hw::resource::asString(const
std::string&) const':
hw.cc:1782: error: 'strncpy' was not declared in this scope
make[2]: *** [hw.o] Error 1
make[2]: *** Waiting for unfinished jobs....
print.cc: In function 'void init_wsize()':
print.cc:39: error: 'getenv' was not declared in this scope
print.cc:41: error: 'atoi' was not declared in this scope
print.cc:48: error: 'getenv' was not declared in this scope
print.cc:50: error: 'atoi' was not declared in this scope
print.cc: In function 'void printincolumns(std::vector<hwpath,
std::allocator<hwpath> >&, const char**)':
print.cc:608: error: 'strlen' was not declared in this scope
lshw.cc: In function 'void usage(const char*)':
lshw.cc:27: error: 'getenv' was not declared in this scopemake[2]: ***
[print.o] Error 1
make[1]: *** [core] Error 2
make[1]: *** Waiting for unfinished jobs....

lshw.cc: In function 'void status(const char*)':
lshw.cc:57: error: 'strlen' was not declared in this scope
lshw.cc: In function 'int main(int, char**)':
lshw.cc:87: error: 'exit' was not declared in this scope
lshw.cc:94: error: 'strcmp' was not declared in this scope
lshw.cc:103: error: 'exit' was not declared in this scope
lshw.cc:106: error: 'strcmp' was not declared in this scope
lshw.cc:109: error: 'exit' was not declared in this scope
lshw.cc:112: error: 'strcmp' was not declared in this scope
lshw.cc:119: error: 'strcmp' was not declared in this scope
lshw.cc:126: error: 'strcmp' was not declared in this scope
lshw.cc:132: error: 'strcmp' was not declared in this scope
lshw.cc:138: error: 'strcmp' was not declared in this scope
lshw.cc:144: error: 'strcmp' was not declared in this scope
lshw.cc:150: error: 'strcmp' was not declared in this scope
lshw.cc:156: error: 'strcmp' was not declared in this scope
lshw.cc:165: error: 'memmove' was not declared in this scope
lshw.cc:171: error: 'exit' was not declared in this scope
lshw.cc:178: error: 'exit' was not declared in this scope
make[1]: *** [lshw.o] Error 1
make: *** [all] Error 2

------- Comment #2 From Sergey Dryabzhinsky 2008-03-19 10:41:29 0000 -------
Fixed by upstrem here: http://ezix.org/project/ticket/345

------- Comment #3 From Sergey Dryabzhinsky 2008-03-20 19:22:11 0000 -------
Created an attachment (id=146684) [details]
Upstream fixes for build with gcc-4.3

Fix missing heades

------- Comment #4 From Ryan Hill 2008-03-30 02:41:09 0000 -------
added to gcc-porting overlay.

------- Comment #5 From SpanKY 2008-04-20 08:35:31 0000 -------
added to cvs, thanks

http://sources.gentoo.org/sys-apps/lshw/lshw-02.12.01b.ebuild?r1=1.4&r2=1.5
http://sources.gentoo.org/sys-apps/lshw/files/lshw-02.12.01b-gcc43.patch?rev=1.1

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug