Kernel 2.4.14 compile fail (block.o)

Kernel 2.4.14 compile fail (block.o)

Post by Fran?ois Cam » Wed, 14 Nov 2001 23:10:16



Known bug - patch is in 2.4.15pre1
Beware, in pre1 and pre2 netfilter (iptables)
doesn't work.

Fran?ois


> Hi :-),

> -- One Liner: make dep is fine but block.o fails to compile

> --Problem:
> Make menuconfig for a pretty standard kernel, set for no driver modules, make
> bzImage fails at block.o,

> # drivers/block/block.o: In function `lo_send':
> # drivers/block/block.o(.text+0x895f): undefined reference to `deactivate_page'
> # drivers/block/block.o(.text+0x89a9): undefined reference to `deactivate_page'

> The currently running system is going along just fine with 2.4.2 no problems
> at all, good uptime,
> Ive built plenty of kernels easily before, ive re created this problem on three
> machines with very different linux setups (kernel, distro, gcc version..)

> (menuconfigs saved and attached as bloc.o-fail.gz)

> --- /proc/version

> (prerelease)) #8 Thu Oct 4 15:59:45 BST 2001

> --- ver_linux
> linux orion.dsh.org.uk 2.4.2 #8 Thu Oct 4 15:59:45 BST 2001 i686 unknown
> Gnu C                  2.95.3
> Gnu make               3.79.1
> binutils               2.10.0.24
> util-linux             2.10b
> mount                  2.11b
> modutils               2.4.3
> e2fsprogs              1.19
> PPP                    2.3.10
> Linux C Library        2.2.2
> Dynamic linker (ldd)   2.2.2
> Procps                 2.0.7
> Net-tools              1.59
> Console-tools          0.2.2
> Sh-utils               2.0
> Modules Loaded

> --- host info
> Machine Spec
> CPU : 1x AMD Duron 800Mhz
> RAM : 128Mb PC133
> M/B : GIGABYTE (VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 3))

> --- /proc/cpuinfo
> processor       : 0
> vendor_id       : AuthenticAMD
> cpu family      : 6
> model           : 3
> model name      : AMD Duron(tm) Processor
> stepping        : 1
> cpu MHz         : 800.042
> cache size      : 64 KB
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 1
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
> pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
> bogomips        : 1595.80

> --- lspci -vvv included as gzip
> --- no scsi in system
> --- no modules loaded at all (ever)

> Hope this has been a helpful bug report

> Ian Norton

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
 
 
 

1. 2.4.14 Kernel compile fails with undef symbol

Gday folks,

I probably can't see the forest for the trees right now, but when I try
to build the above kernel (actually, anything greater than 2.4.7), I get
a failure when it's building the aic7xxx driver:

gcc -I/usr/include -I. -ldb aicasm_gram.c aicasm_scan.c aicasm.c
aicasm_symbol.c -o aicasm
/tmp/ccAw3D3I.o: In function `symtable_open':
/tmp/ccAw3D3I.o(.text+0x1df): undefined reference to `__db185_open'
collect2: ld returned 1 exit status
make[5]: *** [aicasm] Error 1
make[5]: Leaving directory `/usr2/src/linux/drivers/scsi/aic7xxx/aicasm'

I know I've probably got some old libraries in here, but I don't know
which one in particular is causing this error...
can anybody pls shed a little light on this?

my gcc is: gcc version 2.95.3 20010315 (release)

Regards and TIA,
Pat
--

+---------------------------------------------------------+
+  "Logic clearly dictates, that the strokes of the many  +
+   outweigh the strokes of the two..."                   +
+                             (Apologies to Mr Spock)     +
+---------------------------------------------------------+

2. Apache has lots of defuncts

3. Unwanted Swapping in 2.4.14-pre8, no swapping in 2.4.14-pre6aa1

4. HOWTO trace Hardware errors ?

5. 2.4.14: drivers/block/block.o: undefined reference to `deactivate_page'

6. Quirky Ethernet....

7. problem with kernel 2.4.14 drivers/block/loop.c mm/swap.c

8. agetty problems

9. Alpha XLT 366 fails to boot kernel >= 2.4.14

10. 2.4.14-pre7 KERNEL: assertion (sk->pprev==NULL) failed at tcp_ipv4.c(345):__tcp_v4_hash

11. Kernel 2.4.14 fails to link.

12. Kernel compilation failed 2.4.14

13. compiling linux kernel 2.4.14