Hi Mark,
I am failing miserably to build this module on RHEL6 64bit Linux.
I get a lot of errors, but some of the first are:
/usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_X86_64_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -g -Wall -DUSE_LIBNET -g `libnet-config --defines` -m64 -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/modules/calc/R2.9/include -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/modules/sscan/R2.7/include -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/modules/busy/R1.4/include -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/modules/autosave/R4.8/include/os/Linux -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/modules/autosave/R4.8/include -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/modules/asyn/R4.18/include -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/modules/mca/R7.0/include/os/Linux -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/modules/mca/R7.0/include -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/base/include/os/Linux -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/base/include ../nmc_comm_subs_1.c
/bin/sh: libnet-config: command not found
In file included from ../nmc_comm_subs_1.c:70:
../nmc_sys_defs.h:52:24: warning: libnet.h: No such file or directory
../nmc_sys_defs.h:53:22: warning: pcap.h: No such file or directory
In file included from ../nmc_comm_subs_1.c:70:
../nmc_sys_defs.h:158: error: expected specifier-qualifier-list before 'libnet_t'
../nmc_sys_defs.h:188: error: expected specifier-qualifier-list before 'pcap_t'
../nmc_sys_defs.h:262: warning: 'struct pcap_pkthdr' declared inside parameter list
../nmc_sys_defs.h:262: warning: its scope is only this definition or declaration, which is probably not what you want
../nmc_comm_subs_1.c: In function 'nmc_initialize':
../nmc_comm_subs_1.c:170: error: 'PCAP_ERRBUF_SIZE' undeclared (first use in this function)
../nmc_comm_subs_1.c:170: error: (Each undeclared identifier is reported only once
../nmc_comm_subs_1.c:170: error: for each function it appears in.)
../nmc_comm_subs_1.c:171: error: storage size of 'bpfprog' isn't known
../nmc_comm_subs_1.c:172: error: 'bpf_u_int32' undeclared (first use in this function)
../nmc_comm_subs_1.c:172: error: expected ';' before 'netp'
../nmc_comm_subs_1.c:323: error: 'struct nmc_comm_info_struct' has no member named 'pcap'
../nmc_comm_subs_1.c:323: warning: implicit declaration of function 'pcap_open_live'
../nmc_comm_subs_1.c:327: error: 'struct nmc_comm_info_struct' has no member named 'pcap'
../nmc_comm_subs_1.c:330: error: 'pcap_if_t' undeclared (first use in this function)
../nmc_comm_subs_1.c:330: error: 'alldevs' undeclared (first use in this function)
../nmc_comm_subs_1.c:331: error: 'd' undeclared (first use in this function)
Should I try an earlier version of mca?
Thanks,
Zen