I am trying to compile a version telnetd with includes and libraries
from Vintela.com VAS tool. My platform is Sun Solaris 9 Sparc. The
configure line is<
$ ./configure --disable-clients --with-pam --enable-encryption
CPPFLAGS="-I/opt/vas/include -I/usr/local/include"
LDFLAGS="-L/opt/vas/lib -L/usr/local/lib"
>
but the compile bombs out early on with this message<
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPATH_TTY_PFX=\"/dev/\"
-DPATH_DEVNULL=\"/dev/null\" -I../include -I/opt/vas/include
-I/usr/local/include -I/include -g -O2 -MT xmalloc.o -MD -MP -MF
".deps/xmalloc.Tpo" \
-c -o xmalloc.o `test -f 'xmalloc.c' || echo './'`xmalloc.c; \
then mv ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; \
else rm -f ".deps/xmalloc.Tpo"; exit 1; \
fi
In file included from xmalloc.c:37:
/usr/local/include/error.h:26:18: string: No such file or directory
In file included from xmalloc.c:37:
/usr/local/include/error.h:28: error: parse error before "math"
/usr/local/include/error.h:28: error: syntax error before '{' token
make[2]: *** [xmalloc.o] Error 1
make[2]: Leaving directory
`/export/home/rossc/inetutils-1.4.2/libinetutils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/rossc/inetutils-1.4.2'
make: *** [all] Error 2 >
I had previously soft linked error.h when the compile complained
about not being able to find it. Now it finds it, it complains
further. Need help to get past this problem.
Thanks
Hwntw
|