W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1999

Compiling fails: Solaris 2.6 on Sparc Ultra 5

From: Manish Gupta <guptam@corp.home.net>
Date: Fri, 15 Oct 1999 16:19:25 -0700
Message-ID: <3807B67D.D102C12@corp.home.net>
To: www-lib@w3.org

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    
-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)) || \

#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.
Received on Friday, 15 October 1999 19:19:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:52 UTC