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
|