Linux Compile problems

Linux Compile problems

Post by Ted Har » Fri, 20 Jun 1997 04:00:00



I am trying to compile the linux kernel 2.1.42 and get this error
message.
I have gcc 2.7.0
I got the newest version of binutils.

gcc -D__KERNEL__ -I/usr/src/linux.2.1.42/include -Wall
-Wstrict-prototypes -O2
-fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -D__SMP__
-c -o
signal.o signal.c
gcc -D__KERNEL__ -I/usr/src/linux.2.1.42/include -D__ASSEMBLY__
-D__SMP__
-traditional -c entry.S -o entry.o
/tmp/cca09576.s: Assembler messages:
/tmp/cca09576.s:611: Error: Unknown pseudo-op:  `.rept'
/tmp/cca09576.s:613: Error: Unknown pseudo-op:  `.endr'
make[1]: *** [entry.o] Error 1
make[1]: Leaving directory `/usr/src/linux.2.1.42/arch/i386/kernel'
make: *** [linuxsubdirs] Error 2

 
 
 

Linux Compile problems

Post by Sid Boyc » Sat, 21 Jun 1997 04:00:00



> I am trying to compile the linux kernel 2.1.42 and get this error
> message.
> I have gcc 2.7.0
> I got the newest version of binutils.

        /usr/src/Documentation/Changes says you need gcc-2.7.2.1.
Quote:> -D__SMP__

        Unless you have a MP machine, best to comment out this line.
*** /usr/src/Documentation is the place to look, a wealth of information
there, if compiling new kernels always check the Changes file as it can
save you time and frustration.
Regards

--
... Sid Boyce...Amdahl(UK)...44-121 422 0375
                   -----------------------------------
Any opinions expressed above are mine and do not necessarily represent
 the opinions or policies of Amdahl Corporation.

 
 
 

1. Linux Compile Problems

yes, I did.

It turned out it was the version of gcc I was using.  I was going to go
back and install the gcc without the g77 front end, but it turned out
that the latest release of the gcc RPM that includes the g77 front end
worked fine (gcc-2.7.2.3-5.i386.rpm from the red hat user contributed
RPMS directory).

bill

--
Bill Comisky

2. Alphabetical Sort

3. Linux Compiling Problems

4. .htaccess and .htpasswd

5. GNU GRG and Linux: compile problems

6. SIGRTMIN usage

7. Apache 0.8.8 & Linux Compile problems.

8. realplayer has to run manually

9. util-linux compile problem

10. Help with GCC and Binkley Term under Linux (compile problem)

11. Apache: Linux compiling problem

12. SMP Linux compile problems 1.3.[79,82,84,86,88]