# xmkmf -a

**URL:** <https://forums.suse.com/t/xmkmf-a/21754>\
**Category:** SLE Software Developer Kit (SDK)\
**Created:** [February 2, 2011, 9:06pm UTC](https://forums.suse.com/t/xmkmf-a/21754 "2011-02-02T21:06:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [February 2, 2011, 9:06pm UTC](https://forums.suse.com/t/xmkmf-a/21754/1 "2011-02-02T21:06:03Z")

</div>

I have an old Imakefile with source to build an X11 program.  
By typing in at the console xmkmf -a the make program stops with an  
error at  
MSimpleProgramTarget(program).

It seems that that there may be a discrepancy in one of the rules or  
templates that are found  
in /usr/share/X11/config

Not sure if this is the correct forum to ask this, but what is  
happening here?

## – wayneholland

wayneholland’s Profile: [http://forums.novell.com/member.php?userid=103832](http://forums.novell.com/member.php?userid=103832)  
View this thread: [http://forums.novell.com/showthread.php?t=431508](http://forums.novell.com/showthread.php?t=431508)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [February 2, 2011, 9:20pm UTC](https://forums.suse.com/t/xmkmf-a/21754/2 "2011-02-02T21:20:46Z")

</div>

On Wed, 02 Feb 2011 19:06:03 GMT  
wayneholland [wayneholland@no-mx.forums.novell.com](mailto:wayneholland@no-mx.forums.novell.com) wrote:  
[color=blue]

> I have an old Imakefile with source to build an X11 program.  
> By typing in at the console xmkmf -a the make program stops with an  
> error at  
> MSimpleProgramTarget(program).
> 
> It seems that that there may be a discrepancy in one of the rules or  
> templates that are found  
> in /usr/share/X11/config
> 
> Not sure if this is the correct forum to ask this, but what is  
> happening here?
> 
> [/color]  
> Hi  
> That looks like a motif error, do you have the motif devel pacakges  
> installed? Also what version of SLE and arch are you running?

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 11 (x86\_64) Kernel 2.6.32.27-0.2-default  
up 15 days 4:45, 2 users, load average: 0.04, 0.05, 0.07  
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.36

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [February 2, 2011, 9:24pm UTC](https://forums.suse.com/t/xmkmf-a/21754/3 "2011-02-02T21:24:36Z")

</div>

On Wed, 02 Feb 2011 19:06:03 GMT  
wayneholland [wayneholland@no-mx.forums.novell.com](mailto:wayneholland@no-mx.forums.novell.com) wrote:  
[color=blue]

> I have an old Imakefile with source to build an X11 program.  
> By typing in at the console xmkmf -a the make program stops with an  
> error at  
> MSimpleProgramTarget(program).
> 
> It seems that that there may be a discrepancy in one of the rules or  
> templates that are found  
> in /usr/share/X11/config
> 
> Not sure if this is the correct forum to ask this, but what is  
> happening here?
> 
> [/color]  
> Else try without the -a option as long as your running in the directory  
> where the Imakefile is.

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 11 (x86\_64) Kernel 2.6.32.27-0.2-default  
up 15 days 4:49, 2 users, load average: 0.13, 0.05, 0.05  
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.36

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [February 2, 2011, 11:36pm UTC](https://forums.suse.com/t/xmkmf-a/21754/4 "2011-02-02T23:36:04Z")

</div>

I have OpenMotif installed, on a core-2 duo platform, running OpenSuse  
11.3.  
I’ve also noticed the same identical problem running on Solaris 10,  
which has a CDE environment.  
It seems that imake didn’t handle MSimpleProgramTarget properly or most  
likely one of the configuration files needs further tweaking.  
I did make one edit to Imake.tmpl to change a NO to a YES in regards to  
HasOpenMotif2. No change. If I add a tab in front of  
MSimpleProgramTarget(program), make still chokes on it, and I believe  
that this is not what make will deal with.

## – wayneholland

wayneholland’s Profile: [http://forums.novell.com/member.php?userid=103832](http://forums.novell.com/member.php?userid=103832)  
View this thread: [http://forums.novell.com/showthread.php?t=431508](http://forums.novell.com/showthread.php?t=431508)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [February 3, 2011, 12:03am UTC](https://forums.suse.com/t/xmkmf-a/21754/5 "2011-02-03T00:03:48Z")

</div>

On Wed, 02 Feb 2011 21:36:04 GMT  
wayneholland [wayneholland@no-mx.forums.novell.com](mailto:wayneholland@no-mx.forums.novell.com) wrote:  
[color=blue]

> I have OpenMotif installed, on a core-2 duo platform, running OpenSuse  
> 11.3.  
> I’ve also noticed the same identical problem running on Solaris 10,  
> which has a CDE environment.  
> It seems that imake didn’t handle MSimpleProgramTarget properly or  
> most likely one of the configuration files needs further tweaking.  
> I did make one edit to Imake.tmpl to change a NO to a YES in regards  
> to HasOpenMotif2. No change. If I add a tab in front of  
> MSimpleProgramTarget(program), make still chokes on it, and I believe  
> that this is not what make will deal with.
> 
> [/color]  
> Hi  
> I suggest asking in the openSUSE forum - Programming/Scripting subforum;  
> [http://forums.opensuse.org/english/other-forums/development/programming-scripting/](http://forums.opensuse.org/english/other-forums/development/programming-scripting/)

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 11 (x86\_64) Kernel 2.6.32.27-0.2-default  
up 15 days 7:27, 2 users, load average: 0.00, 0.04, 0.08  
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.36
