file_path_watcher_inotify.cc
Sergiy Suprun
sergiy.suprun at gmail.com
Sun Mar 20 15:51:59 UTC 2011
Hello folks.
In this weekend I'm enjoying with chromium build. And recieved this error:
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:9:25:
warning: sys/inotify.h: No such file or directory
CXX(target) out/Release/obj.target/browser/chrome/browser/file_system/file_system_dispatcher_host.o
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:51:
error: ISO C++ forbids declaration of 'inotify_event' with no type
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:51:
error: expected ',' or '...' before '*' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc: In
member function 'virtual void<unnamed>::InotifyReaderTask::Run()':
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:185:
error: 'inotify_event' was not declared in this scope
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:185:
error: expected primary-expression before '=' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:185:
error: expected type-specifier before 'inotify_event'
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:185:
error: expected '>' before 'inotify_event'
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:185:
error: expected '(' before 'inotify_event'
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:185:
error: expected primary-expression before '>' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:185:
error: expected ')' before ';' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:186:
error: expected primary-expression before '->' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:188:
error: expected primary-expression before ')' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc: In
constructor '<unnamed>::InotifyReader::InotifyReader()':
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:207:
error: 'inotify_init' was not declared in this scope
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc: In
member function 'int<unnamed>::InotifyReader::AddWatch(const
FilePath&, <unnamed>::FilePathWatcherImpl*)':
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:243:
error: 'IN_CREATE' was not declared in this scope
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:243:
error: 'IN_DELETE' was not declared in this scope
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:244:
error: 'IN_CLOSE_WRITE' was not declared in this scope
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:244:
error: 'IN_MOVE' was not declared in this scope
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:245:
error: 'IN_ONLYDIR' was not declared in this scope
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:245:
error: 'inotify_add_watch' was not declared in this scope
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc: In
member function 'bool<unnamed>::InotifyReader::RemoveWatch(int,
<unnamed>::FilePathWatcherImpl*)':
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:266:
error: 'inotify_rm_watch' was not declared in this scope
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc: At global scope:
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:272:
error: ISO C++ forbids declaration of 'inotify_event' with no type
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:272:
error: expected ',' or '...' before '*' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc: In
member function 'void<unnamed>::InotifyReader::OnInotifyEvent(int)':
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:273:
error: expected primary-expression before '->' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:273:
error: 'IN_IGNORED' was not declared in this scope
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:276:
error: expected ',' or '...' before '->' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:279:
error: expected primary-expression before '->' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:280:
error: expected primary-expression before '->' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:285:
error: expected primary-expression before '->' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:287:
error: expected primary-expression before '->' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:287:
error: 'IN_CREATE' was not declared in this scope
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:287:
error: 'IN_MOVED_TO' was not declared in this scope
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:288:
error: expected primary-expression before '->' token
chrome/browser/file_path_watcher/file_path_watcher_inotify.cc:288:
error: 'IN_ISDIR' was not declared in this scope
gmake: *** [out/Release/obj.target/browser/chrome/browser/file_path_watcher/file_path_watcher_inotify.o]
Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 1
Stop in /usr/ports/www/chromium.
*** Error code 1
Stop in /usr/ports/www/chromium.
Can someone provide patch?
wbr
More information about the freebsd-chromium
mailing list