I am attempting to install the AFS 3.4a general release client
software onto an SGI Indigo2 Impact running IRIX 5.3. I've
got /usr/vice/etc loaded and run the afs_rtsymtab.pl script
as is needed on the SGI platform. When I attempt to generate
the new kernel, it fails with the following output:
==============================================
autoconfig -fv
exprobed kdsp_a2 unit 0
if_gtr, unit 0 exprobe failed
if_gtr, unit 0 exprobe failed
if_xpi, unit 2 exprobe failed
if_xpi, unit 0 exprobe failed
if_xpi, unit 1 exprobe failed
if_eg2, unit 1 exprobe failed
if_eg2, unit 2 exprobe failed
wd95, unit 0 exprobe failed
TOOLROOT=/var/sysgen/root /var/sysgen/root/usr/bin/cc -c -I -xansi \
-DEXPRESS -DIP22 -DEXPRESS -cckr -D_K32U64 -D_PAGESZ=4096 -D_KERNEL \
-DSTATIC=static -DJUMP_WAR -DPROBE_WAR -DBADVA_WAR -D_VCE_AVOIDANCE \
-D_R4600_CACHEOP_WAR -D_TLB_LOOP_LIMIT -D_MEM_PARITY_WAR \
-D_R4600_2_0_CACHEOP_WAR -DSP -DIP22 -DR4000 -DR4000PC -DR4600 \
-DR4600SC -D_IRIX5_1 -g -Wx,-G8 -non_shared -coff -mips2 -DOLD_LOCKS \
-D_OLD_GFX -nostdinc -woff 515,608,658,799 -Wf,-XNp12000 \
-DDEFAULTSEMAMETER=0 -DSPLOCKMETER=0 -cckr -I/usr/include \
-I/var/sysgen/boot /var/sysgen/master.c -o /tmp/master1625.o
cfe: Error: /var/sysgen/master.c, line 1044: redeclaration of 'sysent'; \
previous declaration at line 180 in file '/usr/include/sys/syscall.h'
sysent(), syscallsw() ;
^
cfe: Error: /var/sysgen/master.c, line 1044: redeclaration of 'syscallsw'; \
previous declaration at line 200 in file '/usr/include/sys/syscall.h'
sysent(), syscallsw() ;
----------^
cfe: Warning 681: /var/sysgen/master.c, line 1554: '&' before array or \
function; ignored
{(long) &sysent, "sysent"},
---------^
cfe: Warning 681: /var/sysgen/master.c, line 1555: '&' before array or \
function; ignored
{(long) &syscallsw, "syscallsw"},
---------^
lboot: cc returned 256--failed
==============================================
I'm getting this same error on all three Indigo2 Impact workstations
that I am currently installing. I've done some investigating on
possible corrupt include files (comparing the Indigo2 Impact files to
other in-house SGI system files) and taken a stab at finding the
multiple declarations of "sysent()" and "syscallsw()" but to no avail.
Anyone have any suggestions?
Thanks!
Amy
============
Amy K. Kreiling
Department of Computer Science
University of North Carolina
Chapel Hill, NC
[EMAIL PROTECTED]