Our compiler doesn't seem to understand the "-traditional" flag.  Any ideas?

Regards,

Steve

(cd Xvnc;IMAKECPP=/apps/local/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.0.1/cpp0
make World)

Building Release 6.3 of the X Window System.

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

Tue Nov 12 16:26:14 CST 2002

        cd ./config/imake && make  -f Makefile.ini BOOTSTRAPCFLAGS="" clean
        rm -f ccimake imake.o imake
        rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a  tags TAGS
make.log \#*
        rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
        make  Makefile.boot
        cd ./config/imake && make  -f Makefile.ini BOOTSTRAPCFLAGS=""
making imake with BOOTSTRAPCFLAGS= in config/imake
        cc -o ccimake  -O -I../../include -I../../imports/x11/include/X11
ccimake.c
        cc -c  -O -I../../include -I../../imports/x11/include/X11
`./ccimake` imake.c
        cc -o imake  -O -I../../include -I../../imports/x11/include/X11
imake.o
        rm -f ./config/makedepend/Makefile.proto
        ./config/imake/imake -I./config/cf  -s
./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile
-DTOPDIR=../.. -DCURDIR=./config/makedepend
cpp0: Invalid option -traditional
./config/imake/imake: Exit code 33.
  Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

____________
Steve Gordon
Motorola - Engineering Computing
Global Telecom Solutions Sector
(817) 245-6811
[EMAIL PROTECTED]




-----Original Message-----
From: Jose Luu [mailto:jluu@;mainsoft.com]
Sent: Tuesday, November 12, 2002 2:35 AM
To: [EMAIL PROTECTED]
Subject: Re: Compiling 3.3.5 on HP-UX 11.0


Compiling 3.3.5 on HP-UX 11.0A few clarifications:

> Did you compile on HPUX 11 or HPUX 10?
>
 > Xvnc;IMAKECPP=/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.00/2.7.
>
> The above line from your email suggests it was HPUX 10.

I did compile on 11.0, I just happened to use an old version of gnu cpp
which was compiled and installed long ago from the HPUX 10.x days.


> From: Gordon Steven-QSG001 [EMAIL PROTECTED]
> Can you tell me where I can find the "hp.patch" file?



the file was embedded in the email, here it is between the delimiters



---------- begin file hp.patch -----------------------------
diff -rC 3 hp.orig/vnc-3.3.5-unixsrc/Xvnc/config/imake/imake.c
hp2/vnc-3.3.5-unixsrc/Xvnc/config/imake/imake.c
*** hp.orig/vnc-3.3.5-unixsrc/Xvnc/config/imake/imake.c Sat May 11 10:57:05
2002
--- hp2/vnc-3.3.5-unixsrc/Xvnc/config/imake/imake.c Fri Nov  8 16:47:11 2002
***************
*** 593,598 ****
--- 593,599 ----
   if (!cpp)
    cpp = DEFAULT_CPP;
  #endif
+  AddCppArg("-traditional");
   cpp_argv[0] = cpp;
   AddCppArg(ImakefileC);
  }
diff -rC 3 hp.orig/vnc-3.3.5-unixsrc/Xvnc/programs/Xserver/hw/vnc/Imakefile
hp2/vnc-3.3.5-unixsrc/Xvnc/programs/Xserver/hw/vnc/Imakefile
*** hp.orig/vnc-3.3.5-unixsrc/Xvnc/programs/Xserver/hw/vnc/Imakefile Wed Aug
28 07:53:42 2002
--- hp2/vnc-3.3.5-unixsrc/Xvnc/programs/Xserver/hw/vnc/Imakefile Fri Nov  8
16:57:23 2002
***************
*** 12,18 ****
  #include <vnclibs.def>
  INCLUDES = -I. -I$(XBUILDINCDIR) -I$(FONTINCSRC) -I$(XINCLUDESRC) \
      -I../../cfb -I../../mfb -I../../mi -I../../include -I../../os \
!     $(VNCCPPFLAGS) -Wall

  DEFINES = ServerOSDefines

--- 12,18 ----
  #include <vnclibs.def>
  INCLUDES = -I. -I$(XBUILDINCDIR) -I$(FONTINCSRC) -I$(XINCLUDESRC) \
      -I../../cfb -I../../mfb -I../../mi -I../../include -I../../os \
!     $(VNCCPPFLAGS)

  DEFINES = ServerOSDefines

diff -rC 3 hp.orig/vnc-3.3.5-unixsrc/vncviewer/sockets.cxx
hp2/vnc-3.3.5-unixsrc/vncviewer/sockets.cxx
*** hp.orig/vnc-3.3.5-unixsrc/vncviewer/sockets.cxx Tue Oct 22 11:09:35 2002
--- hp2/vnc-3.3.5-unixsrc/vncviewer/sockets.cxx Fri Nov  8 16:31:40 2002
***************
*** 94,100 ****
      fos = new rdr::FdOutStream(rfbsock);

      struct sockaddr_in peeraddr, myaddr;
!     socklen_t addrlen = sizeof(struct sockaddr_in);

      getpeername(sock, (struct sockaddr *)&peeraddr, &addrlen);
      getsockname(sock, (struct sockaddr *)&myaddr, &addrlen);
--- 94,100 ----
      fos = new rdr::FdOutStream(rfbsock);

      struct sockaddr_in peeraddr, myaddr;
!     int addrlen = sizeof(struct sockaddr_in);

      getpeername(sock, (struct sockaddr *)&peeraddr, &addrlen);
      getsockname(sock, (struct sockaddr *)&myaddr, &addrlen);
***************
*** 262,268 ****
  {
    int sock;
    struct sockaddr_in addr;
!   socklen_t addrlen = sizeof(addr);
    int one = 1;

    sock = accept(listenSock, (struct sockaddr *) &addr, &addrlen);
--- 262,268 ----
  {
    int sock;
    struct sockaddr_in addr;
!   int addrlen = sizeof(addr);
    int one = 1;

    sock = accept(listenSock, (struct sockaddr *) &addr, &addrlen);
--------------------end file hp.patch ------------------------------
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to