First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 219552
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Andrej Kacian (RETIRED) <ticho@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Peter Alfredsen <loki_val@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
spamprobe-1.4d-gcc43.patch spamprobe-1.4d-gcc43.patch patch Peter Alfredsen 2008-04-27 23:34 0000 3.91 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2008-04-27 23:34 0000
if i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"spamprobe\" -DVERSION=\"1.4d\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_REGEX_H=1
-DUSE_DB=1 -DUSE_MMAP=1 -DHAVE_UNGIF=1 -DHAVE_PNG=1 -DHAVE_JPEG=1  -I. -I.
-I../../src/includes  -DNDEBUG   -O2 -march=i686 -mtune=athlon-xp -msse -mmmx
-pipe -ggdb3 -MT CleanupManager.o -MD -MP -MF ".deps/CleanupManager.Tpo" -c -o
CleanupManager.o CleanupManager.cc; \
        then mv -f ".deps/CleanupManager.Tpo" ".deps/CleanupManager.Po"; else
rm -f ".deps/CleanupManager.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"spamprobe\" -DVERSION=\"1.4d\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_REGEX_H=1
-DUSE_DB=1 -DUSE_MMAP=1 -DHAVE_UNGIF=1 -DHAVE_PNG=1 -DHAVE_JPEG=1  -I. -I.
-I../../src/includes  -DNDEBUG   -O2 -march=i686 -mtune=athlon-xp -msse -mmmx
-pipe -ggdb3 -MT DatabaseConfig.o -MD -MP -MF ".deps/DatabaseConfig.Tpo" -c -o
DatabaseConfig.o DatabaseConfig.cc; \
        then mv -f ".deps/DatabaseConfig.Tpo" ".deps/DatabaseConfig.Po"; else
rm -f ".deps/DatabaseConfig.Tpo"; exit 1; fi
In file included from ../../src/includes/WordData.h:42,
                 from ../../src/includes/CleanupManager.h:36,
                 from CleanupManager.cc:32:
../../src/includes/util.h: In function ‘bool starts_with(const std::string&,
const char*)’:
../../src/includes/util.h:83: error: ‘strlen’ was not declared in this
scope
../../src/includes/util.h:83: error: ‘strncmp’ was not declared in this
scope
../../src/includes/util.h: In function ‘bool starts_with(const std::string&,
const std::string&)’:
../../src/includes/util.h:89: error: ‘strncmp’ was not declared in this
scope
../../src/includes/util.h: In function ‘bool ends_with(const std::string&,
const std::string&)’:
../../src/includes/util.h:95: error: ‘strcmp’ was not declared in this
scope
make[2]: *** [CleanupManager.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ../../src/includes/File.h:36,
                 from DatabaseConfig.cc:33:
../../src/includes/util.h: In function ‘bool starts_with(const std::string&,
const char*)’:
../../src/includes/util.h:83: error: ‘strlen’ was not declared in this
scope
../../src/includes/util.h:83: error: ‘strncmp’ was not declared in this
scope
../../src/includes/util.h: In function ‘bool starts_with(const std::string&,
const std::string&)’:
../../src/includes/util.h:89: error: ‘strncmp’ was not declared in this
scope
../../src/includes/util.h: In function ‘bool ends_with(const std::string&,
const std::string&)’:
../../src/includes/util.h:95: error: ‘strcmp’ was not declared in this
scope
DatabaseConfig.cc: In member function ‘void
DatabaseConfig::parseCommandLineArg(std::string&, std::string&, int&)’:
DatabaseConfig.cc:111: error: ‘atoi’ was not declared in this scope
make[2]: *** [DatabaseConfig.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mail-filter/spamprobe-1.4d/work/spamprobe-1.4d/src/database'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mail-filter/spamprobe-1.4d/work/spamprobe-1.4d/src'
make: *** [all-recursive] Error 1

------- Comment #1 From Peter Alfredsen 2008-04-27 23:34:45 0000 -------
Created an attachment (id=151203) [edit]
spamprobe-1.4d-gcc43.patch

Fixes the problem. Snatched from Debian.

------- Comment #2 From Andrej Kacian (RETIRED) 2008-04-28 16:47:01 0000 -------
Patch added to 1.4d, thanks!

First Last Prev Next    No search results available      Search page      Enter new bug