[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

RE: tor-0.2.0.32 doesn't compile on Solaris?



Sorry, it was my fault, after removing "--enable-gcc-warnings" from my config command it compiled.

otto



From: o815@xxxxxxxxxxx
To: or-talk@xxxxxxxxxxxxx
Subject: tor-0.2.0.32 doesn't compile on Solaris?
Date: Sun, 23 Nov 2008 08:53:40 +0000

I did run tor-0.2.0.31 on Solaris but when trying to compile
tor-0.2.0.32 I'm getting compile errors.
Any help is appreciated.

Thanks.

Otto


...
...
gcc -DHAVE_CONFIG_H -I. -I../..    -I../common -I/opt/csw/include -I/usr/local/ssl/include  -D__DARWIN_UNIX03 -DIPHONE -Wall -g -O2 -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat=2 -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch-enum -Werror -MT compat.o -MD -MP -MF .deps/compat.Tpo -c -o compat.o compat.c
compat.c: In function `log_credential_status':
compat.c:906: warning: unsigned int format, uid_t arg (arg 5)
compat.c:906: warning: unsigned int format, uid_t arg (arg 6)
compat.c:924: warning: unsigned int format, gid_t arg (arg 5)
compat.c:924: warning: unsigned int format, gid_t arg (arg 6)
*** Error code 1
make: Fatal error: Command failed for target `compat.o'
Current working directory /usr/local/lib/tor-0.2.0.32/src/common
*** 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='common or tools win32 config'; 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 /usr/local/lib/tor-0.2.0.32/src
*** 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='src doc contrib'; 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 /usr/local/lib/tor-0.2.0.32
*** Error code 1
make: Fatal error: Command failed for target `all'



Zeigen Sie es Ihren Freunden! Erstellen Sie kostenlos Fotoalben und Diashows in Ihrem Space!

Speichern Sie Ihre Daten von überall! Kostenlos: Die Festplatte im Netz mit 5 GB Speicher!