Summary: | net-libs/freenet6-5.1 fails to build with gcc-4.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Adrian Bassett <Adrian.Bassett> |
Component: | Current packages | Assignee: | Bernard Cafarelli <voyageur> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mlm |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 | ||
Attachments: | freenet6-5.1-gcc43.patch |
Description
Adrian Bassett
2008-06-16 07:06:40 UTC
Problem is with gcc, not glibc. Again missing headers. Steps to reproduce: 1. echo "=net-misc/freenet6-5.1" >> /etc/portage/package.keywords 2. USE="" emerge -v1 =net-misc/freenet6-5.1 The error messages: 1. > src/clientmsgsender.cc:161: error: 'strlen' was not declared in this scope > src/clientmsgsender.cc:161: error: 'memcpy' was not declared in this scope 2. > src/servermsgsender.cc: In member function 'void gw6cmessaging::ServerMsgSender::Send_StatusInfo(const Gw6cStatusInfo*)': > src/servermsgsender.cc:87: error: 'memcpy' was not declared in this scope 3. > src/namevalueparser.cc: In member function 'virtual bool gw6cconfig::NameValueParser::ReadConfigurationData(const std::string&)': > src/namevalueparser.cc:136: error: 'memset' was not declared in this scope 4. > src/gw6cconfig.cc: In function 'void replace(std::string&, const char*, const char*)': > src/gw6cconfig.cc:180: error: 'strlen' was not declared in this scope etc. etc. etc. My emerge --info: as in the bug 226663, comment 2. Created attachment 157107 [details, diff]
freenet6-5.1-gcc43.patch
Thanks for the patch! Added in CVS to 5.1 ebuild |