A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=485 
====================================================================== 
Reported By:                metalchaos
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   485
Category:                   Sieve (delivery, dbmail-sievecmd, dbmail-timsieved)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             05-Jan-07 20:37 CET
Last Modified:              07-Jan-07 12:04 CET
====================================================================== 
Summary:                    libsieve doesn't compile on solaris
Description: 
The same machine as my previous report, but with libsieve:

Making all in sv_test
/bin/bash ../libtool --tag=CC --mode=link gcc  -Wall -I../sv_util
-I../sv_parser -I../sv_interface -I../sv_include -g    -o example 
example.o ../libsieve.la
gcc -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g
-o .libs/example example.o  ../.libs/libsieve.so -R/opt/csw/lib
Undefined                       first referenced
 symbol                             in file
__STRING                            ../.libs/libsieve.so
ld: fatal: Symbol referencing errors. No output written to .libs/example
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `example'
Current working directory /root/t/libsieve-2.2.4/src/sv_test
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='sv_parser sv_regex sv_interface sv_util . sv_test sv_include'; for
subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /root/t/libsieve-2.2.4/src
*** Error code 1
make: Fatal error: Command failed for target `all'

====================================================================== 

---------------------------------------------------------------------- 
 aaron - 07-Jan-07 00:09  
---------------------------------------------------------------------- 
Try replacing __STRING(cond) with #cond on line 37 of
libsieve/src/sv_util/util.h and let me know if that helps.

In the future please email me directly for libSieve bugs, as indicated in
the libSieve README file. 

---------------------------------------------------------------------- 
 metalchaos - 07-Jan-07 12:04  
---------------------------------------------------------------------- 
Yes now it works. Thanks. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-Jan-07 20:37 metalchaos     New Issue                                    
07-Jan-07 00:09 aaron          Note Added: 0001710                          
07-Jan-07 12:04 metalchaos     Note Added: 0001713                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to