Hi,
s.vandereijk@chello.nl said:
> on my alpha system (running linux), and now I get the following error
> when compiling a lot of packages:
> ...
> + make
> gcc -O -I./lib/Xt -I. -I/usr/X11R6/include
> -Dlinux
> LinuxMachineDefines
As a quick fix, you might try to add:
#define __alpha 1
near the top of /usr/X11R6/lib/X11/config/Imake.tmpl
Another way is to patch XFree86 like so:
--- XFree86-3.3.3/xc/config/imake/imakemdep.h.imake Fri Dec 4 17:35:13 1998
+++ XFree86-3.3.3/xc/config/imake/imakemdep.h Fri Dec 4 17:37:01 1998
@@ -511,6 +511,15 @@ char *cpp_argv[ARGUMENTS] = {
#ifdef linux
"-traditional",
"-Dlinux",
+# ifdef __alpha
+ "-D__alpha",
+# endif
+# ifdef __alpha__
+ "-D__alpha__",
+# endif
+# ifdef __i386__
+ "-D__i386__",
+# endif
#endif
#ifdef __uxp__
"-D__uxp__",
There are probably other ways too... ;-)
Cheers,
Christian
-- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
This archive was generated by hypermail version 2a22 on Tue Feb 1 05:33:31 2000 PST
Send any problems or questions about this archive to webmaster@alphalinux.org.