Linktime errors while compiling the kernel ?

Linktime errors while compiling the kernel ?

Post by Jeroen Val » Wed, 08 May 1996 04:00:00


I tried to compile my kernel (version 1.2.13), but at link time
I got the following errors:

arch/i386/mm/mm.o(.text+0x36d): undefined reference to `pg0'
arch/i386/mm/mm.o(.text+0x58a): undefined reference to `pg0'
arch/i386/mm/mm.o(.text+0x5d4): undefined reference to `pg0'
kernel/kernel.o(.text+0x1df): undefined reference to `_current'
kernel/kernel.o(.text+0x1ec): undefined reference to `_last_task_used_math'
kernel/kernel.o(.data+0x39c): undefined reference to `sys_call_table'
kernel/kernel.o(.data+0x424): undefined reference to `floppy_track_buffer'
kernel/kernel.o(.data+0x2a70): undefined reference to `swapper_pg_dir'
mm/mm.o(.text+0x7f): undefined reference to `swapper_pg_dir'
mm/mm.o(.text+0x2c0): undefined reference to `swapper_pg_dir'
mm/mm.o(.text+0x2f6): undefined reference to `swapper_pg_dir'
fs/fs.o(.text+0xdd7a): undefined reference to `sys_call_table'
fs/fs.o(.text+0xe6ff): undefined reference to `sys_call_table'
fs/fs.o(.text+0xe95a): undefined reference to `sys_call_table'
fs/fs.o(.text+0xea5b): undefined reference to `sys_call_table'
fs/fs.o(.text+0xec1e): undefined reference to `sys_call_table'
floppy.o(.text+0xc3a): undefined reference to `floppy_track_buffer'
floppy.o(.text+0xc49): undefined reference to `floppy_track_buffer'
floppy.o(.text+0xc50): undefined reference to `floppy_track_buffer'
floppy.o(.text+0x2a88): undefined reference to `floppy_track_buffer'
floppy.o(.text+0x2b56): undefined reference to `floppy_track_buffer'
floppy.o(.text+0x3500): more undefined references to `floppy_track_buffer' follow
make: *** [vmlinux] Error 1

Does anyone know where this undefined references are supposed to be
defined ?



1. Kernel Compile Errors - Error 2


I'm getting various errors when I try to compile a kernel and
want to get a clean start or suggestions on what I've messed up
to cause these errors. If the error occurred at the same spot I
might have a clue as to what to look for in the way of missing
files or incorrect locations, but it seems to move around.

The errors are various but all end in error 2 when doing a make
dep or make bzImage.  I've put more complete and what I hope is
relevant text at

About four months ago I could successfully compile and did about
5-10 for practice and to see how small I could get my kernel,
plus I added support for some VPN stuff I wanted to do.  It has
been working since then but now I decided to try ext3
and started getting these errors.  

I've tried using my previously working .config, a clean .config, a
minimally modified .config.  
I've done make clean, make mrproper, using sudo
without sudo, as root, su'ing to root. What used to work is cd to
/usr/src/linux and run sudo make xconfig, and then do a sudo make dep, make
clean, make bzImage, make modules, make modules_install, etc.  

In an attempt to work around the problem I uninstalled the kernel
source with the package program Yast1 and reinstalled a couple of
different times.  I tried to manually install the RPM file(# rpm
-ihv kernel-source.rpm) to rule out Yast1.  I would just get a
tarball of the 2.4.18 and try that but would like to try and stay
within the confines of a stock system if possible.

SuSE 7.30

Thanks for any advice.


2. Fax - Server on freeBSD

3. kernel error when compiling kernel on 4-stable (after make dep, during make)

4. Safe Upgrade to glibc 2.2?

5. kernel error when compiling kernel on 4-stable (after make dep, d

6. dns help needed

7. kernel error when compiling kernel on 4-stable (after make dep, durin

8. /lib/ no version information available / undefined symbol: _dl_global_scope_end

9. Press Ctrl-D whiling inputting

10. How do I issue linktime warnings ?

11. Error compiling kernel 2.2.2

12. gcc internal error when compiling kernel

13. HELP: problems compiling kernel 1.1.89 (assemly errors)