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

[gftp] Trouble Compiling on Solaris 10



Hello

I'm trying to compile gftp 2.0.18 on a relatively fresh installation of
Solaris 10 x86 running on an AMD64 workstation.  When I run make the
errors shown below occur.  I would welcome any advise as to how I might
resolve this problem.

Cheers,

Bernard

---make output---

make  all-recursive
make[1]: Entering directory `/home/bjl/gftp-2.0.18'
Making all in intl
make[2]: Entering directory `/home/bjl/gftp-2.0.18/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bjl/gftp-2.0.18/intl'
Making all in docs
make[2]: Entering directory `/home/bjl/gftp-2.0.18/docs'
Making all in sample.gftp
make[3]: Entering directory `/home/bjl/gftp-2.0.18/docs/sample.gftp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bjl/gftp-2.0.18/docs/sample.gftp'
make[3]: Entering directory `/home/bjl/gftp-2.0.18/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/bjl/gftp-2.0.18/docs'
make[2]: Leaving directory `/home/bjl/gftp-2.0.18/docs'
Making all in intl
make[2]: Entering directory `/home/bjl/gftp-2.0.18/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bjl/gftp-2.0.18/intl'
Making all in lib
make[2]: Entering directory `/home/bjl/gftp-2.0.18/lib'
Making all in fsplib
make[3]: Entering directory `/home/bjl/gftp-2.0.18/lib/fsplib'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DFSP_USE_SHAREMEM_AND_SEMOP=1   
-g -O2 -MT fsplib.o -MD -MP -MF ".deps/fsplib.Tpo" \
  -c -o fsplib.o `test -f 'fsplib.c' || echo './'`fsplib.c; \
then mv -f ".deps/fsplib.Tpo" ".deps/fsplib.Po"; \
else rm -f ".deps/fsplib.Tpo"; exit 1; \
fi
fsplib.c: In function `fsp_readdir_r':
fsplib.c:597: error: structure has no member named `d_type'
fsplib.c:597: error: `DT_DIR' undeclared (first use in this function)
fsplib.c:597: error: (Each undeclared identifier is reported only once
fsplib.c:597: error: for each function it appears in.)
fsplib.c:599: error: structure has no member named `d_type'
fsplib.c:599: error: `DT_REG' undeclared (first use in this function)
fsplib.c:611: error: structure has no member named `d_fileno'
make[3]: *** [fsplib.o] Error 1
make[3]: Leaving directory `/home/bjl/gftp-2.0.18/lib/fsplib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bjl/gftp-2.0.18/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bjl/gftp-2.0.18'
make: *** [all] Error 2