OpenMotif v2.2 Compile Error on Solaris 7

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

4 posts / 0 new
Last post
OpenMotif v2.2 Compile Error on Solaris 7

Submitted by Anonymous on Thu, 02/14/2002 - 22:25.

In file included from /usr/openwin/include/X11/Intrinsic.h65,
from ../Xm/Xm.h56,
from ../Xm/XmP.h57,
from ../Xm/XmosP.h167,
from FileSB.c52
/usr/include/string.h44 parse error before `(`
/usr/include/string.h44 `bcopy` declared as function returning a function
/usr/include/string.h44 conflicting types for `bcopy`
../Xm/Xmfuncs.h58 previous declaration of `bcopy`
/usr/include/string.h44 parse error before `char`

Any ideas, anyone?

Fri, 02/15/2002 - 18:17#1

Fri, 02/15/2002 - 18:17#1

ICS_support

OpenMotif v2.2 Compile Error on Solaris 7

The official answer is that Solaris isn`t an open-source system, so you shouldn`t be compiling for that system. This error sounds like the definition for bcopy() already exists, so XmosP.h shouldn`t be redefining it; you`d need to check the definitions in that file to figure out which flag to define or undefine.

Tue, 02/19/2002 - 19:36#2

Tue, 02/19/2002 - 19:36#2

Anonymous

OpenMotif v2.2 Compile Error on Solaris 7

you are breaking the law, so we cant help you...

however, speaking hypotheticly, if i were to see the above errors i would conclude that the error is before bcopy., and not bcopy itself. there are also several missing header files in Solaris X11 includes which you will need. you will not be able to do the build.

Tue, 02/19/2002 - 20:04#3

Tue, 02/19/2002 - 20:04#3

Anonymous

OpenMotif v2.2 Compile Error on Solaris 7

Actually, according to the FAQ at opensource.org,

"The Open Group Public License for Motif grants rights only to use the software on or with operating systems that are themselves Open
Source programs"

I just can`t *use* the software on Solaris 7. I`m
not using it, I`m just trying to compile it. So in my understanding of this, I`m not breaking the law...or have I oversimplified? )

Thanks for the hypothetical responses. )