Sébastien CRAMATTE
2006-Aug-11 18:26 UTC
[Ocfs2-users] Problem compiling OCFS2 against RHEL4 + FreeVps patch ...
I need to compile OCFS2 1.2.3.1 against RHEL 4 + Freevps patch (www.freevps.com) But when I try, I obtain this message ... /usr/src/ocfs2-1.2.3/fs/ocfs2/cluster/tcp.c: In function `o2net_start_connect': /usr/src/ocfs2-1.2.3/fs/ocfs2/cluster/tcp.c:1372: warning: passing arg 1 of `sock_create' makes pointer from integer without a cast /usr/src/ocfs2-1.2.3/fs/ocfs2/cluster/tcp.c:1372: warning: passing arg 4 of `sock_create' makes integer from pointer without a cast /usr/src/ocfs2-1.2.3/fs/ocfs2/cluster/tcp.c:1372: error: too few arguments to function `sock_create' /usr/src/ocfs2-1.2.3/fs/ocfs2/cluster/tcp.c: In function `o2net_accept_one': /usr/src/ocfs2-1.2.3/fs/ocfs2/cluster/tcp.c:1578: warning: passing arg 1 of `sock_create_lite' makes pointer from integer without a cast /usr/src/ocfs2-1.2.3/fs/ocfs2/cluster/tcp.c:1578: warning: passing arg 4 of `sock_create_lite' makes integer from pointer without a cast /usr/src/ocfs2-1.2.3/fs/ocfs2/cluster/tcp.c:1578: error: too few arguments to function `sock_create_lite' /usr/src/ocfs2-1.2.3/fs/ocfs2/cluster/tcp.c: In function `o2net_open_listening_sock': /usr/src/ocfs2-1.2.3/fs/ocfs2/cluster/tcp.c:1717: warning: passing arg 1 of `sock_create' makes pointer from integer without a cast /usr/src/ocfs2-1.2.3/fs/ocfs2/cluster/tcp.c:1717: warning: passing arg 4 of `sock_create' makes integer from pointer without a cast /usr/src/ocfs2-1.2.3/fs/ocfs2/cluster/tcp.c:1717: error: too few arguments to function `sock_create' make[5]: *** [/usr/src/ocfs2-1.2.3/fs/ocfs2/cluster/tcp.o] Error 1 make[4]: *** [/usr/src/ocfs2-1.2.3/fs/ocfs2/cluster] Error 2 make[3]: *** [/usr/src/ocfs2-1.2.3/fs/ocfs2] Error 2 make[2]: *** [_module_/usr/src/ocfs2-1.2.3/fs] Error 2 make[2]: Leaving directory `/usr/src/freevps/kernel_26' make[1]: *** [build-modules] Error 2 make[1]: Leaving directory `/usr/src/ocfs2-1.2.3/fs' make: *** [fs] Error 2 Does it exist a patch for RedHat RHEL 4... May I need add a parameter like a "0" as 5 parameter ? I can't use precompiled module Regards