scsh-users
[Top] [All Lists]

bug on Solaris 2.5.1

To: scsh-bugs@martigny.ai.mit.edu
Subject: bug on Solaris 2.5.1
From: Robert E. Brown <brown@grettir.bibliotech.com>
Date: Fri, 1 Nov 96 16:06:16 -0500
I am compiling Scsh 0.4.3 on a Sun running Solaris 2.5.1.  I am using GCC
version 2.7.2.1 as my C compiler.  I get the following:

hymen [78]  make
gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/machine/stdio_dep.o scsh/machine/stdio_dep.c
scsh/machine/stdio_dep.c: In function `setfileno':
scsh/machine/stdio_dep.c:64: invalid lvalue in assignment
make: *** [scsh/machine/stdio_dep.o] Error 1


because fileno is defined as

        extern int      fileno(FILE *);

in the file stdio.h, which is stored in directory
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.1/include.

                                bob

<Prev in Thread] Current Thread [Next in Thread>
  • bug on Solaris 2.5.1, Robert E . Brown <=