This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

help needed: error compiling sysstat- under cygwin/Win XP


I am trying to compile sysstat-8.1.8 under cygwin/Win XP.

I downloaded the source & ran configure which seemed to run OK, but when
I run make I get the output. I've searched the archives and google but
have not been able to find a solution. I'm not a developer, so any help
would be appreciated.

I have attached the Makefile and the config.log file. I've also attached
the common.c source file that has the get_win_height function.

gcc command:

gcc -o common.o -c -g -O2 -Wall -Wstrict-prototypes -pipe -O2
-fno-strength-reduce  -DSA_DIR=\"/var/log/sa\"
-DSADC_PATH=\"/usr/local/lib/sa/sadc\" -DUSE_NLS -DPACKAGE=\"sysstat\"
-DLOCALEDIR=\"/usr/local/share/locale\" common.c

command output:

common.c: In function `get_win_height':
common.c:490: error: storage size of 'win' isn't known
common.c:497: error: `TIOCGWINSZ' undeclared (first use in this
common.c:497: error: (Each undeclared identifier is reported only once
common.c:497: error: for each function it appears in.)
common.c:490: warning: unused variable `win'
make: *** [common.o] Error 1



Attachment: config.log
Description: config.log

Attachment: Makefile
Description: Makefile

Attachment: common.c
Description: common.c

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]