[prev in list] [next in list] [prev in thread] [next in thread]
List: openpkg-dev
Subject: Re: spamassassin-3.2.0-20070515 compile problem
From: Thomas Arendsen Hein <thomas () intevation ! de>
Date: 2007-05-30 19:11:15
Message-ID: 20070530191115.GA14133 () intevation ! de
[Download RAW message or body]
* Ralf S. Engelschall <rse@openpkg.org> [20070530 19:50]:
> On Wed, May 30, 2007, Thomas Arendsen Hein wrote:
> > I'm not subscribed to the list, so please Cc: me on replies.
> >
> > When building spamassassin-3.2.0-20070515.src.rpm on Debian sarge on
> > x86 with OpenPKG-current from today I got the following error:
> >
> > /kolab/bin/make -f spamc/Makefile spamc/spamc
> > /kolab/bin/gcc -O2 -pipe spamc/spamc.c spamc/getopt.c spamc/libspamc.c spamc/utils.c \
> > -o spamc/spamc -L/kolab/lib -ldl -lz -L/kolab/lib -L/kolab/lib -lfsl -lnsl
> > spamc/libspamc.c: In function '_zlib_compress':
> > spamc/libspamc.c:1029: error: 'z_stream' undeclared (first use in this function)
> > spamc/libspamc.c:1029: error: (Each undeclared identifier is reported only once
> > spamc/libspamc.c:1029: error: for each function it appears in.)
> > spamc/libspamc.c:1029: error: expected ';' before 'strm'
> > spamc/libspamc.c:1042: error: 'strm' undeclared (first use in this function)
> > spamc/libspamc.c:1042: error: 'Z_NULL' undeclared (first use in this function)
> > spamc/libspamc.c:1046: error: 'Z_OK' undeclared (first use in this function)
> > spamc/libspamc.c:1057: error: 'Z_FINISH' undeclared (first use in this function)
> > spamc/libspamc.c:1058: error: 'Z_STREAM_ERROR' undeclared (first use in this function)
> > make[1]: *** [spamc/spamc] Error 1
> > make: *** [spamc/spamc] Error 2
> > error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.77327 (%build)
>
> Althought it built just fine on our Debian 3.1 box rm2.openpkg.net I
> nevertheless see the root of the problem. There is no -I/kolab/include
> on the "gcc" command line. Don't know why it works for me, but perhaps
> my vendor zlib is newer than your one. Anyway, I've tried to fix it the
> blind way. Please now retry with the latest "spamassassin" package as of
> today.
Compiles without problems now.
Thanks,
Thomas
--
thomas@intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
______________________________________________________________________
OpenPKG http://openpkg.org
Developer Communication List openpkg-dev@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic