public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Re: TurboLinux IA-64 Beta 2 (2000-11-23) Available for download
@ 2000-12-07  0:55 Bill Nottingham
  2000-12-07  2:42 ` Don Dugger
  0 siblings, 1 reply; 2+ messages in thread
From: Bill Nottingham @ 2000-12-07  0:55 UTC (permalink / raw)
  To: linux-ia64

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

Don Dugger (n0ano@tlaloc.n0ano.com) said: 
> I tried to re-compile X on this release and came across a problem.
> The include file `/usr/include/asm/io.h' defines the in/out functions
> in terms of new `platform_*' functions, which are not defined for
> user programs.  Do you know where these `platform_*' functions are
> supposed to be defined?

Try this. Must not include kernel headers in userland, blah, blah, blah.

Bill

[-- Attachment #2: XFree86-4.0.1-ia64-dainbramage.patch --]
[-- Type: text/plain, Size: 941 bytes --]

--- XFree86-4.0.1/xc/programs/Xserver/hw/xfree86/SuperProbe/Probe.h.dainbramage	Mon Nov 20 01:17:10 2000
+++ XFree86-4.0.1/xc/programs/Xserver/hw/xfree86/SuperProbe/Probe.h	Mon Nov 20 01:17:20 2000
@@ -47,7 +47,6 @@
 #if defined(SYSV) || defined(SVR4) || defined(linux) || defined(__QNX__) || defined(__QNXNTO__)
 #if defined(__ia64__)
 #include <sys/io.h>
-#include <asm/io.h>
 #endif
 # include <string.h>
 #if !(defined(__QNX__) && !defined(__QNXNTO__))
--- XFree86-4.0.1/xc/programs/Xserver/hw/xfree86/SuperProbe/AsmMacros.h.dainbramage	Mon Nov 20 01:19:10 2000
+++ XFree86-4.0.1/xc/programs/Xserver/hw/xfree86/SuperProbe/AsmMacros.h	Mon Nov 20 01:18:31 2000
@@ -69,9 +69,8 @@
 #define outl(p,v) _outl((v),(p))
 #elif defined(linux) && defined(__ia64__)
 #include <stdlib.h>
-#include <asm/types.h>
-#include <asm/system.h>
-#include <asm/io.h>
+#include <sys/types.h>
+#include <sys/io.h>
 #else
 #if defined(__sparc__)
 #ifndef ASI_PL

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

end of thread, other threads:[~2000-12-07  2:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-07  0:55 [Linux-ia64] Re: TurboLinux IA-64 Beta 2 (2000-11-23) Available for download Bill Nottingham
2000-12-07  2:42 ` Don Dugger

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