Ticket #21 (closed defect: fixed)
libtorrent-0.7.0 fails on OpenBSD
| Reported by: | Han | Owned by: | rakshasa |
|---|---|---|---|
| Priority: | normal | Component: | libtorrent |
| Version: | Severity: | normal | |
| Keywords: | builderror | Cc: |
Description
I just got this error while building libtorrent on OpenBSD-recentsnapshot.
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I../.. -Wall -DNDEBUG -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -c file.cc -MT file.lo -MD -MP -MF .deps/file.TPlo -fPIC -DPIC -o file.lo file.cc: In member function `void torrent::File::close()': file.cc:94: error: `::close' undeclared (first use here) file.cc: In member function `torrent::MemoryChunk? torrent::File::get_chunk(long
long int, unsigned int, int, int) const':
file.cc:153: error: `getpagesize' undeclared (first use this function) file.cc:153: error: (Each undeclared identifier is reported only once for each
function it appears in.)
