[comp.windows.x] XView2.0 compile problem

wgcho@solgai.kaist.ac.kr (The Untouchable) (11/02/90)

I tried to install xview 2.0 on my SONY News 1750, running X11R3.
But I keep getting these error messages when it compiles in the 
~xview/lib/libxvin/attr directory. Following is the error messages.

>rm -f attr.o
>gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -c -O   -I../../../. -I../../.././build/usr/include     -DXAW_BC attr.c
>In file included from ../../.././build/usr/include/xview/pkg.h:35, from ../../.././build/usr/include/xview/pkg_public.h:19, from attr.c:14:
>../../.././build/usr/include/xview/attr.h:417: parse error before `...'
>../../.././build/usr/include/xview/attr.h:422: parse error before `...'
>../../.././build/usr/include/xview/attr.h:423: parse error before `...'
>../../.././build/usr/include/xview/attr.h:428: parse error before `encoded_value'
>../../.././build/usr/include/xview/attr.h:429: parse error before `encoded_value'
>In file included from ../../.././build/usr/include/xview/pkg.h:36, from ../../.././build/usr/include/xview/pkg_public.h:19, from attr.c:14:
>../../.././build/usr/include/xview/notify.h:206: warning: `struct rusage' declared inside parameter list
>../../.././build/usr/include/xview/notify.h:206: warning: its scope is only this definition or declaration,
>../../.././build/usr/include/xview/notify.h:206: warning: which is probably not what you want.
>../../.././build/usr/include/xview/notify.h:206: warning: `union wait' declared inside parameter list
>../../.././build/usr/include/xview/notify.h:273: warning: `struct rusage' declared inside parameter list
>../../.././build/usr/include/xview/notify.h:273: warning: `union wait' declared inside parameter list
>In file included from ../../.././build/usr/include/xview/pkg_public.h:19, from attr.c:14:
>../../.././build/usr/include/xview/pkg.h:80: parse error before `...'
>../../.././build/usr/include/xview/pkg.h:81: parse error before `...'
>../../.././build/usr/include/xview/pkg.h:82: parse error before `...'
>../../.././build/usr/include/xview/pkg.h:83: parse error before `...'
>../../.././build/usr/include/xview/pkg.h:84: parse error before `...'
>*** Exit 1
>
>Stop.

For your information, I used the gcc (1.37 I guess) compiler.
Any kinds of comments would be helpful.
Thanks in advance,

-- 
    ********                
   *  *******               Wongyu Cho
 **  **                     Computer Science Dept.
*** *** *** ***             Korea Advanced Institute of Science and Technology 
*** *** *** ***             P.O. Box, 150, Cheongryang
*** *** *** ***             Seoul, Korea
        **  **              
  *******   *               Phone : 966-1931 (x4729)
    ********                e-mail: wgcho@solgai.kaist.ac.kr

tpf@jdyx.UUCP (Tom Friedel) (11/03/90)

wgcho@solgai.kaist.ac.kr (The Untouchable) writes:

>I tried to install xview 2.0 on my SONY News 1750, running X11R3.
>But I keep getting these error messages when it compiles in the 

Some thoughts.
For X11R3 you will need to define PRE_R4_ICCM, says the README
There is a mailing list, which is mentioned in the README, for posting bugs
   and questions about xview2.0.
the '...' error can be eliminated by changing #define EXTERN_FUNCTION
   in xv_c_types.h and maybe defining DOTDOTDOT as /* */
I am trying to port this to X11R4 on  System V3.2/80386 and made the most
progress #defining SVR4.  
--
While I'm posting this, I've compiled all of the libraries except the
libxvin/notify directory, which is very very machine dependent, with
reimplementations of read() fcntl() and a lot of BSD or SUN specific
signal code.  Is this stuff needed, and has anyone done a port to System VR3.2?

tom friedel tpf@jydx.UUCP tpf@atlanta.ga.us (404) 320-7624


-- 
Tom Friedel  JDyx Enterprises (404) 320-7624 tpf@jdyx.UUCP 
Unix BBS:  (404) 325-1719 <= 2400 ; (404) 321-5020 >= 2400
"Live simply, so that others may simply live."