Hi Zen,
The CanberraSrc directory in mcaApp is failing because you don't have libnet and libpcap installed on that system.
Here are 3 choices. Any one of them should fix your problem.
1) Install libnet and libpcap. I would only recommend doing this if you want to use the Canberra mca modules.
2) If you are building using the top-level synApps files then in $(SUPPORT)/configure/CONFIG_SITE you will find these lines:
#Set the following variable to YES if libnet has been installled
#on the host Linux system for the MCA support module, otherwise,
#set to NO.
LINUX_NET_INSTALLED = YES
export LINUX_NET_INSTALLED
Change YES to NO and rebuild.
You could also put that in mca/configure/CONFIG_SITE
3) In mcaApp/Makefile comment out the line to build CanberraSrc
Cheers,
Mark
********************************************************************************************
From: Szalata, Zenon M. [[email protected]]
Sent: Tuesday, January 31, 2012 7:58 PM
To: Mark Rivers; [email protected]
Subject: mcaR7-0
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
- Replies:
- RE: mcaR7-0 Szalata, Zenon M.
- References:
- std_R3_1 Szalata, Zenon M.
- RE: std_R3_1 Mark Rivers
- mcaR7-0 Szalata, Zenon M.
- Navigate by Date:
- Prev:
mcaR7-0 Szalata, Zenon M.
- Next:
mvme6100 HW issues? Vesna Samardzic-Boban
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
mcaR7-0 Szalata, Zenon M.
- Next:
RE: mcaR7-0 Szalata, Zenon M.
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|