[Box Backup] Compile Error on OpenBSD 4.4 AMD64

Chris Wilson boxbackup@boxbackup.org
Sun, 26 Oct 2008 19:57:10 +0000 (GMT)


Hi Andreas,

On Sun, 26 Oct 2008, Andreas Schrafl wrote:

> I'm trying to get BoxBackup running on a OpenBSD 4.4 AMD64 machine. 
> Brand new install. I tried 0.11rc2 and trunk at revision 2364 and I ran 
> into the same problem.
> 
> [CXX]     intercept
> intercept.cpp: In function `int open(const char*, int, unsigned int)':
> intercept.cpp:242: error: `__syscall' undeclared (first use this function)
> intercept.cpp:242: error: (Each undeclared identifier is reported only once
> for each function it appears in.)

As I don't have an AMD64 platform I may not be able to reproduce this. 
However I don't understand how the configure script detected that you have 
the __syscall function when in fact it appears that you don't, or that it 
doesn't work.

Please could you send me your config.log and lib/common/BoxConfig.h files?

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\ _/_/_/_//_/___/ | Stop nuclear war http://www.nuclearrisk.org |