"Hoang Q. Tran" wrote:
>
> Hi,
>
> I'm fairly new and this is my first attempt compiling the
> linux-2.4-xfs source checked out on March 16, 2001. The
> box is a pre-release 0.9/rh7.
This is likely a kgcc issue. Look at the top level linux Makefile,
and make these changes:
----------
#comment out this line if compiling on RH 7.0
#CC = $(CROSS_COMPILE)gcc -V egcs-2.91.66
# AND uncomment the following line
CC = $(CROSS_COMPILE)kgcc
--------------
>
> Thanks!
>
> Hoang
>
> Here's the snippet during make bzImage:
>
> cc -D__KERNEL__ -I/usr/src/linux-2.4-xfs/linux/include -Wall
> -Wstrict-prototypes -O2 -fno-strict-aliasing -fomit-frame-pointer -pipe
> -mpreferred-stack-boundary=2 -march=i586 -Wno-parentheses -I .. -I
> /usr/src/linux-2.4-xfs/linux/fs -funsigned-char -Wno-unknown-pragmas -c
> -o xfs_lrw.o xfs_lrw.c
> xfs_lrw.c:1011:56: warning: pasting would not give a valid preprocessing
> token
> xfs_lrw.c:1134:62: warning: pasting would not give a valid preprocessing
> token
> xfs_lrw.c:1152:46: warning: pasting would not give a valid preprocessing
> token
> xfs_lrw.c: In function `xfs_iomap_write_direct':
> xfs_lrw.c:1988: Unrecognizable insn:
> ...
> xfs_lrw.c:1988: confused by earlier errors, bailing out
> make[4]: *** [xfs_lrw.o] Error 1
> make[4]: Leaving directory `/usr/src/linux-2.4-xfs/linux/fs/xfs/linux'
> make[3]: *** [first_rule] Error 2
--
--------------------------------------------------------------------------
Rajagopal Ananthanarayanan ("ananth")
Member Technical Staff, SGI.
--------------------------------------------------------------------------
|