- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: sunida
Subject: field `ru_utime' has incomplete type
After I ran make. I have got a new problem on solaris10 x86 like this:
In file included from /usr/include/sys/vnode.h:47,
from /usr/include/sys/stream.h:22,
from /usr/include/netinet/in.h:66,
from /usr/include/sys/socket.h:45,
from ../include/dps_common.h:56,
from indexer.c:19:
/usr/include/sys/resource.h:147: error: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:148: error: field `ru_stime' has incomplete type
indexer.c: In function `DpsStoreFilterFind':
indexer.c:158: warning: passing arg 2 of `DpsMatchListFind' from incompatible
pointer type
*** Error code 1
make: Fatal error: Command failed for target `libdpsearch_la-indexer.lo'
Current working directory /data2/dpsearch-4.43/src
*** Error code 1
The following command caused the error:
set fnord ; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='.'; 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 /data2/dpsearch-4.43/src
*** Error code 1
The following command caused the error:
set fnord ; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='include src doc etc create misc scripts 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; \
(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'
-------------------------------------------------------------------------------------------
It's on Solaris10 x86 with gcc-3.4.6 from sunfreeware.com(Freeware List for
Intel and Solaris 10)
Do you have any suggestion???
Thank you
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=01;post=