On Wed, 2015-02-04 at 22:24 +0000, Schaaf, Jonathan P (GE Healthcare)
wrote:
> In 6.6 a new package was created called flex-devel.  This is a build dependency for openMotif; if anyone else is trying to rebuild openmotif on EL 6.6 or later, it would be prudent to add this to the BuildRequires for openmotif and/or openmotif22.

Hi,

I am not sure what build error you are getting. However under SL 6x I
get the following build error.

(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
make[2]: *** [wmluiltok] Error 1

Investigation show that this is not a build dep issue, rather that a lex
file is missing 'main'.

https://motif.ics.com/forum/compilation-error-no-main-wmluiltokc

Looking at the VCS I see the '%option main' is now included.

http://sourceforge.net/p/motif/code/ci/master/tree/tools/wml/wmluiltok.l

I added this code addition to the SL 6 openmotif package and it
successfully rebuilt.

This bug needs to be rectified by TUV. I would suggest you report it at:

https://bugzilla.redhat.com/

Regards

Phil