I have used the following snippet (along with some others) in the e_os.h
header file:
# if defined(__ECOS)
# define __INITIAL_POINTER_SIZE 0
# define GETPID_IS_MEANINGLESS
# define NO_CHMOD
# define NO_SYSLOG
# define HAVE_LONG_LONG 1
# define HAVE_LONG_DOUBLE 1
# define OPENSSL_THREADS
# undef DEVRANDOM_EGD
# endif
The GETPID_IS_MEANINGLESS might work for you.
Jay
On 8/17/2016 2:55 AM, Devadas kk wrote:
Hi,
Best way to do is to modify e_os.h header file.
This file has to do with OS specific changes.
Something like
#ifdef ECOS
#define getpid ecos_task_id_fn
#endif
ecos_task_id_fn is a placed holder, find out actual function name to
get process ID.
GetThreadID is the function in NETWARE.
Regards,
Devadas
On Wed, Aug 17, 2016 at 10:28 AM, ssk1506 <ske...@grundfos.com
<mailto:ske...@grundfos.com>> wrote:
Hi, I am using openssl on a n eCOS platform. I need only the
secure authentication (no encryption needed). I integrated the
openssl source code with my application. When I trying to build, I
am getting some linking errors. :undefined reference to 'getpid'
:undefined reference to 'RANDpoll' I am trying to find how to
enable or disable the macros (switches to enable or disable a
feature/service). But it seems that openssl.conf is generated from
some utitlity program and from a file opensslconf.h.in
<http://opensslconf.h.in> Pl. anyone suggest how to configure.
Regards, SSK
------------------------------------------------------------------------
View this message in context: Using Openssl for eCOS platform
<http://openssl.6102.n7.nabble.com/Using-Openssl-for-eCOS-platform-tp67892.html>
Sent from the OpenSSL - User mailing list archive
<http://openssl.6102.n7.nabble.com/OpenSSL-User-f3.html> at
Nabble.com.
--
openssl-users mailing list
To unsubscribe:
https://mta.openssl.org/mailman/listinfo/openssl-users
<https://mta.openssl.org/mailman/listinfo/openssl-users>
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users