To whom it may concern:
I can't get scsh to build on my Red Hat 6.0 box. Here are the relevant
details:
Relevant packages
-----------------
glibc-2.1.1-6
kernel 2.2.5 (RH kernel rpm: 2.2.5-15)
egcs-1.1.2-12
scsh 0.5.1
Error output
------------
[root@cmpu scsh-0.5.1]# make
gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o scsh/network.o
scsh/network.c
scsh/network.c: In function `df_listen':
scsh/network.c:60: conflicting types for `listen'
/usr/include/sys/socket.h:169: previous declaration of `listen'
scsh/network.c:60: warning: extern declaration of `listen' doesn't match global
one
make: *** [scsh/network.o] Error 1
I don't know C, but I made a bit of a change to network.c so that the
make gets past that (correctly or not, I don't know), but then later
fails with this:
gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o
scsh/sighandlers1.o scsh/sighandlers1.c
scsh/sighandlers1.c: In function `set_procmask':
scsh/sighandlers1.c:44: incompatible types in assignment
scsh/sighandlers1.c:47: invalid operands to binary >>
scsh/sighandlers1.c:47: invalid operands to binary &
scsh/sighandlers1.c: In function `get_procmask':
scsh/sighandlers1.c:58: invalid operands to binary >>
scsh/sighandlers1.c:58: invalid operands to binary &
make: *** [scsh/sighandlers1.o] Error 1
Any help, or patches, or updates would be greatly appreciated.
Best,
Kendall Clark
--
Marge, there's just too much pressure, what with my job, the kids,
traffic snarls, polital strife at home and abroad. But I promise
you, the second all of those things go away, we'll have sex.
-- Homer Simpson
Grampa Vs. Sexual Inadequacy
|