EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: mcaR6-12-2 build error
From: "Mark Rivers" <[email protected]>
To: "Zhou, Jingchen" <[email protected]>, <[email protected]>
Date: Wed, 16 Nov 2011 20:54:10 -0600
Hi Jingchen,
 
Do you want support for the Canberra Ethernet modules under Linux?  If so, then you need to install libpcap-devel and libnet-devel.  
 
If not, then you should be able to just add LINUX_NET_INSTALLED to mca/configure/CONFIG_APP.  Or you can just comment out CanberraSrc from mcaApp/Makefile.
 
Mark
 

________________________________

From: [email protected] on behalf of Zhou, Jingchen
Sent: Wed 11/16/2011 7:45 PM
To: [email protected]
Subject: mcaR6-12-2 build error




I am trying to build mcaR6-12-2 on a RHEL5-32 machine, but getting the follow error:

make[3]: Entering directory `/afs/slac.stanford.edu/g/acctest/vol1/epics/modules/R3-14-12/mca/mcaR6-12-2/mcaApp/CanberraSrc/O.linux-x86'

/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -g   -Wall     -std=gnu99 -DUSE_LIBNET -g `libnet-config --defines`   -m32     -g -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include                              -I/afs/slac/g/acctest/epics/modules/R3-14-12/calc/calc-R2-7-lcls3/include  -I/afs/slac/g/acctest/epics/modules/R3-14-12/sscan/sscan-R2-6-3-lcls3/include  -I/afs/slac/g/acctest/epics/modules/R3-14-12/std/std-2-8-lcls1/include  -I/afs/slac/g/acctest/epics/modules/R3-14-12/busy/busy-R1-4-lcls1/include -I/afs/slac/g/acctest/epics/modules/R3-14-12/autosave/autosave-R4-7-lcls5/include/os/Linux -I/afs/slac/g/acctest/epics/modules/R3-14-12/autosave/autosave-R4-7-lcls5/include  -I/afs/slac/g/acctest/epics/modules/R3-14-12/asyn/asyn-R4-17-RC1-lcls1/include -I/afs/slac/g/acctest/epics/base/base-R3-14-12/include/os/Linux -I/afs/slac/g/acctest/epics/bas!
 e/base-R3-14-12/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)

Do I need libnet-config?

Thanks,
Jingchen





References:
mcaR6-12-2 build error Zhou, Jingchen

Navigate by Date:
Prev: mcaR6-12-2 build error Zhou, Jingchen
Next: recommendations for win64 build John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: mcaR6-12-2 build error Zhou, Jingchen
Next: recommendations for win64 build John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·