WangHaoren / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

cygwin (missing syscall.h) #153

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install cygwin (for Windows)
2. Compile 

What is the expected output? What do you see instead?

The header file "syscall.h : No such file or directory".

What version of the product are you using? On what operating system?

glog 0.3.2 on Windows XP 32 SP3 with Cygwin.

Please provide any additional information below.

No other information.

Original issue reported on code.google.com by antonio.petricca@gmail.com on 13 Mar 2013 at 4:39

GoogleCodeExporter commented 8 years ago
I tried to rebuild not by CMake script, but the original configure tool ad I 
got the below error :

In file included from /usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/cstdio:45:0,
                 from /cygdrive/c/Documents and Settings/DropBoxSisalAccount/Documenti/Dropbox/Development/OpenBootStrapper/project/src/lib/glog-0.3.3/logging.cc:47:
/usr/include/stdio.h:53:9: error: ‘_fpos64_t’ does not name a type
In file included from /usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/cstdio:45:0,
                 from /cygdrive/c/Documents and Settings/DropBoxSisalAccount/Documenti/Dropbox/Development/OpenBootStrapper/project/src/lib/glog-0.3.3/logging.cc:47:
/usr/include/stdio.h:210:5: error: ‘fpos_t’ has not been declared
/usr/include/stdio.h:216:5: error: ‘fpos_t’ does not name a type
/usr/include/stdio.h:382:5: error: ‘fpos_t’ has not been declared
/usr/include/stdio.h:383:5: error: ‘fpos_t’ does not name a type
/usr/include/stdio.h:538:7: error: ‘fpos_t’ has not been declared
/usr/include/stdio.h:538:7: error: ‘fpos_t’ has not been declared
/usr/include/stdio.h:543:7: error: ‘fpos_t’ has not been declared
/usr/include/stdio.h:543:7: error: ‘fpos_t’ has not been declared

Original comment by antonio.petricca@gmail.com on 14 Mar 2013 at 8:29