Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RE: 2.2.0-pre4 doesn't compile
@ 1999-01-04 16:08 dr john halewood
  1999-01-04 17:25 ` Michal Jaegermann
  0 siblings, 1 reply; 3+ messages in thread
From: dr john halewood @ 1999-01-04 16:08 UTC (permalink / raw)
  To: 'Stephen Williams'; +Cc: 'axp-list@redhat.com'

quick fix for this (it's a bug introduced by someone not being too
careful)

in linux/ipc/util.c change

#include <asm/ipc.h>
to
#ifndef __alpha__
#include <asm/ipc.h>
#endif

(sorry it's not a proper diff but it is only trivial!)
this fixes the compilation. Got mine running fine on an LX164, although
ntfs support seems to be broken, but i haven't caught up on my email
yet (2000 messages over the new year!) and there's probably a fix in
there somewhere

cheers
john

> -----Original Message-----
> From:	Stephen Williams [SMTP:steve@icarus.com]
> Sent:	04 January 1999 16:01
> To:	Linux Kernel Mailing List
> Subject:	2.2.0-pre4 doesn't compile
> 
> This is an Alpha PC164. I can include the .config if the following is
> not
> enough.
> 
> 
> ar  rcs network.a  sock_n_syms.o protocols.o core/core.o
> ethernet/ethernet.o sched/sched.o 802/802.o ipv4/ipv4.o unix/unix.o
> sunrpc/sunrpc.o sysctl_net.o
> make[2]: Leaving directory `/usr/src/linux-2.2.0-pre4/net'
> make[1]: Leaving directory `/usr/src/linux-2.2.0-pre4/net'
> make -C  ipc
> make[1]: Entering directory `/usr/src/linux-2.2.0-pre4/ipc'
> make all_targets
> make[2]: Entering directory `/usr/src/linux-2.2.0-pre4/ipc'
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.0-pre4/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs
> -ffixed-8   -c -o util.o util.c
> util.c:16: asm/ipc.h: No such file or directory
> make[2]: *** [util.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.2.0-pre4/ipc'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.2.0-pre4/ipc'
> make: *** [_dir_ipc] Error 2
> 
> -- 
> Steve Williams                "The woods are lovely, dark and deep.
> steve@icarus.com              But I have promises to keep,
> steve@picturel.com            and lines to code before I sleep,
> http://www.picturel.com       And lines to code before I sleep."
> 
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/


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

* Re: 2.2.0-pre4 doesn't compile
  1999-01-04 16:08 2.2.0-pre4 doesn't compile dr john halewood
@ 1999-01-04 17:25 ` Michal Jaegermann
  1999-01-04 19:03   ` 2.2.0-pre4 compile error Jiann-Ming Su
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Jaegermann @ 1999-01-04 17:25 UTC (permalink / raw)
  To: axp-list

dr john halewood wrote:
> 
> (sorry it's not a proper diff but it is only trivial!)
> this fixes the compilation. Got mine running fine on an LX164, although
> ntfs support seems to be broken,

NTFS support fix is equally trivial like this one of <asm/ipc.h>
(some headers got a bit out of sync).  No point of including it here
as it is in 2.2.0-pre4-ac1 patches which showed up in a few hours
after 2.2.0-pre4 was posted.

If you want to repair that yourself make type NTFS type definitions
in include/linux/... the same as in headers in fs/ntfs/...

  Michal


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

* 2.2.0-pre4 compile error
  1999-01-04 17:25 ` Michal Jaegermann
@ 1999-01-04 19:03   ` Jiann-Ming Su
  0 siblings, 0 replies; 3+ messages in thread
From: Jiann-Ming Su @ 1999-01-04 19:03 UTC (permalink / raw)
  To: axp-list; +Cc: linux-kernel

2.2.0-pre4 compile error on SX164:

gcc -D__KERNEL__ -I/usr/src/linux-2.1/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -Wa,-m21164a -DBWIO_ENABLED   -c -o util.o util.c
util.c:16: asm/ipc.h: No such file or directory
make[2]: *** [util.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.1/ipc'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1/ipc'
make: *** [_dir_ipc] Error 2

[root@athena linux]# gcc --version
egcs-2.91.60


Jiann-Ming Su                   "People seldom do what they believe in. They do
js1@microwave.ph.msstate.edu    what is convenient, then repent." --Bob Dylan



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

end of thread, other threads:[~1999-01-04 19:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-04 16:08 2.2.0-pre4 doesn't compile dr john halewood
1999-01-04 17:25 ` Michal Jaegermann
1999-01-04 19:03   ` 2.2.0-pre4 compile error Jiann-Ming Su

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