From: bkappler@jasmin.gris.informatik.uni-tuebingen.de (Bernhard Kappler)
Subject: BUGREPORT (Finger-1.35)
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 7 Oct 1992 11:38:30 GMT

Hi,

I tryed to install Finger-1.35, but it faild already at the begining of the 
compilation. 

I am using the standard C compiler from SiliconGraphics

My Hardware is a Silocon Graphics (IRIS-4D):

1 20 MHZ IP6 Processor
FPU: MIPS R2010A/R3010 VLSI Floating Point Chip Revision: 2.0
CPU: MIPS R2000A/R3000 Processor Chip Revision: 2.0
On-board serial ports: 2
Data cache size: 32 Kbytes
Instruction cache size: 64 Kbytes
Main memory size: 16 Mbytes
Integral Ethernet: ec0, version 0
Disk drive: unit 1 on SCSI controller 0
Integral SCSI controller 0: Version WD33C93A
Graphics board: GR1.2 Bit-plane, Z-buffer, Turbo options installed

First error was that the way to create the version.c file used in
the Makefile faild. I created it manualy then.

After 'Fixing' this bug the folowing errors were reportet:


accom: Error: os.c, line 523: member of structure or union required
         if (entry->ut_host[0])
       -------------------^
accom: Error: os.c, line 523: operands of + have 1) incompatible types or 2) disallowed type(s)
         if (entry->ut_host[0])
       ----------------------^
accom: Error: os.c, line 523: illegal indirection
         if (entry->ut_host[0])
       ----------------------^
accom: Error: os.c, line 525: member of structure or union required
             char host[sizeof (foo_utmp.ut_host)  + 1], *t = entry->ut_host;
       ---------------------------------------^
accom: Error: os.c, line 525: unknown size
             char host[sizeof (foo_utmp.ut_host)  + 1], *t = entry->ut_host;
       -------------------------------------------^
accom: Error: os.c, line 525: member of structure or union required
             char host[sizeof (foo_utmp.ut_host)  + 1], *t = entry->ut_host;
       -------------------------------------------------------------------^
accom: Error: os.c, line 525: illegal combination of pointer and integer, op =
             char host[sizeof (foo_utmp.ut_host)  + 1], *t = entry->ut_host;
       --------------------------------------------------------------------^
accom: Error: os.c, line 525: types :   pointer to char  versus   undef
             char host[sizeof (foo_utmp.ut_host)  + 1], *t = entry->ut_host;
       --------------------------------------------------------------------^
accom: Error: os.c, line 528: member of structure or union required
             for (i = 0; i < sizeof (foo_utmp.ut_host) ; i++)
       ---------------------------------------------^
accom: Error: os.c, line 528: unknown size
             for (i = 0; i < sizeof (foo_utmp.ut_host) ; i++)
       ------------------------------------------------^
accom: Error: os.c, line 560: member of structure or union required
               __builtin_alloca  (11 + sizeof (foo_utmp.ut_host)  + strlen (result));
       -------------------------------------------------------^
accom: Error: os.c, line 560: unknown size
               __builtin_alloca  (11 + sizeof (foo_utmp.ut_host)  + strlen (result));
       -----------------------------------------------------------^
accom: Error: os.c, line 567: member of structure or union required
            temp = (char *) __builtin_alloca  (4 + sizeof (foo_utmp.ut_host) );
       -------------------------------------------------------------------^
accom: Error: os.c, line 567: unknown size
            temp = (char *) __builtin_alloca  (4 + sizeof (foo_utmp.ut_host) );
       ----------------------------------------------------------------------^
accom: Error: os.c, line 568: member of structure or union required
             (memset ((temp), 0, ( 4 + sizeof (foo_utmp.ut_host) ))) ;
       -------------------------------------------------------^
accom: Error: os.c, line 568: unknown size
             (memset ((temp), 0, ( 4 + sizeof (foo_utmp.ut_host) ))) ;
       ----------------------------------------------------------^
accom: Error: os.c, line 570: member of structure or union required
            strncpy (temp + 1, entry->ut_host, sizeof (foo_utmp.ut_host) );
       -------------------------------------^
accom: Error: os.c, line 570: member of structure or union required
            strncpy (temp + 1, entry->ut_host, sizeof (foo_utmp.ut_host) );
       ---------------------------------------------------------------^
accom: Error: os.c, line 570: unknown size
            strncpy (temp + 1, entry->ut_host, sizeof (foo_utmp.ut_host) );
       ------------------------------------------------------------------^
accom: Error: os.c, line 570: Argument 2 type doesn't match prototype description; prototype:  pointer to const  char is different from actual:  undef
            strncpy (temp + 1, entry->ut_host, sizeof (foo_utmp.ut_host) );
       ------------------------------------------------------------------^
*** Error code 1

Stop.
*** Error code 1

Stop.




I hope you can help me or I helped you to fix the automatic configurationfile.



Please Help me


Bernhard Kappler      bkappler@gris.informatik.uni-tuebingen.de






Newsgroups: gnu.utils.bug