octave configure on cygwin snapshot
Marco Atzeri
marco_atzeri@yahoo.it
Wed Aug 29 08:09:00 GMT 2007
Hi,
running octave 2.9.13 configure on latest cygwin
snapshot
1.7.0s(0.177/4/2) 20070813 12:16:31
I found that the attached test to verify the format
of gettimeof is failing
gcc -o conftest.exe -g -O2 conftest.c -ldl -lwsock32
-lz -lm -lwsock32
conftest.c: In function `main':
conftest.c:216: error: storage size of 'dummy' isn't
known
while the test pass for cygwin 1.5.14-2.
As both structs timeval and timezone are defined on
/usr/include/sys/time.h
and the two files are equal on the struct definition
can someone help me in understanding the problem ?
Is it related to the change of definition for
gettimeofday ?
diff cygwin-1.5.24/usr/include/sys/time.h
20070813/usr/include/sys/time.h
73c73
< int _EXFUN(gettimeofday, (struct timeval *__p,
struct timezone *__z));
---
> int _EXFUN(gettimeofday, (struct timeval *__p, void
*__tz));
Regards
Marco
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conftest.c
Type: application/octet-stream
Size: 5122 bytes
Desc: pat395223029
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070829/4962fb2c/attachment.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