sieve script not running?
Amos Gouaux
+archive.info-cyrus at utdallas.edu
Mon Jul 7 18:35:13 EDT 2003
>>>>> 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?). 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
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.
--
Amos
More information about the Info-cyrus
mailing list