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]

errors while doing 'make' for openTimer installation


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


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