* errors while doing 'make' for openTimer installation
@ 2016-11-12 10:45 kunal ghosh
0 siblings, 0 replies; only message in thread
From: kunal ghosh @ 2016-11-12 10:45 UTC (permalink / raw)
To: cygwin
Hi,
I am trying to install OpenTimer on Cygwin
I do below (saw some update on this in cygwin mailing list and so
using --host): --- Works fine
./configure --host=x86_64-w64-mingw32
and then below :
Kunal@Kunal-PC /cygdrive/c/VSD/Tools/openTimer/OpenTimer-1.0.5
$ make
I went ahead modifying the utilities.h to point to
windows/port.h, instead of port.h.
And some more hacks to get rid of other errors. Now 'make' gives me
the below errors. Not sure how to resolve this. Can you please help?
src/logging.cc: In member function 'bool
google::{anonymous}::LogFileObject::CreateLogfile(const string&)':
src/logging.cc:895:43: error: 'symlink' was not declared in this scope
if (symlink(linkdest, linkpath.c_str()) != 0) {
^
src/logging.cc:904:45: error: 'symlink' was not declared in this scope
if (symlink(filename, linkpath.c_str()) != 0) {
^
src/logging.cc: In function 'void google::TruncateLogFile(const char*,
google::int64, google::int64)':
src/logging.cc:1828:69: error: 'O_NOFOLLOW' was not declared in this scope
if (strncmp(procfd_prefix, path, strlen(procfd_prefix))) flags |= O_NOFOLLOW;
^
src/logging.cc:1867:68: error: 'pread' was not declared in this scope
while ((bytesin = pread(fd, copybuf, sizeof(copybuf), read_offset)) > 0) {
^
src/logging.cc:1868:57: error: 'pwrite' was not declared in this scope
bytesout = pwrite(fd, copybuf, bytesin, write_offset);
Thanks
Kunal
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-12 3:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-12 10:45 errors while doing 'make' for openTimer installation kunal ghosh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).