# Error in Building Sample Application

**URL:** <https://techcommunity.softwareag.com/t/error-in-building-sample-application/58848>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX-DCOM\
**Created:** [October 27, 2003, 7:37pm UTC](https://techcommunity.softwareag.com/t/error-in-building-sample-application/58848 "2003-10-27T19:37:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesha](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Ramesha](https://techcommunity.softwareag.com/u/Ramesha)\
**Post date:** [October 27, 2003, 7:37pm UTC](https://techcommunity.softwareag.com/t/error-in-building-sample-application/58848/1 "2003-10-27T19:37:34Z")

</div>

Hi All,  
  
i had installed EntireX(Trial Version 6.2.1) on my Linux(running RedHat 7.3) Machine.  
  
when i tried to build “Hello RPC” Application provided by EntireX, i got the following error.  
  
===============================================  
  
[hello@root]#make  
  
(cd unix ; make -f makefile)  
make[1]: Entering directory `/opt/sag/exx/v621/examples/msrpc/hello/server/unix'<BR>g++ -o /opt/sag/exx/v621/examples/bin/hellos ../../idl/unix/obj/i686_linux_libc6/hello_s.o \<BR> -g -uCoolMain \<BR> obj/i686_linux_libc6/hellos.o obj/i686_linux_libc6/hellop.o \<BR> -L/opt/sag/exx/v621/lib -lmutantstubs -L/opt/sag/exx/v621/lib -loleaut32 -lole32 -lrpcrt4 -lntrtl -lmutant -lcoolmisc -lpthread -lc -ldl<BR><BR><BR>/opt/sag/exx/v621/lib/libmutant.so: undefined reference to 'getpwent_r@GLIBC_2.1.2'<BR><BR>collect2: ld returned 1 exit status<BR><BR>make[1]: *** [/opt/sag/exx/v621/examples/bin/hellos] Error 1<BR>make[1]: Leaving directory `/opt/sag/exx/v621/examples/msrpc/hello/server/unix’  
  
================================================  
  
i have also included “/opt/sag/exx/v621/lib” in /etc/ld.so.conf & ran “/sbin/ldconfig -v”, but i still get the same error.  
  
if any body know how to correct the error,please let me know.  
  
thanks in advance  
  
regards  
Ramesh

---

<div class="post-metadata">

**Author:** ![Stuart\_Fyffe-Collins](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@Stuart\_Fyffe-Collins](https://techcommunity.softwareag.com/u/Stuart_Fyffe-Collins)\
**Post date:** [October 28, 2003, 2:43pm UTC](https://techcommunity.softwareag.com/t/error-in-building-sample-application/58848/2 "2003-10-28T14:43:55Z")

</div>

Hello Ramesh,  
  
If you take a look at [http://www.softwareag.com/entirex/download/download\_entxDCOM.htm#Requirements%20to%20install](http://www.softwareag.com/entirex/download/download_entxDCOM.htm#Requirements%20to%20install) it says that the prerequisite glibc is v2.2.2 and I see that in your case you are linking againest v2.1.2. So I suspect this may be the cause of the link problem. Is is possible to install glibc v222?  
  
Hope this helps.  
  
Stuart Fyffe-Collins  
Software AG (UK) Ltd.

---

<div class="post-metadata">

**Author:** ![Volker\_Denkhaus](https://avatars.discourse-cdn.com/v4/letter/v/71c47a/32.png) [@Volker\_Denkhaus](https://techcommunity.softwareag.com/u/Volker_Denkhaus)\
**Post date:** [October 30, 2003, 4:18pm UTC](https://techcommunity.softwareag.com/t/error-in-building-sample-application/58848/3 "2003-10-30T16:18:42Z")

</div>

Hello,  
  
the released version of 6.2.1 will not run on RH 7.3. We had a customer who already noticed that, but in the end he didn’t wanted a patch cause he used 6.1.1.   
We can exchange getpwent\_r with getpwent (it is not critical in this case) and then it should run. Currently I don’t know how I can handle that with trial versions (for customers we could create a hotfix).   
I will try to find out if there is a way to provide some updated binaries.  
  
Regards,  
Volker Denkhaus

---

<div class="post-metadata">

**Author:** ![Volker\_Denkhaus](https://avatars.discourse-cdn.com/v4/letter/v/71c47a/32.png) [@Volker\_Denkhaus](https://techcommunity.softwareag.com/u/Volker_Denkhaus)\
**Post date:** [October 31, 2003, 3:35pm UTC](https://techcommunity.softwareag.com/t/error-in-building-sample-application/58848/4 "2003-10-31T15:35:48Z")

</div>

Hello,  
  
we will not have any updates for the 6.2.1 trial version.  
  
Version 7.1.1 will be available for download in November.  
  
Regards,  
Volker Denkhaus

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/error-in-building-sample-application/58848/5 "2021-04-02T14:39:30Z")

</div>


