Ben
Just remember to path everything prior to trying to build so it goes to
Sun Studio first (/opt/SUNWspro I think) vs /usr/ccs, or anything that
you might have in /usr/local/.
I experienced the same thing when I first tried to compile xvkbd. Since
IANAD, I was like "What the ...?" Amazing what having the right tools
does for you.
Benoit Audet wrote:
Thanks Alan & Bob for the quick answer!
Ok, then, I'll take the chance with Sun Studio and let you know what it gives.
Thanks a lot again and will keep you in touch.
Ben
On Thu, 19 Jul 2007 16:36:06 -0400, Bob Doolittle wrote
Why not download and install the free Studio 12 compilers?
It takes different compile options than gcc, so you'll have to
do some work to change the Makefile if you want to use gcc.
But it should work in a straightforward manner with Sun
compilers, since it was designed to work with them.
-Bob
Benoit Audet wrote:
Hi all,
I saw this little howto on the SunRay User Group Wiki, and it was perfectly
suited for one of my needs currently:
http://wiki.sun-rays.org/index.php/Idle_Session_Kill
So, like the howto suggested, I downloaded the xautolock (version 2.1) from
the FreshMeat website, but I am seriously unable to compile it!!
This is on a Sun Fire T2000, Solaris 10 11/06 (full install) First, looking in
the Readme file, I should edit the "Imakefile" file. I did, but found nothing
interesting to modify. I ran the "xmkmf" command, and nothing went wrong.
The trouble started when I invoked "make": I saw "cc not found". Ok, so I
edited the Makefile, and replaced all occurences of "cc" by "gcc". And then,
I have these errors:
gcc -O -Xc -xF -xarch=v8 -Iinclude -I/usr/openwin/include -Dsun -Dsparc
-DSVR4 -DSYSV -DHasScreenSaver -c src/diy.c -o src/diy.o
gcc: unrecognized option `-Xc'
gcc: language arch=v8 not recognized
gcc: src/diy.c: linker input file unused because linking not done
And so one. Is somebody there could be enough kind to give me a hint about
what I am missing to make it compile??
Thanks in advance!!
Ben
_______________________________________________
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users