help needed: error compiling sysstat-8.0.4.1 under cygwin/Win XP
Eric_Kuzmack@Dell.com
Eric_Kuzmack@Dell.com
Mon Feb 9 04:39:00 GMT 2009
All,
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
function)
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
Thanks!!
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 25041 bytes
Desc: config.log
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090209/838695a5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 18332 bytes
Desc: Makefile
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090209/838695a5/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: common.c
Type: application/octet-stream
Size: 18825 bytes
Desc: common.c
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090209/838695a5/attachment-0002.obj>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list