public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Problems compiling hdparm with string.h (2.4.x)
@ 2001-02-01  0:28 Gregor Jasny
  2001-02-01  7:15 ` Vitezslav Samel
  0 siblings, 1 reply; 2+ messages in thread
From: Gregor Jasny @ 2001-02-01  0:28 UTC (permalink / raw)
  To: linux-kernel

I've just tried to compile hdparm v3.9 with a vanilla 2.4.1 tree.
Gcc complained about serveral parse errors in /usr/include/linux/string.h.
Compiling with an >=ac6 release works fine.
Why isn't the little string.h fix not included in 2.4.1?

Regards, Gregor

PS: Is this normal: (ac-12, 1xPIII, iBX , IO-, UP- and LOCAL-APIC=y)
/proc/interrupts
           CPU0
  0:    9997185          XT-PIC  timer
  1:      51952          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  7:     482976          XT-PIC  parport0
  9:    8270642          XT-PIC  eth0, EMU10K1
 10:     932284          XT-PIC  bttv
 12:     930300          XT-PIC  PS/2 Mouse
 14:      77025          XT-PIC  ide0
 15:          4          XT-PIC  ide1
NMI:    9995269
LOC:    9996969
ERR:          0
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems compiling hdparm with string.h (2.4.x)
  2001-02-01  0:28 Problems compiling hdparm with string.h (2.4.x) Gregor Jasny
@ 2001-02-01  7:15 ` Vitezslav Samel
  0 siblings, 0 replies; 2+ messages in thread
From: Vitezslav Samel @ 2001-02-01  7:15 UTC (permalink / raw)
  To: linux-kernel

	Hi!

> I've just tried to compile hdparm v3.9 with a vanilla 2.4.1 tree.
> Gcc complained about serveral parse errors in /usr/include/linux/string.h.
> Compiling with an >=ac6 release works fine.
> Why isn't the little string.h fix not included in 2.4.1?
> 
> Regards, Gregor

	Consider this little patch to hdparm-3.9

		Cheers,
				Vita


diff -urN hdparm-3.9.orig/hdparm.c hdparm-3.9/hdparm.c
--- hdparm-3.9.orig/hdparm.c	Sat Feb  5 23:49:30 2000
+++ hdparm-3.9/hdparm.c	Thu Feb  1 08:13:06 2001
@@ -16,7 +16,7 @@
 #include <sys/times.h>
 #include <sys/types.h>
 #include <linux/hdreg.h>
-#include <linux/fs.h>
+#include <sys/mount.h>
 #include <linux/major.h>
 
 #define VERSION "v3.9"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-01  7:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-01  0:28 Problems compiling hdparm with string.h (2.4.x) Gregor Jasny
2001-02-01  7:15 ` Vitezslav Samel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox