Xvnc build on Itanium 64 bit Linux
Jeff Boerio
boerio@ichips.intel.com
Tue Apr 15 23:35:01 2003
I've been looking into this, and I've got a compile running right now,
as it turns out. The .../Xvnc/config/cf/linux.cf likely needs some
handholding.
The key is looking at what it's trying to do:
> gcc -O -ansi -pedantic -I../../include -I../../exports/include/X11 -I../..
> -I../../exports/include -Dlinux LinuxMachineDefines
> -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE
> -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO
> -DCPP_PROGRAM="\"/lib/cpp\"" -c -o imake.o imake.c
Note the "... -Dlinux LinuxMachineDefines ..."
The problem is in that during the bootstrap process, it didn't know what
to do with this, so it got treated as a literal, not a variable, in the
.../Xvnc/config/cf/linux.cf file. I changed this file (line 243) so
that it read:
#define LinuxMachineDefines -D__i386__
As I'm typing this, my compile finished. But the Xvnc binary isn't
accepting any connections (and nothing is getting put into the
logfile). So I have some investigating to do.
Hopefully this will help you, and maybe your work will help fix my
screwups :)
- Jeff
On Mon, 2003-04-14 at 14:59, Lorenzen, James wrote:
> Has anyone successfully built Xvnc on RHAS for the 64 bit Itanium 2
> machines? I tried to build, but I received an error in "imake". The README
> indicates that "playing around" with some parameters may be needed. I am a
> rookie with the Linux builds and my main job is care, feeding and
> installation of Oracle.
>
> The i386 version of vncserver works up to the point of stating any X11
> program, then it doesn't work. I thought I could get the source code (from
> realvnc) and try that, but the "make World" errorred out. This is the last
> of the error message.
>
> make[2]: Leaving directory `/grna3/temp/vnc-3.3.7-unixsrc/Xvnc/config/imake'
> cd ./config/imake && make -f Makefile.proto all
> make[2]: Entering directory
> `/grna3/temp/vnc-3.3.7-unixsrc/Xvnc/config/imake'
> gcc -O -ansi -pedantic -I../../include -I../../exports/include/X11 -I../..
> -I../../exports/include -Dlinux LinuxMachineDefines
> -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE
> -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO
> -DCPP_PROGRAM="\"/lib/cpp\"" -c -o imake.o imake.c
> gcc: cannot specify -o with -c or -S and multiple compilations
> make[2]: *** [imake.o] Error 1
> make[2]: Leaving directory `/grna3/temp/vnc-3.3.7-unixsrc/Xvnc/config/imake'
> make[1]: *** [imake.bootstrap] Error 2
> make[1]: Leaving directory `/grna3/temp/vnc-3.3.7-unixsrc/Xvnc'
> make: *** [World] Error 2
>
> I do not know how to turn off the parms that triggered this error. Any help
> would be greatly appreciated.
>
>
> James Lorenzen
> XIOtech Corporation
> (952) 983-2276
> Fax (952) 983-2320
> james_lorenzen@xiotech.com
> www.xiotech.com
> _______________________________________________
> VNC-List mailing list
> VNC-List@realvnc.com
> http://www.realvnc.com/mailman/listinfo/vnc-list