bogofilter compile error: Not enough room for program headers

Gyepi SAM gyepi at praxis-sw.com
Thu Jan 8 20:47:38 CET 2004


On Thu, Jan 08, 2004 at 01:02:44PM -0500, Jessica Brennan wrote:
> I am getting the following error when compiling bogofilter on NetBSD 1.5.
> Any idea what's wrong?
> 
> gcc -DBOGOFILTER  -g -O2  -Wpointer-arith -ggdb -Wall -W
> -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast
> -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return
> -Wmissing-declarations -Wnested-externs -fno-common -Wchar-subscripts
> -Wcomment -Wimplicit -Wreturn-type  -L/usr/local/lib -o bogofilter
> bogofilter.o main.o  method.o graham.o robinson.o  fisher.o
> libbogofilter.a /pkg/db-3.3.11-static/lib/libdb.a libbf_gsl.a -lm
> /usr/bin/ld: bogofilter: Not enough room for program headers (allocated 6,
> need 7)

According to this googled url, as well as others, your ld may be too old. What
version of binutils are you using?

This problem is not specific to BSD, BTW.

http://sources.redhat.com/ml/binutils/2000-09/msg00181.html

-Gyepi





More information about the bogofilter-dev mailing list