[OpenIndiana-discuss] build ntfs-3g on oi_148 fail

Benediktus Anindito bennybroz105 at gmail.com
Tue Jun 21 03:33:42 UTC 2011


i've try to build ntfs-3g on OpenIndiana build 148, based on a guide
from this post http://openindiana.org/pipermail/openindiana-discuss/2011-April/003644.html
but the build was failing when i run `make` on ntfs-3g:
gcc -DHAVE_CONFIG_H -I. -I..  -I../include/ntfs-3g     -g -O2 -Wall
-MT ntfsresize.o -MD -MP -MF .deps/ntfsresize.Tpo -c -o ntfsresize.o
ntfsresize.c
ntfsresize.c: In function `replace_attribute_runlist':
ntfsresize.c:1174: error: `INT_MAX' undeclared (first use in this function)
ntfsresize.c:1174: error: (Each undeclared identifier is reported only once
ntfsresize.c:1174: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `ntfsresize.o'
Current working directory
/home/beni/Downloads/ntfs-3g_ntfsprogs-2011.4.12/ntfsprogs
*** 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='include libfuse-lite libntfs-3g ntfsprogs src'; 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 /home/beni/Downloads/ntfs-3g_ntfsprogs-2011.4.12
*** Error code 1
make: Fatal error: Command failed for target `all'

does anyone know why?



More information about the OpenIndiana-discuss mailing list