Re: 1.4c and inline image spams - Compile error
Anthony Campbell <ac-MeA/[email protected]> Sat, 6 Jan 2007 14:41:11 +0000
| Newsgroups | gmane.mail.spam.spamprobe.general |
|---|---|
| Message-ID | <[email protected]> |
On 04 Jan 2007, Brian Burton wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> I have just posted spamprobe version 1.4c to sourceforge. This release adds
> a new option, "-o whitelist" for use in combating inline image spams. More
> on that below. This release also adds a "-o ignore-body" option to ignore
> tokens from the message body, fixes a few minor bugs, and updates the man
> page.
>
[snip]
I can't compile this here. Never had any problem with earlier versions.
I note that it is supposed to use pbl_1_02 but the current version of
pbl is 1_03; I don't know if that would make a difference.
The error message I get is:
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPAC
KAGE_BUGREPORT=\"\" -DPACKAGE=\"spamprobe\" -DVERSION=\"1.4c\" -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_PBL=1 -DUSE_MMAP=1 -DHAVE_UNGIF=1 -I. -I. -I../../src/includes -I/usr/local/pbl_1_03 -DND
EBUG -g -O2 -MT Command_import.o -MD -MP -MF ".deps/Command_import.Tpo" -c -o Command_import.o Com
mand_import.cc; \
then mv -f ".deps/Command_import.Tpo" ".deps/Command_import.Po"; else rm -f ".deps/Command_i
mport.Tpo"; exit 1; fi
../../src/includes/Buffer.h: In constructor 'Buffer<T>::Buffer(int)':
../../src/includes/Buffer.h:48: error: there are no arguments to 'assert' that depend on a template
parameter, so a declaration of 'assert' must be available
../../src/includes/Buffer.h:48: error: (if you use '-fpermissive', G++ will accept your code, but al
lowing the use of an undeclared name is deprecated)
../../src/includes/Buffer.h: In member function 'T& Buffer<T>::operator[](int) const':
../../src/includes/Buffer.h:53: error: there are no arguments to 'assert' that depend on a template
parameter, so a declaration of 'assert' must be available
../../src/includes/Buffer.h:54: error: there are no arguments to 'assert' that depend on a template
parameter, so a declaration of 'assert' must be available
../../src/includes/Buffer.h: In member function 'void Buffer<T>::append(const T&)':
../../src/includes/Buffer.h:70: error: there are no arguments to 'assert' that depend on a template
parameter, so a declaration of 'assert' must be available
../../src/includes/Buffer.h:74: error: there are no arguments to 'assert' that depend on a template
parameter, so a declaration of 'assert' must be available
../../src/includes/Buffer.h: In member function 'void Buffer<T>::reset(int)':
../../src/includes/Buffer.h:90: error: there are no arguments to 'assert' that depend on a template
parameter, so a declaration of 'assert' must be available
../../src/includes/Buffer.h: In member function 'void Buffer<T>::resize(int)':
../../src/includes/Buffer.h:99: error: there are no arguments to 'assert' that depend on a template
parameter, so a declaration of 'assert' must be available
../../src/includes/Buffer.h:108: error: there are no arguments to 'assert' that depend on a template
parameter, so a declaration of 'assert' must be available
make[2]: *** [Command_import.o] Error 1
make[2]: Leaving directory `/usr/local/spamprobe-1.4c/src/spamprobe'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/spamprobe-1.4c/src'
make: *** [all-recursive] Error 1
Anthony
--
Anthony Campbell - ac-MeA/[email protected]
Microsoft-free zone - Using Linux Gnu-Debian
http://www.acampbell.org.uk (blog, book reviews,
on-line books and sceptical articles)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV