cannot compile OM

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

Questions about motif? Contact us

5 posts / 0 new
Last post
cannot compile OM

Submitted by Anonymous on Thu, 12/27/2001 - 03:31. Developers
I have followed all the instructions in RELNOTES and README.ICS for compiling OpenMotif 2.1.30 on my linux system using gcc 3.0.3, and I have tried gcc 2.9, however both times I get the same thing..
gcc cannot specify -o with -c or -S and multiple compilations
almost immediately into the compile.

Anonymous

Check your compile flags for `-Woff` flags used for turning off warning messages. I`ve found that having these flags will cause the message you posted.

Anonymous

No, no -Woff flags whatsoever. I don`t see how anyone can get this compile, the directions in the readmes seem very incomplete and its not like I have an unusual setup (Linux, gcc, XF86 4.1.0)
Are there any archives of older, perhaps more organized source trees?

Anonymous

The problem is that the newest gcc compilers prohibit us from being overly explicit.

The proper solution is to modify our Imakefiles and the configuration files they read in.

Since I am often rushed, I just modify the Makefiles to get rid of the "-c" option.

-scorch

Anonymous

I will post a general solution. I presume you are using RH7.2. the nature of the error becomes obvious when you see the link line it complains about. the specific error it complains about is not the problem, its the macro before it which should never be in a link line...

read the thread for the OM compile workaround.