[Qmail-it] simscan su solaris
Giacomo Marconi
giaco at giaco.net
Sun Sep 9 04:44:02 CEST 2007
se tento di compilare simcan (1.3.1) su solaris (nevada 69) ho sta roba qua:
bash-3.00# make
make all-recursive
Making all in cdb
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\'; \
cat find-systype.sh; \
) | sh > systype
( cat warn-auto.sh; \
echo 'main="$1"; shift'; \
echo 'rm -f "$main"'; \
echo 'ar cr "$main" ${1+"$@"}'; \
case "`cat systype`" in \
sunos-5.*) ;; \
unix_sv*) ;; \
irix64-*) ;; \
irix-*) ;; \
dgux-*) ;; \
hp-ux-*) ;; \
sco*) ;; \
*) echo 'ranlib "$main"' ;; \
esac \
) > makelib
chmod 755 makelib
( cat warn-auto.sh; \
echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' \
) > compile
chmod 755 compile
( cat warn-auto.sh; \
echo 'main="$1"; shift'; \
echo exec "`head -1 conf-ld`" \
'-o "$main" "$main".o ${1+"$@"}' \
) > load
chmod 755 load
( ( ./compile tryulong32.c && ./load tryulong32 && \
./tryulong32 ) >/dev/null 2>&1 \
&& cat uint32.h2 || cat uint32.h1 ) > uint32.h
rm -f tryulong32.o tryulong32
./compile cdb.c
./compile cdb_hash.c
./compile cdb_make.c
./compile cdb_unpack.c
./compile cdb_seek.c
./makelib cdb.a cdb.o cdb_hash.o cdb_make.o cdb_unpack.o cdb_seek.o
./compile strerr_sys.c
./compile buffer.c
./compile buffer_put.c
./compile buffer_2.c
./compile strerr_die.c
./compile buffer_get.c
./compile buffer_copy.c
./compile buffer_1.c
./compile buffer_0.c
./compile buffer_1s.c
./makelib buffer.a strerr_sys.o buffer.o buffer_put.o \
buffer_2.o strerr_die.o buffer_get.o buffer_copy.o \
buffer_1.o buffer_0.o buffer_1s.o
./compile error.c
./compile open_read.c
./compile open_trunc.c
./compile error_str.c
./compile seek_set.c
./compile seek_cur.c
./makelib unix.a error.o open_read.o open_trunc.o \
error_str.o seek_set.o seek_cur.o
./compile byte_copy.c
./compile byte_cr.c
./compile str_len.c
./compile fmt_ulong.c
./compile uint32_unpack.c
./compile byte_diff.c
./compile uint32_pack.c
./compile scan_ulong.c
./makelib byte.a byte_copy.o byte_cr.o str_len.o \
fmt_ulong.o uint32_unpack.o byte_diff.o uint32_pack.o \
scan_ulong.o
./compile alloc.c
alloc.c:3: warning: conflicting types for built-in function 'malloc'
./makelib alloc.a alloc.o
/usr/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -c `test
-f 'simscan.c' || echo './'`simscan.c
simscan.c: In function `main':
simscan.c:313: warning: int format, pid_t arg (arg 3)
simscan.c:813: warning: int format, pid_t arg (arg 5)
simscan.c:813: warning: int format, pid_t arg (arg 6)
simscan.c: In function `add_attach':
simscan.c:1691: warning: implicit declaration of function `strsep'
simscan.c:1691: warning: assignment makes pointer from integer without a
cast
simscan.c: In function `per_domain_lookup':
simscan.c:1802: warning: assignment makes pointer from integer without a
cast
simscan.c:1803: warning: assignment makes pointer from integer without a
cast
simscan.c:1863: warning: assignment makes pointer from integer without a
cast
simscan.c:1864: warning: assignment makes pointer from integer without a
cast
simscan.c: In function `per_domain_email_lookup':
simscan.c:1919: warning: assignment makes pointer from integer without a
cast
simscan.c: At top level:
simscan.c:2248: error: conflicting types for 'strsep'
simscan.c:1691: error: previous implicit declaration of 'strsep' was here
simscan.c: In function `log_message':
simscan.c:2324: warning: int format, pid_t arg (arg 3)
simscan.c:2332: warning: int format, pid_t arg (arg 3)
simscan.c: In function `check_smtp_host':
simscan.c:2444: warning: int format, pid_t arg (arg 3)
simscan.c:2481: warning: int format, pid_t arg (arg 3)
simscan.c:2484: warning: int format, pid_t arg (arg 3)
*** Error code 1
make: Fatal error: Command failed for target `simscan.o'
Current working directory /export/simscan-1.3.1
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='cdb'; 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) \
|| case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
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 /export/simscan-1.3.1
*** Error code 1
make: Fatal error: Command failed for target `all'
bash-3.00#
mi potete dare una mano ?
grazie
Giaco
More information about the Qmail-it
mailing list