[Vortex] libaxl compilation error on SunOS-sparc64

Satish Mittal satish.mittal at gmail.com
Fri Jun 24 14:34:43 CEST 2011

Hi All,

I am facing an error while building libaxl on my SunOS sparc-64 bit host.
After running autogen.sh, when I issue make, it gives the following error:

/bin/bash ../libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I. -I..
-g -I..  -DVERSION=\""0.6.4.b4604.g4611"\"
-DPACKAGE_TOP_DIR=\"".."\"    -D__axl_disable_broken_bool_def__
 -DVERSION=\"0.6.4.b4604.g4611\" -DSHOW_DEBUG_LOG   +w +w2 -mt -KPIC -m64
 -g -c -o axl_factory.lo axl_factory.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -g -I..
-DPACKAGE_TOP_DIR=\"..\" -D__axl_disable_broken_bool_def__
-DVERSION=\"0.6.4.b4604.g4611\" -DSHOW_DEBUG_LOG +w +w2 -mt -KPIC -m64 -g -c
axl_factory.c  -KPIC -DPIC -o .libs/axl_factory.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -g -I..
-DPACKAGE_TOP_DIR=\"..\" -D__axl_disable_broken_bool_def__
-DVERSION=\"0.6.4.b4604.g4611\" -DSHOW_DEBUG_LOG +w +w2 -mt -KPIC -m64 -g -c
axl_factory.c -o axl_factory.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC    --mode=link cc  -g  -no-undefined
-export-symbols-regex '^(axl|__axl|_axl).*' -mt -m64 -o libaxl.la -rpath
axl.lo axl_decl.lo axl_node.lo axl_doc.lo  axl_error.lo axl_stream.lo
axl_log.lo axl_list.lo axl_stack.lo  axl_dtd.lo axl_hash.lo axl_factory.lo
libtool: link: /usr/ccs/bin/nm -p  .libs/axl.o .libs/axl_decl.o
.libs/axl_node.o .libs/axl_doc.o .libs/axl_error.o .libs/axl_stream.o
.libs/axl_log.o .libs/axl_list.o .libs/axl_stack.o .libs/axl_dtd.o
.libs/axl_hash.o .libs/axl_factory.o   |  | /bin/sed 's/.* //' | sort | uniq
> .libs/libaxl.exp
*../libtool: eval: line 1088: syntax error near unexpected token `|'*
*../libtool: eval: line 1088: `/usr/ccs/bin/nm -p  .libs/axl.o
.libs/axl_decl.o .libs/axl_node.o .libs/axl_doc.o .libs/axl_error.o
.libs/axl_stream.o .libs/axl_log.o .libs/axl_list.o .libs/axl_stack.o
.libs/axl_dtd.o .libs/axl_hash.o .libs/axl_factory.o   |  | /bin/sed 's/.*
//' | sort | uniq > .libs/libaxl.exp'*
**** Error code 1*
*make: Fatal error: Command failed for target `libaxl.la'*
*Current working directory
**** Error code 1*
The following command caused the error:
fail= 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  ns knife babel   test'; 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; \
  (CDPATH="${ZSH_VERSION+.}:" && 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
*** Error code 1
make: Fatal error: Command failed for target `all'

Could someone please help me out here?

Satish M
"The happiest of people don´t necessarily have the best of everything, they
just make the most of everything that comes along their way."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.aspl.es/pipermail/vortex/attachments/20110624/6514dc22/attachment.htm>

More information about the Vortex mailing list