<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I have used the following snippet
(along with some others) in the e_os.h header file:<br>
<blockquote><tt># if defined(__ECOS)</tt><br>
<tt># define __INITIAL_POINTER_SIZE 0</tt><br>
<tt># define GETPID_IS_MEANINGLESS</tt><br>
<tt># define NO_CHMOD</tt><br>
<tt># define NO_SYSLOG</tt><br>
<tt># define HAVE_LONG_LONG 1</tt><br>
<tt># define HAVE_LONG_DOUBLE 1</tt><br>
<tt># define OPENSSL_THREADS</tt><br>
<tt># undef DEVRANDOM_EGD</tt><br>
<tt># endif</tt><br>
</blockquote>
The GETPID_IS_MEANINGLESS might work for you.<br>
<br>
Jay<br>
<br>
On 8/17/2016 2:55 AM, Devadas kk wrote:<br>
</div>
<blockquote
cite="mid:CAMdsMAMk_P1YcTGpCX9n6yuWUxkKHb0G0koFjxPspiEawkkWAA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi,<br>
</div>
Best way to do is to modify e_os.h header file.<br>
</div>
This file has to do with OS specific changes.<br>
<br>
</div>
<div> Something like<br>
</div>
<div> <br>
</div>
<div> #ifdef ECOS<br>
</div>
<div> #define getpid ecos_task_id_fn<br>
</div>
<div>#endif<br>
<br>
ecos_task_id_fn is a placed holder, find out actual
function name to get process ID.<br>
GetThreadID is the function in NETWARE.<br>
</div>
Regards,<br>
</div>
Devadas<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Aug 17, 2016 at 10:28 AM,
ssk1506 <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:skerur@grundfos.com" target="_blank">skerur@grundfos.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">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 <a moz-do-not-send="true"
href="http://opensslconf.h.in" target="_blank">opensslconf.h.in</a>
Pl. anyone suggest how to configure.
Regards,
SSK <br>
<hr align="left" width="300">
View this message in context: <a moz-do-not-send="true"
href="http://openssl.6102.n7.nabble.com/Using-Openssl-for-eCOS-platform-tp67892.html"
target="_blank">Using Openssl for eCOS platform</a><br>
Sent from the <a moz-do-not-send="true"
href="http://openssl.6102.n7.nabble.com/OpenSSL-User-f3.html"
target="_blank">OpenSSL - User mailing list archive</a> at
Nabble.com.<br>
<br>
--<br>
openssl-users mailing list<br>
To unsubscribe: <a moz-do-not-send="true"
href="https://mta.openssl.org/mailman/listinfo/openssl-users"
rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>