Subject: Re: Problems during compilation of XView 3.2
To: RiscBSD <port-arm32@NetBSD.ORG>
From: Patrick Welche <prlw1@CUS.CAM.AC.UK>
List: port-arm32
Date: 06/17/1996 10:04:40
> 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)

Just off the top of my head, I remember having seen this and found
that _base became base, _ptr became ptr. I can't remember in which
header file - it could have been dlopen or something like that, but
either way it struck me as being a problem with the code.

Patrick