wanproxy-0.7.2 compile error on Ubuntu 10.04.2 LTS

Carlos Becker f0877e61f2f879f5a1244afbbc63a01c at 2013.temporarily.de
Mon Apr 11 04:39:12 PDT 2011

I get this error, any clues ?

make[3]: Entering directory `/home/service/wanproxy-0.7.2/io/example/block-write1'
g++ -I../../.. -Wno-deprecated -include common/common.h -pipe -O -g -W -Wall -Werror -Wno-system-headers -Wno-uninitialized -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Wreorder -c -o block-write1.o block-write1.cc
In file included from /usr/include/fcntl.h:205,
                 from block-write1.cc:1:
In function ‘int open(const char*, int, ...)’,
    inlined from ‘int main()’ at block-write1.cc:90:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[3]: *** [block-write1.o] Error 1
make[3]: Leaving directory `/home/service/wanproxy-0.7.2/io/example/block-write1'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/service/wanproxy-0.7.2/io/example'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/service/wanproxy-0.7.2/io'
make: *** [all] Error 2

More information about the wanproxy mailing list