sieve script not running?
ken at oceana.com
Mon Jul 7 21:13:22 EDT 2003
Amos Gouaux wrote:
>>>>>>On Mon, 07 Jul 2003 15:56:17 -0400,
>>>>>>Ken Murchison <ken at oceana.com> (km) writes:
> km> Test your script/message combo by running the them through the
> km> sieve/test.c program in the distro.
> Oh, that reminds me of something. I generally try to compile that
> because it's handy for manually testing scripts (will this work
> with 2.2?).
If you're asking if the test program will work with 2.2 (bytecode), the
answer is yes, provided you compile the script with sievec first.
Which version of Cyrus gives the problem below?
> However, last time I tried, got this:
> + cd sieve
> + gmake test
> gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/BerkeleyDB.4.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \
> test.c: In function `hashheader':
> test.c:70: warning: subscript has type `char'
> test.c: In function `parseheader':
> test.c:108: warning: subscript has type `char'
> test.c:121: warning: subscript has type `char'
> gcc -L/usr/local/lib -R/usr/local/lib -L/usr/local/BerkeleyDB.4.0/lib -R/usr/local/BerkeleyDB.4.0/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o test \
> test.o libsieve.a ../et/libcom_err.a ../lib/libcyrus.a
> Undefined first referenced
> symbol in file
> shutdown ../lib/libcyrus.a(util.o)
> ld: fatal: Symbol referencing errors. No output written to test
> collect2: ld returned 1 exit status
> gmake: *** [test] Error 1
> This is on Solaris 8 with gcc-3.2.3.
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
More information about the Info-cyrus