* [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
* Re: [Linux-ia64] Re: TurboLinux IA-64 Beta 2 (2000-11-23) Available for download
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
0 siblings, 0 replies; 2+ messages in thread
From: Don Dugger @ 2000-12-07 2:42 UTC (permalink / raw)
To: linux-ia64
Bill-
Thanks for the patch. It turns out someone in the X project fixed
the problem today so re-sync'ing my source tree solved it.
On Wed, Dec 06, 2000 at 07:55:30PM -0500, Bill Nottingham wrote:
> 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
> --- 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
--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
n0ano@valinux.com
Ph: 303/938-9838
^ 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