linux-1.1.39 doesn't wanna compile w/TMC850 Driver

linux-1.1.39 doesn't wanna compile w/TMC850 Driver

Post by Nevin Cheu » Sun, 07 Aug 1994 16:27:07



I have successfully compiled everything from 0.99.15 to 1.1.37...  Now,
when I tried to compile 1.1.39, the following errors came up when I tried
to compile the SCSI drivers...  What's the problem?  Where is "STAT"
supposed to be?  Thanx...

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -m486 -DARBITRATE -DSLOW_HANDSHAKE -DFAST32 -c
seagate.c
seagate.c: In function `borken_wait':
seagate.c:263: warning: empty body in an if-statement
seagate.c: In function `internal_command':
seagate.c:675: `STAT' undeclared (first use this function)
seagate.c:675: (Each undeclared identifier is reported only once
seagate.c:675: for each function it appears in.)
seagate.c:675: warning: suggest parentheses around && within ||
seagate.c: At top level:
seagate.c:97: warning: `abort_confirm' defined but not used
make[2]: *** [seagate.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/scsi'
make[1]: *** [driversubdirs] Error 1
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [linuxsubdirs] Error 1

--
______________________________________________________________________________



 
 
 

linux-1.1.39 doesn't wanna compile w/TMC850 Driver

Post by Drew Eckhar » Wed, 10 Aug 1994 10:22:41




>>I have successfully compiled everything from 0.99.15 to 1.1.37...  Now,
>>when I tried to compile 1.1.39, the following errors came up when I tried
>>to compile the SCSI drivers...  What's the problem?  Where is "STAT"
>>supposed to be?  Thanx...

>try 1.1.41

1.1.39 has the right code in it, although STATUS got shortened
to STAT and it probably should have been temp to begin with.

Although 1.1.40 compiles, it is more broken than 1.1.39 :

The patch in 1.40 looks like this :

-                   !((temp = STATUS) & STAT_IO) || (STAT & STAT_BSY););
+                   !((temp = STATUS) & (STAT_IO | STAT_BSY)););

In otherwords, the patch makes the termination conditions for the
loop I/O asserted _OR_ BSY asserted, rather than I/O asserted AND
BSY clear.

Depending on how fast things happen, the net result is that
the loop terminates somewhere inbetween arbitration and
selection and Bad Things(tm) happen.

It should look like

+                   !((temp = STATUS) & STAT_IO) || (temp & STAT_BSY););

instead.  Substititue STATUS for temp if you want.  

--

1970 Landcruiser FJ40 w/350 Chevy power
1982 Yamaha XV920J Virago

 
 
 

1. Irix 6.5 NIS serving from Linux (RH6.2/ypserv 1.39)

Hi,

I have a network here that I'm transitioning from a IRIX NIS server to a
linux based one.  

Presently, it's happily serving accounts to other Redhat systems, and 2 SGI
machines running Irix 6.2.  My problem though is with systems running Irix
6.5, which see other maps (such as the automount maps) and can ypcat the
passwd.* maps, but won't let me login.

This machine was previously part of the SGI hosted NIS domain, and worked
like every other machine in the building.  Only since I changed domains (and
thus servers) has this machine denied access.

I've had a look at the nsswitch.conf file, but it all seems to be in order.
Any ideas anyone?

Email replies please!

thanks,

Tony

2. Example code for packet sockets wanted

3. apache 1.39 and Wininet API problems......

4. Creative Labs Banshee + Sound Blaster Live

5. Directory listing problems after upgrading to Apache 1.39

6. Plagued with problems

7. v2.1.39: Link problem with QIC02

8. Looking for POP-3 server for Solaris 2.3

9. Seg fault in Apache 1.39 on HPUX10.20

10. drivers/atm/firestream.c doesn't compile in 2.5.33

11. 2.5.64-mm8: drivers/atm/idt77252.c doesn't compile

12. 3c509 driver doesn't compile in 2.5.59

13. keyboard driver doesn't compile... again.