compiling gnu telnetd (inetutils)

  • Follow


I am trying to compile a version of gnu telnetd with includes and libraries
from the 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
0
Reply hwntw 10/26/2004 2:07:03 PM

hwntw wrote...
>
>I am trying to compile a version of gnu telnetd with includes and libraries
>from the 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"

You should use /usr/include first.

>but the compile bombs out early on with this message<

[snip]
>/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

Your error.h from /usr/local/include is no good.
Use that in /usr/include instead.


0
Reply harryooopotter 10/26/2004 6:48:11 PM


harryooopotter@hotmail.co_ (Harry) wrote in message news:<LZwfd.8364$df2.6186@edtnps89>...
> hwntw wrote...
> >
> >I am trying to compile a version of gnu telnetd with includes and libraries
> >from the 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"
> 
> You should use /usr/include first.
> 
> >but the compile bombs out early on with this message<
> 
> [snip]
> >/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
> 
> Your error.h from /usr/local/include is no good.
> Use that in /usr/include instead.


There is no error.h in Sun Solaris /usr/include
Best,
Hwntw
0
Reply hwntw 11/15/2004 4:29:23 PM

2 Replies
311 Views

(page loaded in 1.617 seconds)

Similiar Articles:






7/24/2012 4:10:04 PM


Reply: