[ovs-discuss] compiling fails on 2.6.37.3?

Fred Richards fredr at geexology.org
Sun Mar 13 20:26:45 UTC 2011


(Please disregard the gmail reply, this time with the proper email address.)

I've tried with both... originally the slackbuild was for 1.0.1, but I figured I 
would try 1.1.0pre2 as well.

Here's the output, I copied from the time it creates the makefiles, makes a 
bunch of symlinks then starts to compile the modules:


configure: creating ./config.status
config.status: creating Makefile
config.status: creating datapath/Makefile
config.status: creating datapath/linux-2.6/Kbuild
config.status: creating datapath/linux-2.6/Makefile
config.status: creating datapath/linux-2.6/Makefile.main
config.status: creating tests/atlocal
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing include/openflow/openflow.h.stamp commands
config.status: executing ovsdb/ovsdbmonitor/dummy commands
make all-recursive
make[1]: Entering directory `/tmp/SBo/openvswitch-1.0.1'
Making all in datapath
make[2]: Entering directory `/tmp/SBo/openvswitch-1.0.1/datapath'
Making all in linux-2.6
make[3]: Entering directory `/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6'
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../actions.c
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../datapath.c
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../dp_notify.c
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../dp_sysfs_dp.c
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../dp_sysfs_if.c
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../flow.c
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../table.c
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../vport.c
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../vport-generic.c
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../vport-gre.c
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../vport-internal_dev.c
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../vport-netdev.c
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../vport-patch.c
ln -s 
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../linux-2.6/compat-2.6/addrconf_core-openvswitch.c 

ln -s 
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../linux-2.6/compat-2.6/dev-openvswitch.c 

ln -s 
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../linux-2.6/compat-2.6/genetlink-openvswitch.c 

ln -s 
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../linux-2.6/compat-2.6/ip_output-openvswitch.c 

ln -s 
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../linux-2.6/compat-2.6/kmemdup.c
ln -s 
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../linux-2.6/compat-2.6/random32.c
ln -s 
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../linux-2.6/compat-2.6/skbuff-openvswitch.c 

ln -s 
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../linux-2.6/compat-2.6/genetlink-brcompat.c 

ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../brcompat.c
ln -s /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../brc_procfs.c
make -C /usr/src/linux-2.6.37.3 M=/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6 
modules
make[4]: Entering directory `/usr/src/linux-2.6.37.3'
CC [M] /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/genetlink-brcompat.o
CC [M] /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/brcompat.o
CC [M] /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/brc_procfs.o
CC [M] /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/actions.o
CC [M] /tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.o
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c: In function 'create_dp':
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:250:2: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:250:2: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:250:2: warning: 
assignment from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c: In function 
'dp_process_received_packet':
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:537:25: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:537:25: warning: type 
defaults to 'int' in declaration of '_________p1'
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:537:25: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:537:2: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:537:25: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:537:2: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:537:2: warning: passing 
argument 1 of 'tbl_lookup' from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../table.h:32:18: note: expected 
'struct tbl *' but argument is of type 'int *'
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c: In function 'flush_flows':
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:847:26: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:847:26: warning: type 
defaults to 'int' in declaration of '_________p1'
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:847:26: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:847:9: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:847:26: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:847:9: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:847:26: warning: 
initialization from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:854:2: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:854:2: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:854:2: warning: 
assignment from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c: In function 
'expand_table':
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:957:26: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:957:26: warning: type 
defaults to 'int' in declaration of '_________p1'
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:957:26: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:957:9: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:957:26: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:957:9: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:957:26: warning: 
initialization from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:964:2: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:964:2: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:964:2: warning: 
assignment from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c: In function 'do_put_flow':
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:980:10: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:980:10: warning: type 
defaults to 'int' in declaration of '_________p1'
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:980:10: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:980:2: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:980:10: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:980:2: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:980:8: warning: 
assignment from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:995:12: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:995:12: warning: type 
defaults to 'int' in declaration of '_________p1'
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:995:12: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:995:4: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:995:12: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:995:4: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:995:10: warning: 
assignment from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c: In function 'do_del_flow':
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1131:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1131:22: warning: type 
defaults to 'int' in declaration of '_________p1'
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1131:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1131:9: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1131:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1131:9: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1131:22: warning: 
initialization from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c: In function 
'do_query_flows':
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1171:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1171:22: warning: type 
defaults to 'int' in declaration of '_________p1'
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1171:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1171:9: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1171:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1171:9: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1171:22: warning: 
initialization from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c: In function 
'do_list_flows':
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1230:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1230:22: warning: type 
defaults to 'int' in declaration of '_________p1'
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1230:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1230:2: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1230:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1230:2: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1230:2: warning: 
passing argument 1 of 'tbl_foreach' from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../table.h:37:5: note: expected 
'struct tbl *' but argument is of type 'int *'
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c: In function 
'get_dp_stats':
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1337:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1337:22: warning: type 
defaults to 'int' in declaration of '_________p1'
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1337:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1337:9: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1337:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1337:9: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1337:22: warning: 
initialization from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c: In function 
'compat_query_flows':
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1869:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1869:22: warning: type 
defaults to 'int' in declaration of '_________p1'
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1869:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1869:9: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1869:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1869:9: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1869:22: warning: 
initialization from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c: In function 
'compat_list_flows':
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1928:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1928:22: warning: type 
defaults to 'int' in declaration of '_________p1'
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1928:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1928:2: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1928:22: error: 
dereferencing pointer to incomplete type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1928:2: warning: type 
defaults to 'int' in type name
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.c:1928:2: warning: 
passing argument 1 of 'tbl_foreach' from incompatible pointer type
/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/../table.h:37:5: note: expected 
'struct tbl *' but argument is of type 'int *'
make[5]: *** [/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6/datapath.o] Error 1
make[4]: *** [_module_/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.37.3'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/tmp/SBo/openvswitch-1.0.1/datapath/linux-2.6'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/openvswitch-1.0.1/datapath'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/openvswitch-1.0.1'
make: *** [all] Error 2
root at tor:/usr/local/src/pkgs/openvswitch#


Again, -current is slackware's "unstable" so I may not be surprised... but I'm 
thinking something in the kernel changed drastically.




More information about the discuss mailing list