After hours of frustration many of those RH/Mdk/RPM gcc users finally
here is a solution for the famous makedepend problem while compiling VNC
on Linux..

the error start when doing a make World on Xvnc as below 

-----makedepend error--------
gcc: cannot specify -o with -c or -S and multiple compilations
make[4]: *** [include.o] Error 1
-----makedepend error--------

Problem : This problem has been caused by imake which seems to be buggy
but frequently thought to be problem with gcc installation, but it's
not..

Solution : Replace the shortcut "/lib/cpp" with the below

--------------------/lib/cpp-------------------------
#! /bin/sh

# First lets look if there is a file argument; otherwise we'll need to
instruct
# gcc to read from stdin.

got_file=no
for f
do
        [ -f $f ] && { got_file=yes; break; }
done

exec gcc -E ${1+"$@"} `[ $got_file = no ] && echo -`
--------------------/lib/cpp-------------------------

Step used to compile successfully :

1. vnc_unixsrc# xmkmf
2. vnc_unixsrc# make World
3. Replace /lib/cpp with above and "chmod 755 /lib/cpp"
4. vnc_unixsrc/Xvnc# make World
5. Full build of Release 6.3 of the X Window System complete.

Finally thanks a lot to Const Kaplinsky for finding the problem cause
and doing lots of research on this problem to end this..
---- 
Virtually yours, 
Nagendra 

73's, VU2CLN, ICQ : 4779564 | [EMAIL PROTECTED] 
| Don't walk in front of me, I may not follow |
| Don't walk behind me, I may not lead. |
| Walk beside me and be my friend - Albert Camus.|
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to