Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi all
I want to compile mps 1.1 from mosix.org, but fails with
Quote:
gcc -O2 -march=i486 -mcpu=i686 -I.. -Wall -MM -MG alloc.c compare.c devname.c ksym.c output.c pwcache.c readproc.c signals.c status.c sysinfo.c version.c whattime.c > .depend
compare.c:104:13: pasting "->" and "user" does not give a valid preprocessing token
compare.c:104:13: pasting "->" and "user" does not give a valid preprocessing token
compare.c:105:12: pasting "->" and "cmd" does not give a valid preprocessing token
compare.c:105:12: pasting "->" and "cmd" does not give a valid preprocessing token
compare.c:108:12: pasting "->" and "uid" does not give a valid preprocessing token
...
compare.c:144:14: pasting "->" and "share" does not give a valid preprocessing token
compare.c:144:14: pasting "->" and "share" does not give a valid preprocessing token
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/mps-1.1/proc'
make: *** [proc/libproc.a] Error 2
Bad exit status from /var/tmp/rpm-tmp.74840 (%build)
I realize that this is a couple of years late to help you, but I had the same problem (on SuSE 8.2, with gcc 3.3). But (for posterity) Here's how (after much soul-searching) I fixed it.
In mps-1.1/proc/compile.c, edit the macros and remove the ## marks before each occurrence of NAME. It worked for me, and we have essentially the same system specs.
Originally posted by invisibledooley I realize that this is a couple of years late to help you, but I had the same problem (on SuSE 8.2, with gcc 3.3). But (for posterity) Here's how (after much soul-searching) I fixed it.
In mps-1.1/proc/compile.c, edit the macros and remove the ## marks before each occurrence of NAME. It worked for me, and we have essentially the same system specs.
Not compile.c, but compare.c (probably typo). It is the same solution i used. Sorry for missing post with problem solution.
I made a slight mistake in my correction: remove the ## directive from all parts of the compare functions except for in the function name (where you actually want it to paste).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.