[Asterisk-Dev] Asterisk on Solaris 10 x86

Srinivasa Cherukuri SCherukuri at yak.ca
Wed Apr 27 13:46:47 MST 2005


My configuration (./ configure) went smooth on Solaris 10 x86.
Then I got an error after running make command.

# pwd
/opt/home/srao/pbx/cvs-1.11.20

------------------------------------------------------------------------
------------------------------------------
# make
make  all-recursive
Making all in lib
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src      -g -O2 -MT sighandle.o
-MD -MP -MF ".deps/sighandle.Tpo" -c -o sighandle.o sighandle.c; \
then mv -f ".deps/sighandle.Tpo" ".deps/sighandle.Po"; else rm -f
".deps/sighandle.Tpo"; exit 1; fi
In file included from /usr/include/sys/signal.h:34,
                 from /usr/include/signal.h:26,
                 from sighandle.c:38:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/signal.h:26,
                 from sighandle.c:38:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from sighandle.c:38:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
sighandle.c: In function `SIG_register':
sighandle.c:225: warning: assignment from incompatible pointer type
*** Error code 1
make: Fatal error: Command failed for target `sighandle.o'
Current working directory /opt/home/srao/pbx/cvs-1.11.20/lib
*** 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='lib zlib diff src man doc contrib tools  windows-NT os2 emx vms';
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 /opt/home/srao/pbx/cvs-1.11.20
*** Error code 1
make: Fatal error: Command failed for target `all'

------------------------------------------------------------------------
------------------------------------------

Your help is appreciated.

Thanks







More information about the asterisk-dev mailing list