kamailio-3.2.0_src.tar源代码编译时出现的错误

发布于 2021-11-09 18:19:57 字数 30625 浏览 883 评论 1

不知道哪位大侠能给给我看看kamailio编译时出现的错误,错误信息如:

Makefile:363: config.mak: No such file or directory

target architecture <i386>, host architecture <i386>

generating autover.h ...

making config...

CC (gcc) [kamailio] action.o

CC (gcc) [kamailio] atomic_ops.o

CC (gcc) [kamailio] basex.o

CC (gcc) [kamailio] bit_count.o

CC (gcc) [kamailio] bit_scan.o

CC (gcc) [kamailio] cfg_core.o

CC (gcc) [kamailio] cfg_parser.o

CC (gcc) [kamailio] core_cmd.o

CC (gcc) [kamailio] counters.o

CC (gcc) [kamailio] crc.o

CC (gcc) [kamailio] daemonize.o

CC (gcc) [kamailio] data_lump.o

CC (gcc) [kamailio] data_lump_rpl.o

CC (gcc) [kamailio] dns_cache.o

CC (gcc) [kamailio] dprint.o

CC (gcc) [kamailio] dset.o

CC (gcc) [kamailio] dst_blacklist.o

CC (gcc) [kamailio] endianness.o

CC (gcc) [kamailio] error.o

CC (gcc) [kamailio] events.o

CC (gcc) [kamailio] flags.o

CC (gcc) [kamailio] forward.o

CC (gcc) [kamailio] hash_func.o

CC (gcc) [kamailio] id.o

CC (gcc) [kamailio] io_wait.o

CC (gcc) [kamailio] ip_addr.o

CC (gcc) [kamailio] local_timer.o

CC (gcc) [kamailio] lock_ops.o

CC (gcc) [kamailio] lvalue.o

CC (gcc) [kamailio] main.o

CC (gcc) [kamailio] md5.o

CC (gcc) [kamailio] md5utils.o

CC (gcc) [kamailio] mod_fix.o

CC (gcc) [kamailio] modparam.o

CC (gcc) [kamailio] msg_translator.o

CC (gcc) [kamailio] nonsip_hooks.o

CC (gcc) [kamailio] pass_fd.o

CC (gcc) [kamailio] ppcfg.o

CC (gcc) [kamailio] proxy.o

CC (gcc) [kamailio] pt.o

CC (gcc) [kamailio] pvapi.o

CC (gcc) [kamailio] pv_core.o

CC (gcc) [kamailio] qvalue.o

CC (gcc) [kamailio] raw_listener.o

CC (gcc) [kamailio] raw_sock.o

CC (gcc) [kamailio] re.o

CC (gcc) [kamailio] receive.o

CC (gcc) [kamailio] resolve.o

CC (gcc) [kamailio] route.o

CC (gcc) [kamailio] route_struct.o

CC (gcc) [kamailio] rpc_lookup.o

CC (gcc) [kamailio] rvalue.o

CC (gcc) [kamailio] script_cb.o

CC (gcc) [kamailio] sctp_options.o

CC (gcc) [kamailio] sctp_server.o

CC (gcc) [kamailio] sctp_stats.o

CC (gcc) [kamailio] select_buf.o

CC (gcc) [kamailio] select.o

CC (gcc) [kamailio] select_core.o

CC (gcc) [kamailio] ser_stun.o

CC (gcc) [kamailio] shm_init.o

CC (gcc) [kamailio] signals.o

CC (gcc) [kamailio] sip_msg_clone.o

CC (gcc) [kamailio] socket_info.o

CC (gcc) [kamailio] sock_ut.o

CC (gcc) [kamailio] sr_compat.o

CC (gcc) [kamailio] sr_module.o

CC (gcc) [kamailio] stats.o

CC (gcc) [kamailio] str_list.o

CC (gcc) [kamailio] switch.o

CC (gcc) [kamailio] tcp_main.o

CC (gcc) [kamailio] tcp_options.o

CC (gcc) [kamailio] tcp_read.o

CC (gcc) [kamailio] tcp_stats.o

CC (gcc) [kamailio] timer.o

CC (gcc) [kamailio] timer_proc.o

CC (gcc) [kamailio] tls_hooks.o

CC (gcc) [kamailio] tsend.o

CC (gcc) [kamailio] udp_server.o

CC (gcc) [kamailio] usr_avp.o

CC (gcc) [kamailio] ut.o

CC (gcc) [kamailio] ver.o

CC (gcc) [kamailio] xavp.o

CC (gcc) [kamailio] mem/dl_malloc.o

CC (gcc) [kamailio] mem/f_malloc.o

CC (gcc) [kamailio] mem/ll_malloc.o

CC (gcc) [kamailio] mem/mem.o

CC (gcc) [kamailio] mem/memtest.o

CC (gcc) [kamailio] mem/q_malloc.o

CC (gcc) [kamailio] mem/sf_malloc.o

CC (gcc) [kamailio] mem/shm_mem.o

CC (gcc) [kamailio] parser/hf.o

CC (gcc) [kamailio] parser/msg_parser.o

CC (gcc) [kamailio] parser/parse_allow.o

CC (gcc) [kamailio] parser/parse_body.o

CC (gcc) [kamailio] parser/parse_content.o

CC (gcc) [kamailio] parser/parse_cseq.o

CC (gcc) [kamailio] parser/parse_date.o

CC (gcc) [kamailio] parser/parse_disposition.o

CC (gcc) [kamailio] parser/parse_diversion.o

CC (gcc) [kamailio] parser/parse_event.o

CC (gcc) [kamailio] parser/parse_expires.o

CC (gcc) [kamailio] parser/parse_fline.o

CC (gcc) [kamailio] parser/parse_from.o

CC (gcc) [kamailio] parser/parse_hname2.o

CC (gcc) [kamailio] parser/parse_hostport.o

CC (gcc) [kamailio] parser/parse_identity.o

CC (gcc) [kamailio] parser/parse_identityinfo.o

CC (gcc) [kamailio] parser/parse_methods.o

CC (gcc) [kamailio] parser/parse_nameaddr.o

CC (gcc) [kamailio] parser/parse_param.o

CC (gcc) [kamailio] parser/parse_refer_to.o

CC (gcc) [kamailio] parser/parse_retry_after.o

CC (gcc) [kamailio] parser/parser_f.o

CC (gcc) [kamailio] parser/parse_rpid.o

CC (gcc) [kamailio] parser/parse_rr.o

CC (gcc) [kamailio] parser/parse_sipifmatch.o

CC (gcc) [kamailio] parser/parse_subscription_state.o

CC (gcc) [kamailio] parser/parse_to.o

CC (gcc) [kamailio] parser/parse_uri.o

CC (gcc) [kamailio] parser/parse_via.o

CC (gcc) [kamailio] parser/digest/digest.o

CC (gcc) [kamailio] parser/digest/digest_parser.o

CC (gcc) [kamailio] parser/digest/param_parser.o

CC (gcc) [kamailio] parser/contact/contact.o

CC (gcc) [kamailio] parser/contact/parse_contact.o

CC (gcc) [kamailio] parser/sdp/sdp.o

CC (gcc) [kamailio] parser/sdp/sdp_helpr_funcs.o

CC (gcc) [kamailio] rand/fastrand.o

CC (gcc) [kamailio] rand/isaac/rand.o

CC (gcc) [kamailio] cfg/cfg.o

CC (gcc) [kamailio] cfg/cfg_ctx.o

CC (gcc) [kamailio] cfg/cfg_script.o

CC (gcc) [kamailio] cfg/cfg_select.o

CC (gcc) [kamailio] cfg/cfg_struct.o

bison -d -b cfg cfg.y

flex cfg.lex

CC (gcc) [kamailio] lex.yy.o

CC (gcc) [kamailio] cfg.tab.o

LD (gcc) [kamailio] kamailio

CC (gcc) [M auth.so] api.o

CC (gcc) [M auth.so] auth_mod.o

CC (gcc) [M auth.so] challenge.o

CC (gcc) [M auth.so] nc.o

CC (gcc) [M auth.so] nid.o

CC (gcc) [M auth.so] nonce.o

CC (gcc) [M auth.so] ot_nonce.o

CC (gcc) [M auth.so] rfc2617.o

LD (gcc) [M auth.so] auth.so

CC (gcc) [M ctl.so] binrpc.o

CC (gcc) [M ctl.so] binrpc_run.o

CC (gcc) [M ctl.so] ctl.o

CC (gcc) [M ctl.so] ctrl_socks.o

CC (gcc) [M ctl.so] fifo_server.o

CC (gcc) [M ctl.so] init_socks.o

CC (gcc) [M ctl.so] io_listener.o

LD (gcc) [M ctl.so] ctl.so

CC (gcc) [M enum.so] enum.o

CC (gcc) [M enum.so] enum_mod.o

CC (gcc) [L libkcore.so.1.0] cmpapi.o

CC (gcc) [L libkcore.so.1.0] errinfo.o

CC (gcc) [L libkcore.so.1.0] faked_msg.o

CC (gcc) [L libkcore.so.1.0] km_crc.o

CC (gcc) [L libkcore.so.1.0] kstats_wrapper.o

CC (gcc) [L libkcore.so.1.0] local_route.o

CC (gcc) [L libkcore.so.1.0] parse_pai.o

CC (gcc) [L libkcore.so.1.0] parse_ppi.o

CC (gcc) [L libkcore.so.1.0] parse_privacy.o

CC (gcc) [L libkcore.so.1.0] parser_helpers.o

CC (gcc) [L libkcore.so.1.0] parse_sst.o

CC (gcc) [L libkcore.so.1.0] parse_supported.o

CC (gcc) [L libkcore.so.1.0] regexp.o

CC (gcc) [L libkcore.so.1.0] statistics.o

CC (gcc) [L libkcore.so.1.0] strcommon.o

LD (gcc) [L libkcore.so.1.0] libkcore.so.1.0

LD (gcc) [M enum.so] enum.so

CC (gcc) [M db_flatstore.so] flat_cmd.o

CC (gcc) [M db_flatstore.so] flat_con.o

CC (gcc) [M db_flatstore.so] flat_rpc.o

CC (gcc) [M db_flatstore.so] flatstore_mod.o

CC (gcc) [M db_flatstore.so] flat_uri.o

CC (gcc) [M db_flatstore.so] km_flat_con.o

CC (gcc) [M db_flatstore.so] km_flat_id.o

CC (gcc) [M db_flatstore.so] km_flat_mi.o

CC (gcc) [M db_flatstore.so] km_flat_pool.o

CC (gcc) [M db_flatstore.so] km_flatstore.o

CC (gcc) [M db_flatstore.so] km_flatstore_mod.o

CC (gcc) [L libsrdb2.so.1.0] db.o

CC (gcc) [L libsrdb2.so.1.0] db_cmd.o

CC (gcc) [L libsrdb2.so.1.0] db_con.o

CC (gcc) [L libsrdb2.so.1.0] db_ctx.o

CC (gcc) [L libsrdb2.so.1.0] db_drv.o

CC (gcc) [L libsrdb2.so.1.0] db_fld.o

CC (gcc) [L libsrdb2.so.1.0] db_gen.o

CC (gcc) [L libsrdb2.so.1.0] db_pool.o

CC (gcc) [L libsrdb2.so.1.0] db_rec.o

CC (gcc) [L libsrdb2.so.1.0] db_res.o

CC (gcc) [L libsrdb2.so.1.0] db_uri.o

LD (gcc) [L libsrdb2.so.1.0] libsrdb2.so.1.0

CC (gcc) [L libsrdb1.so.1.0] db.o

CC (gcc) [L libsrdb1.so.1.0] db_id.o

CC (gcc) [L libsrdb1.so.1.0] db_pool.o

CC (gcc) [L libsrdb1.so.1.0] db_query.o

CC (gcc) [L libsrdb1.so.1.0] db_res.o

CC (gcc) [L libsrdb1.so.1.0] db_row.o

CC (gcc) [L libsrdb1.so.1.0] db_ut.o

CC (gcc) [L libsrdb1.so.1.0] db_val.o

LD (gcc) [L libsrdb1.so.1.0] libsrdb1.so.1.0

CC (gcc) [L libkmi.so.1.0] attr.o

CC (gcc) [L libkmi.so.1.0] fmt.o

CC (gcc) [L libkmi.so.1.0] mi.o

CC (gcc) [L libkmi.so.1.0] tree.o

LD (gcc) [L libkmi.so.1.0] libkmi.so.1.0

LD (gcc) [M db_flatstore.so] db_flatstore.so

CC (gcc) [M mediaproxy.so] mediaproxy.o

LD (gcc) [M mediaproxy.so] mediaproxy.so

CC (gcc) [M ratelimit.so] ratelimit.o

make[2]: `libkcore.so.1.0' is up to date.

LD (gcc) [M ratelimit.so] ratelimit.so

CC (gcc) [M rtpproxy.so] rtpproxy.o

CC (gcc) [M rtpproxy.so] rtpproxy_funcs.o

CC (gcc) [M rtpproxy.so] rtpproxy_stream.o

make[2]: `libkmi.so.1.0' is up to date.

make[2]: `libkcore.so.1.0' is up to date.

LD (gcc) [M rtpproxy.so] rtpproxy.so

CC (gcc) [M sanity.so] mod_sanity.o

CC (gcc) [M sanity.so] sanity.o

LD (gcc) [M sanity.so] sanity.so

CC (gcc) [M sl.so] sl.o

CC (gcc) [M sl.so] sl_funcs.o

CC (gcc) [M sl.so] sl_stats.o

make[2]: `libkcore.so.1.0' is up to date.

LD (gcc) [M sl.so] sl.so

CC (gcc) [M tm.so] callid.o

CC (gcc) [M tm.so] config.o

CC (gcc) [M tm.so] dlg.o

CC (gcc) [M tm.so] h_table.o

CC (gcc) [M tm.so] lock.o

CC (gcc) [M tm.so] lw_parser.o

CC (gcc) [M tm.so] rpc_uac.o

CC (gcc) [M tm.so] select.o

CC (gcc) [M tm.so] sip_msg.o

CC (gcc) [M tm.so] t_cancel.o

CC (gcc) [M tm.so] test.o

test.c:72:7: warning: no newline at end of file

CC (gcc) [M tm.so] t_fifo.o

CC (gcc) [M tm.so] t_funcs.o

CC (gcc) [M tm.so] t_fwd.o

CC (gcc) [M tm.so] t_hooks.o

CC (gcc) [M tm.so] timer.o

CC (gcc) [M tm.so] t_lookup.o

CC (gcc) [M tm.so] tm.o

CC (gcc) [M tm.so] tm_load.o

CC (gcc) [M tm.so] t_msgbuilder.o

CC (gcc) [M tm.so] t_reply.o

CC (gcc) [M tm.so] t_serial.o

CC (gcc) [M tm.so] t_stats.o

CC (gcc) [M tm.so] t_suspend.o

CC (gcc) [M tm.so] uac.o

LD (gcc) [M tm.so] tm.so

CC (gcc) [M cfg_rpc.so] cfg_rpc.o

LD (gcc) [M cfg_rpc.so] cfg_rpc.so

CC (gcc) [M sipcapture.so] sipcapture.o

In file included from sipcapture.c:45:

/usr/include/linux/filter.h:21: error: syntax error before "__u16"

/usr/include/linux/filter.h:23: error: syntax error before "jf"

/usr/include/linux/filter.h:24: error: syntax error before "k"

sipcapture.c:214: error: elements of array `BPF_code' have incomplete type

sipcapture.c:214: warning: excess elements in struct initializer

sipcapture.c:214: warning: (near initialization for `BPF_code[0]')

sipcapture.c:214: warning: excess elements in struct initializer

sipcapture.c:214: warning: (near initialization for `BPF_code[0]')

sipcapture.c:214: warning: excess elements in struct initializer

sipcapture.c:214: warning: (near initialization for `BPF_code[0]')

sipcapture.c:214: warning: excess elements in struct initializer

sipcapture.c:214: warning: (near initialization for `BPF_code[0]')

sipcapture.c:214: warning: excess elements in struct initializer

sipcapture.c:214: warning: (near initialization for `BPF_code[1]')

sipcapture.c:214: warning: excess elements in struct initializer

sipcapture.c:214: warning: (near initialization for `BPF_code[1]')

sipcapture.c:214: warning: excess elements in struct initializer

sipcapture.c:214: warning: (near initialization for `BPF_code[1]')

sipcapture.c:214: warning: excess elements in struct initializer

sipcapture.c:214: warning: (near initialization for `BPF_code[1]')

sipcapture.c:215: warning: excess elements in struct initializer

sipcapture.c:215: warning: (near initialization for `BPF_code[2]')

sipcapture.c:215: warning: excess elements in struct initializer

sipcapture.c:215: warning: (near initialization for `BPF_code[2]')

sipcapture.c:215: warning: excess elements in struct initializer

sipcapture.c:215: warning: (near initialization for `BPF_code[2]')

sipcapture.c:215: warning: excess elements in struct initializer

sipcapture.c:215: warning: (near initialization for `BPF_code[2]')

sipcapture.c:215: warning: excess elements in struct initializer

sipcapture.c:215: warning: (near initialization for `BPF_code[3]')

sipcapture.c:215: warning: excess elements in struct initializer

sipcapture.c:215: warning: (near initialization for `BPF_code[3]')

sipcapture.c:215: warning: excess elements in struct initializer

sipcapture.c:215: warning: (near initialization for `BPF_code[3]')

sipcapture.c:215: warning: excess elements in struct initializer

sipcapture.c:215: warning: (near initialization for `BPF_code[3]')

sipcapture.c:215: warning: excess elements in struct initializer

sipcapture.c:215: warning: (near initialization for `BPF_code[4]')

sipcapture.c:215: warning: excess elements in struct initializer

sipcapture.c:215: warning: (near initialization for `BPF_code[4]')

sipcapture.c:215: warning: excess elements in struct initializer

sipcapture.c:215: warning: (near initialization for `BPF_code[4]')

sipcapture.c:215: warning: excess elements in struct initializer

sipcapture.c:215: warning: (near initialization for `BPF_code[4]')

sipcapture.c:216: warning: excess elements in struct initializer

sipcapture.c:216: warning: (near initialization for `BPF_code[5]')

sipcapture.c:216: warning: excess elements in struct initializer

sipcapture.c:216: warning: (near initialization for `BPF_code[5]')

sipcapture.c:216: warning: excess elements in struct initializer

sipcapture.c:216: warning: (near initialization for `BPF_code[5]')

sipcapture.c:216: warning: excess elements in struct initializer

sipcapture.c:216: warning: (near initialization for `BPF_code[5]')

sipcapture.c:216: warning: excess elements in struct initializer

sipcapture.c:216: warning: (near initialization for `BPF_code[6]')

sipcapture.c:216: warning: excess elements in struct initializer

sipcapture.c:216: warning: (near initialization for `BPF_code[6]')

sipcapture.c:216: warning: excess elements in struct initializer

sipcapture.c:216: warning: (near initialization for `BPF_code[6]')

sipcapture.c:216: warning: excess elements in struct initializer

sipcapture.c:216: warning: (near initialization for `BPF_code[6]')

sipcapture.c:216: warning: excess elements in struct initializer

sipcapture.c:216: warning: (near initialization for `BPF_code[7]')

sipcapture.c:216: warning: excess elements in struct initializer

sipcapture.c:216: warning: (near initialization for `BPF_code[7]')

sipcapture.c:216: warning: excess elements in struct initializer

sipcapture.c:216: warning: (near initialization for `BPF_code[7]')

sipcapture.c:216: warning: excess elements in struct initializer

sipcapture.c:216: warning: (near initialization for `BPF_code[7]')

sipcapture.c:217: warning: excess elements in struct initializer

sipcapture.c:217: warning: (near initialization for `BPF_code[8]')

sipcapture.c:217: warning: excess elements in struct initializer

sipcapture.c:217: warning: (near initialization for `BPF_code[8]')

sipcapture.c:217: warning: excess elements in struct initializer

sipcapture.c:217: warning: (near initialization for `BPF_code[8]')

sipcapture.c:217: warning: excess elements in struct initializer

sipcapture.c:217: warning: (near initialization for `BPF_code[8]')

sipcapture.c:217: warning: excess elements in struct initializer

sipcapture.c:217: warning: (near initialization for `BPF_code[9]')

sipcapture.c:217: warning: excess elements in struct initializer

sipcapture.c:217: warning: (near initialization for `BPF_code[9]')

sipcapture.c:217: warning: excess elements in struct initializer

sipcapture.c:217: warning: (near initialization for `BPF_code[9]')

sipcapture.c:217: warning: excess elements in struct initializer

sipcapture.c:217: warning: (near initialization for `BPF_code[9]')

sipcapture.c:217: warning: excess elements in struct initializer

sipcapture.c:217: warning: (near initialization for `BPF_code[10]')

sipcapture.c:217: warning: excess elements in struct initializer

sipcapture.c:217: warning: (near initialization for `BPF_code[10]')

sipcapture.c:217: warning: excess elements in struct initializer

sipcapture.c:217: warning: (near initialization for `BPF_code[10]')

sipcapture.c:217: warning: excess elements in struct initializer

sipcapture.c:217: warning: (near initialization for `BPF_code[10]')

sipcapture.c:218: warning: excess elements in struct initializer

sipcapture.c:218: warning: (near initialization for `BPF_code[11]')

sipcapture.c:218: warning: excess elements in struct initializer

sipcapture.c:218: warning: (near initialization for `BPF_code[11]')

sipcapture.c:218: warning: excess elements in struct initializer

sipcapture.c:218: warning: (near initialization for `BPF_code[11]')

sipcapture.c:218: warning: excess elements in struct initializer

sipcapture.c:218: warning: (near initialization for `BPF_code[11]')

sipcapture.c:218: warning: excess elements in struct initializer

sipcapture.c:218: warning: (near initialization for `BPF_code[12]')

sipcapture.c:218: warning: excess elements in struct initializer

sipcapture.c:218: warning: (near initialization for `BPF_code[12]')

sipcapture.c:218: warning: excess elements in struct initializer

sipcapture.c:218: warning: (near initialization for `BPF_code[12]')

sipcapture.c:218: warning: excess elements in struct initializer

sipcapture.c:218: warning: (near initialization for `BPF_code[12]')

sipcapture.c:218: warning: excess elements in struct initializer

sipcapture.c:218: warning: (near initialization for `BPF_code[13]')

sipcapture.c:218: warning: excess elements in struct initializer

sipcapture.c:218: warning: (near initialization for `BPF_code[13]')

sipcapture.c:218: warning: excess elements in struct initializer

sipcapture.c:218: warning: (near initialization for `BPF_code[13]')

sipcapture.c:218: warning: excess elements in struct initializer

sipcapture.c:218: warning: (near initialization for `BPF_code[13]')

sipcapture.c:219: warning: excess elements in struct initializer

sipcapture.c:219: warning: (near initialization for `BPF_code[14]')

sipcapture.c:219: warning: excess elements in struct initializer

sipcapture.c:219: warning: (near initialization for `BPF_code[14]')

sipcapture.c:219: warning: excess elements in struct initializer

sipcapture.c:219: warning: (near initialization for `BPF_code[14]')

sipcapture.c:219: warning: excess elements in struct initializer

sipcapture.c:219: warning: (near initialization for `BPF_code[14]')

sipcapture.c:219: warning: excess elements in struct initializer

sipcapture.c:219: warning: (near initialization for `BPF_code[15]')

sipcapture.c:219: warning: excess elements in struct initializer

sipcapture.c:219: warning: (near initialization for `BPF_code[15]')

sipcapture.c:219: warning: excess elements in struct initializer

sipcapture.c:219: warning: (near initialization for `BPF_code[15]')

sipcapture.c:219: warning: excess elements in struct initializer

sipcapture.c:219: warning: (near initialization for `BPF_code[15]')

sipcapture.c:219: warning: excess elements in struct initializer

sipcapture.c:219: warning: (near initialization for `BPF_code[16]')

sipcapture.c:219: warning: excess elements in struct initializer

sipcapture.c:219: warning: (near initialization for `BPF_code[16]')

sipcapture.c:219: warning: excess elements in struct initializer

sipcapture.c:219: warning: (near initialization for `BPF_code[16]')

sipcapture.c:219: warning: excess elements in struct initializer

sipcapture.c:219: warning: (near initialization for `BPF_code[16]')

sipcapture.c:220: warning: excess elements in struct initializer

sipcapture.c:220: warning: (near initialization for `BPF_code[17]')

sipcapture.c:220: warning: excess elements in struct initializer

sipcapture.c:220: warning: (near initialization for `BPF_code[17]')

sipcapture.c:220: warning: excess elements in struct initializer

sipcapture.c:220: warning: (near initialization for `BPF_code[17]')

sipcapture.c:220: warning: excess elements in struct initializer

sipcapture.c:220: warning: (near initialization for `BPF_code[17]')

sipcapture.c:220: warning: excess elements in struct initializer

sipcapture.c:220: warning: (near initialization for `BPF_code[18]')

sipcapture.c:220: warning: excess elements in struct initializer

sipcapture.c:220: warning: (near initialization for `BPF_code[18]')

sipcapture.c:220: warning: excess elements in struct initializer

sipcapture.c:220: warning: (near initialization for `BPF_code[18]')

sipcapture.c:220: warning: excess elements in struct initializer

sipcapture.c:220: warning: (near initialization for `BPF_code[18]')

sipcapture.c:220: warning: excess elements in struct initializer

sipcapture.c:220: warning: (near initialization for `BPF_code[19]')

sipcapture.c:220: warning: excess elements in struct initializer

sipcapture.c:220: warning: (near initialization for `BPF_code[19]')

sipcapture.c:220: warning: excess elements in struct initializer

sipcapture.c:220: warning: (near initialization for `BPF_code[19]')

sipcapture.c:220: warning: excess elements in struct initializer

sipcapture.c:220: warning: (near initialization for `BPF_code[19]')

sipcapture.c:221: warning: excess elements in struct initializer

sipcapture.c:221: warning: (near initialization for `BPF_code[20]')

sipcapture.c:221: warning: excess elements in struct initializer

sipcapture.c:221: warning: (near initialization for `BPF_code[20]')

sipcapture.c:221: warning: excess elements in struct initializer

sipcapture.c:221: warning: (near initialization for `BPF_code[20]')

sipcapture.c:221: warning: excess elements in struct initializer

sipcapture.c:221: warning: (near initialization for `BPF_code[20]')

sipcapture.c:221: warning: excess elements in struct initializer

sipcapture.c:221: warning: (near initialization for `BPF_code[21]')

sipcapture.c:221: warning: excess elements in struct initializer

sipcapture.c:221: warning: (near initialization for `BPF_code[21]')

sipcapture.c:221: warning: excess elements in struct initializer

sipcapture.c:221: warning: (near initialization for `BPF_code[21]')

sipcapture.c:221: warning: excess elements in struct initializer

sipcapture.c:221: warning: (near initialization for `BPF_code[21]')

sipcapture.c:221: warning: excess elements in struct initializer

sipcapture.c:221: warning: (near initialization for `BPF_code[22]')

sipcapture.c:221: warning: excess elements in struct initializer

sipcapture.c:221: warning: (near initialization for `BPF_code[22]')

sipcapture.c:221: warning: excess elements in struct initializer

sipcapture.c:221: warning: (near initialization for `BPF_code[22]')

sipcapture.c:221: warning: excess elements in struct initializer

sipcapture.c:221: warning: (near initialization for `BPF_code[22]')

sipcapture.c: In function `raw_capture_socket':

sipcapture.c:1375: error: invalid application of `sizeof' to incomplete type `({anonymous})' 

sipcapture.c:1375: error: invalid use of undefined type `struct sock_filter'

sipcapture.c:1381: error: invalid use of undefined type `struct sock_filter'

sipcapture.c:1381: warning: excess elements in struct initializer

sipcapture.c:1381: warning: (near initialization for `(anonymous)')

sipcapture.c:1381: warning: excess elements in struct initializer

sipcapture.c:1381: warning: (near initialization for `(anonymous)')

sipcapture.c:1381: warning: excess elements in struct initializer

sipcapture.c:1381: warning: (near initialization for `(anonymous)')

sipcapture.c:1381: warning: excess elements in struct initializer

sipcapture.c:1381: warning: (near initialization for `(anonymous)')

sipcapture.c:1382: error: invalid use of undefined type `struct sock_filter'

sipcapture.c:1382: warning: excess elements in struct initializer

sipcapture.c:1382: warning: (near initialization for `(anonymous)')

sipcapture.c:1382: warning: excess elements in struct initializer

sipcapture.c:1382: warning: (near initialization for `(anonymous)')

sipcapture.c:1382: warning: excess elements in struct initializer

sipcapture.c:1382: warning: (near initialization for `(anonymous)')

sipcapture.c:1382: warning: excess elements in struct initializer

sipcapture.c:1382: warning: (near initialization for `(anonymous)')

sipcapture.c:1383: error: invalid use of undefined type `struct sock_filter'

sipcapture.c:1383: warning: excess elements in struct initializer

sipcapture.c:1383: warning: (near initialization for `(anonymous)')

sipcapture.c:1383: warning: excess elements in struct initializer

sipcapture.c:1383: warning: (near initialization for `(anonymous)')

sipcapture.c:1383: warning: excess elements in struct initializer

sipcapture.c:1383: warning: (near initialization for `(anonymous)')

sipcapture.c:1383: warning: excess elements in struct initializer

sipcapture.c:1383: warning: (near initialization for `(anonymous)')

sipcapture.c:1384: error: invalid use of undefined type `struct sock_filter'

sipcapture.c:1384: warning: excess elements in struct initializer

sipcapture.c:1384: warning: (near initialization for `(anonymous)')

sipcapture.c:1384: warning: excess elements in struct initializer

sipcapture.c:1384: warning: (near initialization for `(anonymous)')

sipcapture.c:1384: warning: excess elements in struct initializer

sipcapture.c:1384: warning: (near initialization for `(anonymous)')

sipcapture.c:1384: warning: excess elements in struct initializer

sipcapture.c:1384: warning: (near initialization for `(anonymous)')

sipcapture.c:1386: error: invalid use of undefined type `struct sock_filter'

sipcapture.c:1386: warning: excess elements in struct initializer

sipcapture.c:1386: warning: (near initialization for `(anonymous)')

sipcapture.c:1386: warning: excess elements in struct initializer

sipcapture.c:1386: warning: (near initialization for `(anonymous)')

sipcapture.c:1386: warning: excess elements in struct initializer

sipcapture.c:1386: warning: (near initialization for `(anonymous)')

sipcapture.c:1386: warning: excess elements in struct initializer

sipcapture.c:1386: warning: (near initialization for `(anonymous)')

sipcapture.c:1387: error: invalid use of undefined type `struct sock_filter'

sipcapture.c:1387: warning: excess elements in struct initializer

sipcapture.c:1387: warning: (near initialization for `(anonymous)')

sipcapture.c:1387: warning: excess elements in struct initializer

sipcapture.c:1387: warning: (near initialization for `(anonymous)')

sipcapture.c:1387: warning: excess elements in struct initializer

sipcapture.c:1387: warning: (near initialization for `(anonymous)')

sipcapture.c:1387: warning: excess elements in struct initializer

sipcapture.c:1387: warning: (near initialization for `(anonymous)')

sipcapture.c:1388: error: invalid use of undefined type `struct sock_filter'

sipcapture.c:1388: warning: excess elements in struct initializer

sipcapture.c:1388: warning: (near initialization for `(anonymous)')

sipcapture.c:1388: warning: excess elements in struct initializer

sipcapture.c:1388: warning: (near initialization for `(anonymous)')

sipcapture.c:1388: warning: excess elements in struct initializer

sipcapture.c:1388: warning: (near initialization for `(anonymous)')

sipcapture.c:1388: warning: excess elements in struct initializer

sipcapture.c:1388: warning: (near initialization for `(anonymous)')

make[1]: *** [sipcapture.o] Error 1

make: *** [modules] Error 1


如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

卸妝后依然美 2021-11-15 06:02:09

帅哥,貌似你引用的文件类型定义有问题,是不是少引用了头文件呢 ?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文