# Problems with the examples

**URL:** <https://techcommunity.softwareag.com/t/problems-with-the-examples/59588>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [February 10, 2006, 4:57pm UTC](https://techcommunity.softwareag.com/t/problems-with-the-examples/59588 "2006-02-10T16:57:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [February 10, 2006, 4:57pm UTC](https://techcommunity.softwareag.com/t/problems-with-the-examples/59588/1 "2006-02-10T16:57:24Z")

</div>

Hello all,

I’m trying to get the examples that come with EntireX to work, but I fail. E.g. if I try to make the Hello RPC example with

examples/msrpc\> make

I get the error msg

obj/i686\_linux\_libc6/hello\_s.c:156: error: static declaration of ?hello\_StubDesc? follows non-static declaration  
obj/i686\_linux\_libc6/hello\_s.c:63: error: previous declaration of ?hello\_StubDesc? was here  
obj/i686\_linux\_libc6/hello\_s.c:204: error: static declaration of ?\_\_MIDL\_ProcFormatString? follows non-static declaration  
obj/i686\_linux\_libc6/hello\_s.c:41: error: previous declaration of ?\_\_MIDL\_ProcFormatString? was here  
obj/i686\_linux\_libc6/hello\_s.c:221: error: static declaration of ?\_\_MIDL\_TypeFormatString? follows non-static declaration  
obj/i686\_linux\_libc6/hello\_s.c:40: error: previous declaration of ?\_\_MIDL\_TypeFormatString? was here

I guess this is because gcc is too new, and does not support this any more. My system is:

rauch@tux3:~/DCOM/examples/msrpc\> uname -a  
Linux tux3 2.6.13-15.7-bigsmp #1 SMP Tue Nov 29 14:32:29 UTC 2005 i686 athlon i386 GNU/Linux  
rauch@tux3:~/DCOM/examples/msrpc\> gcc --version  
gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)  
Copyright (C) 2005 Free Software Foundation, Inc.  
This is free software; see the source for copying conditions. There is NO  
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Which flag should I set to make the example work?  
The only solution I know of is to remove the “static” keyword, but this is really stupid since it is in code generated by midl.

Thanks in advance for any ideas!

Nicole

---

<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:** [February 13, 2006, 6:52pm UTC](https://techcommunity.softwareag.com/t/problems-with-the-examples/59588/2 "2006-02-13T18:52:35Z")

</div>

Hello,

gcc 4 is not yet supported. Dependend on your Linux installation you need the follosing gcc:  
Suse 9, RedHat 3 or 4 : gcc 3.3  
Suse 8, RedHat 2.1 : gcc 3.2

Kind 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/problems-with-the-examples/59588/3 "2021-04-02T14:39:56Z")

</div>


