Compiling fails: Solaris 2.6 on Sparc Ultra 5

I have been trying to compile the libwww latest release..

I get the following errors: 

gmake[4]: Entering directory `/home/guptam/w3c-libwww-5.2.8/Library/src'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/include   -I../../modules/md5    
-I../../modules/expat/xmlparse  
-DW3C_ICONS=\"/usr/local/share/w3c-libwww\"  -g -O2 -c HTArray.c
rm -f .libs/HTArray.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include
-I../../modules/md5 -I../../modules/expat/xmlparse
-DW3C_ICONS=\"/usr/local/share/w3c-libwww\" -g -O2 -c  -fPIC -DPIC
HTArray.c -o .libs/HTArray.lo
In file included from /usr/include/termios.h:13,
                 from wwwsys.h:797,
                 from HTArray.c:12:
/usr/include/sys/termios.h:376: parse error before `uint32_t'
/usr/include/sys/termios.h:376: warning: no semicolon at end of struct
or union


is this seen before? 


I am including the lines around line 376 in termios.h...

#if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || \
        defined(__EXTENSIONS__)

#define TCSETSF         (_TIOC|16)

/*
 * NTP PPS ioctls
 */
#define TIOCGPPS (_TIOC|125)
#define TIOCSPPS (_TIOC|126)
#define TIOCGPPSEV (_TIOC|127)

/* Argument filled in by TIOCGPPSEV */
struct ppsclockev {
        struct timeval tv;
        uint32_t serial;     ----- LINE 376
};
#endif /* (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE))... */


Please help.
-Manish

Received on Friday, 15 October 1999 19:19:33 UTC