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  2011  <20122013  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  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: mcaR7-0
From: "Szalata, Zenon M." <[email protected]>
To: Mark Rivers <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 31 Jan 2012 17:58:13 -0800

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 Mark Rivers
References:
std_R3_1 Szalata, Zenon M.
RE: std_R3_1 Mark Rivers

Navigate by Date:
Prev: RE: std_R3_1 Szalata, Zenon M.
Next: RE: mcaR7-0 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Sequencer build rules Bruce Hill
Next: RE: mcaR7-0 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  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 ·