Skip to contentSkip to conversation

TurboLinux IA-64 Beta 2 (2000-11-23) Available for download

Linux-ia64 Bill Nottingham 2 participants 2 messages Dec 7, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Don Dugger

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

xc/programs/Xserver/hw/xfree86/SuperProbe/Probe.h renamed from xc/programs/Xserver/hw/xfree86/SuperProbe/Probe.h.dainbramage +0 -1
@@ -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__))
xc/programs/Xserver/hw/xfree86/SuperProbe/AsmMacros.h renamed from xc/programs/Xserver/hw/xfree86/SuperProbe/AsmMacros.h.dainbramage +2 -3
@@ -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
#1 lore raw

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.

Quoted 35 lines · Bill Nottingham
Quoted 5 lines · Don Dugger

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

xc/programs/Xserver/hw/xfree86/SuperProbe/Probe.h renamed from xc/programs/Xserver/hw/xfree86/SuperProbe/Probe.h.dainbramage +0 -1
@@ -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__))
xc/programs/Xserver/hw/xfree86/SuperProbe/AsmMacros.h renamed from xc/programs/Xserver/hw/xfree86/SuperProbe/AsmMacros.h.dainbramage +2 -3
@@ -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
Signature · 4 lines
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
[email protected]
Ph: 303/938-9838