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

Subject: Re: Problem in compiling WebCA
From: Tom Pelaia <[email protected]>
To: Umashankar Panda <[email protected]>
Cc: [email protected]
Date: Thu, 21 Aug 2008 09:58:45 -0400
Hi,

What version of gcc are you using? It seems that it can't locate the standard headers.

thanks,
tom


On Aug 21, 2008, at 4:37 AM, Umashankar Panda wrote:


Dear All,

I am facing this problem while compling WebCA 1.1.0. What can be the
probable cause?
With regards

U.Panda
VECC, India

umashankar@umashankar:~/epics/extensions/src/webca-1.1.0> make
make -C configure install
make[1]: Entering directory
`/home/umashankar/epics/extensions/src/webca-1.1.0/configure'
perl /home/umashankar/epics/base-3.14.9/configure/tools/ convertRelease.pl
-h linux-x86 checkRelease
make -C O.linux-x86 -f ../Makefile TOP=../.. T_A=linux-x86 install
make[2]: Entering directory
`/home/umashankar/epics/extensions/src/webca-1.1.0/configure/O.linux- x86'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory
`/home/umashankar/epics/extensions/src/webca-1.1.0/configure/O.linux- x86'
make[1]: Leaving directory
`/home/umashankar/epics/extensions/src/webca-1.1.0/configure'
make -C npca install
make[1]: Entering directory
`/home/umashankar/epics/extensions/src/webca-1.1.0/npca'
make -C src install
make[2]: Entering directory
`/home/umashankar/epics/extensions/src/webca-1.1.0/npca/src'
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[3]: Entering directory
`/home/umashankar/epics/extensions/src/webca-1.1.0/npca/src/O.linux- x86'
/usr/bin/g++ -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500 -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux
-D_REENTRANT -DEMBED_CA_REPEATER -I../../../gecko-sdk/include -ansi
-O3 -Wall -g -fPIC -I. -I.. -I../../../include/os/Linux
-I../../../include
-I/home/umashankar/epics/base-3.14.9/include/os/Linux
-I/home/umashankar/epics/base-3.14.9/include ../plugin.cpp
../plugin.cpp: In function 'char* stringValue(const NPString&)':
../plugin.cpp:48: error: 'strncpy' was not declared in this scope
../plugin.cpp: In member function 'virtual bool
ScriptablePluginObject::GetProperty(void*, NPVariant*)':
../plugin.cpp:354: error: 'strdup' was not declared in this scope
../plugin.cpp:354: error: 'strlen' was not declared in this scope
../plugin.cpp:359: error: 'strdup' was not declared in this scope
../plugin.cpp:359: error: 'strlen' was not declared in this scope
../plugin.cpp: In function 'void push_connection_event(CPlugin*,
eventUserArg*, connection_handler_args&)':
../plugin.cpp:393: error: 'strlen' was not declared in this scope
../plugin.cpp: In function 'void event_handler(evargs)':
../plugin.cpp:474: error: 'memcpy' was not declared in this scope
../plugin.cpp: In function 'int parseArrayObject(NPP_t*, NPObject*,
short int&, int&, void*&)':
../plugin.cpp:646: error: 'strncpy' was not declared in this scope
../plugin.cpp: In member function 'virtual bool
ScriptablePluginObject::Invoke(void*, const NPVariant*, uint32_t,
NPVariant*)':
../plugin.cpp:787: error: 'strlen' was not declared in this scope
../plugin.cpp:834: error: 'strlen' was not declared in this scope
../plugin.cpp:957: error: 'strlen' was not declared in this scope
../plugin.cpp:986: error: 'strlen' was not declared in this scope
../plugin.cpp:1185: error: 'strlen' was not declared in this scope
../plugin.cpp:1279: error: 'memcpy' was not declared in this scope
../plugin.cpp:1290: error: 'memcpy' was not declared in this scope
../plugin.cpp:1316: error: 'strdup' was not declared in this scope
../plugin.cpp:1316: error: 'strlen' was not declared in this scope
../plugin.cpp:1323: error: 'strdup' was not declared in this scope
../plugin.cpp:1323: error: 'strlen' was not declared in this scope
../plugin.cpp:1353: error: 'strlen' was not declared in this scope
../plugin.cpp:1369: error: 'strlen' was not declared in this scope
../plugin.cpp: In member function 'virtual bool
ScriptablePluginObject::InvokeDefault(const NPVariant*, uint32_t,
NPVariant*)':
../plugin.cpp:1427: error: 'strdup' was not declared in this scope
../plugin.cpp:1427: error: 'strlen' was not declared in this scope
../plugin.cpp: In member function 'virtual bool
ArrayObject::GetProperty(void*, NPVariant*)':
../plugin.cpp:1898: error: 'strdup' was not declared in this scope
../plugin.cpp:1898: error: 'strlen' was not declared in this scope
../plugin.cpp: In member function 'virtual bool
CTRLObject::GetProperty(void*, NPVariant*)':
../plugin.cpp:2037: error: 'strdup' was not declared in this scope
../plugin.cpp:2037: error: 'strlen' was not declared in this scope
../plugin.cpp:2039: error: 'strdup' was not declared in this scope
../plugin.cpp:2039: error: 'strlen' was not declared in this scope
../plugin.cpp:2093: error: 'memcpy' was not declared in this scope
make[3]: *** [plugin.o] Error 1
make[3]: Leaving directory
`/home/umashankar/epics/extensions/src/webca-1.1.0/npca/src/O.linux- x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory
`/home/umashankar/epics/extensions/src/webca-1.1.0/npca/src'
make[1]: *** [src.install] Error 2
make[1]: Leaving directory
`/home/umashankar/epics/extensions/src/webca-1.1.0/npca'
make: *** [npca.install] Error 2
umashankar@umashankar:~/epics/extensions/src/webca-1.1.0>


References:
Problem in compiling WebCA Umashankar Panda

Navigate by Date:
Prev: Re: Motor home status Kurt Goetze
Next: EPICS in Industrial setting David Dudley
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problem in compiling WebCA Umashankar Panda
Next: Re: Problem in compiling WebCA Stefan Heim
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·