Subject: Re: Problems during compilation of XView 3.2
To: None <port-arm32@NetBSD.ORG>
From: Peter Berg <berg@student.tu-freiberg.de>
List: port-arm32
Date: 06/16/1996 18:00:36
>>>>> > == "Mark Brinicombe" <amb@physig4.ph.kcl.ac.uk> wrote:

>That's the problem ! Now I'm able to compile about 75 % of the libary,
>but not all (at the moment). Building the sets is not the problem.

	>> What is stopping a complete build ?

The problem that stopped the complet build the last time I worked on
are the 'incomplete types' of some fields and the strange Internal
compiler error. But I hadn't enough time to find a fix for. Currently I 
try to build the zircon (IRC) and tkined (networkmanagement) packages.

But now something completly different: Do you know how many users have
RiscBSD installed ?

Ciao, Peter

 _____  _          ____   _____ _____  
|  __ \(_)        |  _ \ / ____|  __ \   The UNIX for RiscPC 6x0/7x0
| |__) |_ ___  ___| |_) | (___ | |  | |
|  _  /| / __|/ __|  _ < \___ \| |  | |  If you need windows than take 
| | \ \| \__ \ (__| |_) |____) | |__| |            X-windows !
|_|  \_\_|___/\___|____/|_____/|_____/  
                                        E-Mail: berg@student.tu-freiberg.de                                         
                                     
Here is a part of the error listing:

rm -f ps_impl.o
gcc -c -O -fomit-frame-pointer -fno-builtin  -I../../../build/include  -I/usr/X11R6/include  -DFULL_R5 -I/include -DX11R6    -DOS_HAS_LOCALE -DOS_HAS_MMAP   -DEXTRASMENU="\"/usr/X11R6/xview/lib/.text_extras_menu\""  ps_impl.c
ps_impl.c:1235: warning: `copy_pieces' was declared implicitly `extern' and later `static'
ps_impl.c:1247: warning: `get_current_offset' was declared implicitly `extern' and later `static'
gcc: Internal compiler error: program cc1 got fatal signal 6
*** Error code 1 (continuing)

rm -f ev_display.o
gcc -c -O -fomit-frame-pointer -fno-builtin  -I../../../build/include  -I/usr/X11R6/include  -DFULL_R5 -I/include -DX11R6    -DOS_HAS_LOCALE -DOS_HAS_MMAP   -DEXTRASMENU="\"/usr/X11R6/xview/lib/.text_extras_menu\""  ev_display.c
In file included from ev_display.c:36:
../../../build/include/xview_private/tty_impl.h:132: field `sgttyb' has incomplete type
../../../build/include/xview_private/tty_impl.h:133: field `tchars' has incomplete type
../../../build/include/xview_private/tty_impl.h:134: field `ltchars' has incomplete type
*** Error code 1 (continuing)

rm -f ev_update.o
gcc -c -O -fomit-frame-pointer -fno-builtin  -I../../../build/include  -I/usr/X11R6/include  -DFULL_R5 -I/include -DX11R6    -DOS_HAS_LOCALE -DOS_HAS_MMAP   -DEXTRASMENU="\"/usr/X11R6/xview/lib/.text_extras_menu\""  ev_update.c
gcc: Internal compiler error: program cc1 got fatal signal 6
*** Error code 1 (continuing)

rm -f txt_again.o
gcc -c -O -fomit-frame-pointer -fno-builtin  -I../../../build/include  -I/usr/X11R6/include  -DFULL_R5 -I/include -DX11R6    -DOS_HAS_LOCALE -DOS_HAS_MMAP   -DEXTRASMENU="\"/usr/X11R6/xview/lib/.text_extras_menu\""  txt_again.c
txt_again.c:136: warning: `textsw_string_min_free' was declared implicitly `extern' and later `static'
txt_again.c: In function `textsw_printf':
txt_again.c:205: structure has no member named `_flag'
txt_again.c:205: `_IOWRT' undeclared (first use this function)
txt_again.c:205: (Each undeclared identifier is reported only once
txt_again.c:205: for each function it appears in.)
txt_again.c:205: `_IOSTRG' undeclared (first use this function)
txt_again.c:209: structure has no member named `_base'
txt_again.c:211: structure has no member named `_ptr'
txt_again.c:211: structure has no member named `_base'
txt_again.c:212: structure has no member named `_cnt'
txt_again.c:214: warning: address of register variable `fmt' requested
txt_again.c:217: structure has no member named `_ptr'
txt_again.c: In function `textsw_scanf':
txt_again.c:647: structure has no member named `_flag'
txt_again.c:647: `_IOREAD' undeclared (first use this function)
txt_again.c:647: `_IOSTRG' undeclared (first use this function)
txt_again.c:651: structure has no member named `_base'
txt_again.c:653: structure has no member named `_bufsiz'
txt_again.c:653: structure has no member named `_cnt'
txt_again.c:655: structure has no member named `_ptr'
txt_again.c:655: structure has no member named `_base'
txt_again.c:656: warning: address of register variable `fmt' requested
txt_again.c:659: structure has no member named `_ptr'
*** Error code 1 (continuing)


making all in lib/libxview/ttysw...

rm -f cim_change.o
gcc -c -O -fomit-frame-pointer -fno-builtin  -I../../../build/include  -I/usr/X11R6/include  -DFULL_R5 -I/include -DX11R6    -DOS_HAS_LOCALE -DOS_HAS_MMAP  			   -DOPTIMIZED   cim_change.c
In file included from cim_change.c:23:
../../../build/include/xview_private/tty_impl.h:132: field `sgttyb' has incomplete type
../../../build/include/xview_private/tty_impl.h:133: field `tchars' has incomplete type
../../../build/include/xview_private/tty_impl.h:134: field `ltchars' has incomplete type
*** Error code 1 (continuing)
rm -f cim_size.o
gcc -c -O -fomit-frame-pointer -fno-builtin  -I../../../build/include  -I/usr/X11R6/include  -DFULL_R5 -I/include -DX11R6    -DOS_HAS_LOCALE -DOS_HAS_MMAP  			   -DOPTIMIZED   cim_size.c
In file included from cim_size.c:33:
../../../build/include/xview_private/tty_impl.h:132: field `sgttyb' has incomplete type
../../../build/include/xview_private/tty_impl.h:133: field `tchars' has incomplete type
../../../build/include/xview_private/tty_impl.h:134: field `ltchars' has incomplete type
*** Error code 1 (continuing)