SUMMARY: Missing file for scsiinfo

From: Bob Woodward (bobw@filmworks.com)
Date: Wed Sep 03 1997 - 15:50:46 CDT


My original message:

>I'm trying to compile scsiinfo (from ftp.cdf.toronto.edu) using the gcc
>2.7.2 compiler on a SS20/Solaris 2.4 system and I'm getting the following
>error message:
>
>gcc -DSUNOS_VERSION=\"`/usr/bin/uname -r`\" -g -Iinclude -c scsiinfo.c
>In file included from sunos5.h:46,
> from scsiinfo.c:45:
>/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/sunddi.h:21:
>sys/ddi_isa.h: No such file or directory
>*** Error code 1
>make: Fatal error: Command failed for target `scsiinfo.o'
>
>I've checked and do, in fact, have the file sunddi.h but I don't know what
>the references are after that. (Read that as green to C programming.)
>I've looked for, and could not find, any reference to the ddi_isa.h file.
>

Many of you pointed out that I was probably using gcc compiled for Solaris
2.5x and that it was an included file ddi_isa.h that was the subject of the
error. This is, in fact, what the situation is that I'm in. Dan Penrod
sent the executable from his 2.5 system, and though it complained about the
version mismatch, it still ran and gave me the information I needed.
(Which ID's were used on which SCSI cards.)

I also received suggestions to run fixinclude along with references of
where to the gcc source for Solaris 2.4 and fixinclude. I should be able
to compile with the currently running 2.5 compiler (I hope, anyway) the
source from ftp://sunsite.unc.edu/pub/solaris/

Thanks to the following for their replies, explainations, pointers, and
assistance:
John Ballard <johnb@ocean.washington.edu>
John D Groenveld <groenvel@cse.psu.edu>
Joel Lee <jlee@thomas.com>
Casper Dik <casper@holland.Sun.COM>
Tim Pointing <Tim.Pointing@dciem.dnd.ca>
Dan Penrod <penrod@wcnewmedia.com>
Alejandro López-Valencia <alejolo@sue.ideam.gov.co>

----------
Bob Woodward, Seattle FilmWorks (bobw@filmworks.com)
Data Processing Department

Visit our Web Site to learn about getting your pictures via downloads on
the Internet!
Point your browser to "http://www.filmworks.com".



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:01 CDT