Subject: |
trying to compile snmp for Wiener PL512 crate application |
From: |
James F Ross <[email protected]> |
To: |
EPICS Tech Talk <[email protected]> |
Date: |
Wed, 20 Feb 2013 13:46:32 -0500 |
Hello everyone,
I've got an IOC that handles snmp communication with a number of
Wiener PL512 crates that I want to modify for a PL508. However, I'm
trying to get it to compile on a new machine first (where the PL508
application will run) and I keep running into the following error. I
could use some help if anyone has encountered this before.
Thank you!
James Ross
make[3]: Entering directory
`/home/sysuser/epics.3.14.12.1/hft_sc/LVWienerPL5xx_2.0.6/LVWienerPL5xxApp/src/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 -O3 -Wall -I. `net-snmp-config --cflags`
-DNETSNMP_NO_INLINE -m32 -g -MMD -I. -I../O.Common -I. -I..
-I../../../include/os/Linux -I../../../include
-I/home/sysuser/epics/base/include/os/Linux
-I/home/sysuser/epics/base/include
-I/home/sysuser/epics/synApps_5_5/support/seq-2-0-12/include
-I/home/sysuser/epics/synApps_5_5/support/asyn-4-13/include
../test-v6.c
In file included from ../test-v6.c:22:
../lib/WIENER_SNMP.h:236: error: expected declaration specifiers or
‘...’ before numeric constant
../lib/WIENER_SNMP.h:236: error: conflicting types for ‘__syslog_chk’
/usr/include/bits/syslog.h:26: error: previous declaration of
‘__syslog_chk’ was here
../test-v6.c: In function ‘PLWrite’:
../test-v6.c:234: warning: ISO C90 forbids mixed declarations and code
../test-v6.c: In function ‘PLConnect’:
../test-v6.c:447: warning: ISO C90 forbids mixed declarations and code
make[3]: *** [test-v6.o] Error 1
make[3]: Leaving directory
`/home/sysuser/epics.3.14.12.1/hft_sc/LVWienerPL5xx_2.0.6/LVWienerPL5xxApp/src/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory
`/home/sysuser/epics.3.14.12.1/hft_sc/LVWienerPL5xx_2.0.6/LVWienerPL5xxApp/src'
make[1]: *** [src.install] Error 2
make[1]: Leaving directory
`/home/sysuser/epics.3.14.12.1/hft_sc/LVWienerPL5xx_2.0.6/LVWienerPL5xxApp'
make: *** [LVWienerPL5xxApp.install] Error 2
- Replies:
- Re: trying to compile snmp for Wiener PL512 crate application James F Ross
- Navigate by Date:
- Prev:
Re: gateway: strange configuration Ralph Lange
- Next:
Best practices for introducing new dot releases of modules. Shankar, Murali
- 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:
Re: gateway: strange configuration Ralph Lange
- Next:
Re: trying to compile snmp for Wiener PL512 crate application James F Ross
- 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
|