pdc_console_die: undefined reference to `log_end'
Second try:
arch/parisc/kernel/built-in.o: In function `pdc_console_die':
arch/parisc/kernel/built-in.o(.text.pdc_console_die+0x4c): undefined reference to log_end' arch/parisc/kernel/built-in.o: In function pdc_console_restart':
arch/parisc/kernel/built-in.o(.text.pdc_console_restart+0x44): undefined reference to `log_end'
make: ** [.tmp_vmlinux1] Erro 139
Problem is:
===== kernel/printk.c 1.26 vs edited =====
kernel/printk.c +1 -1
@@ -77,7 +77,7 @@*/ static unsigned long log_start;/* Index into log_buf: next char to be read by syslog() */ static unsigned long con_start;/* Index into log_buf: next char to be sent to consoles */ -static unsigned long log_end;/* Index into log_buf: most-recently-written-char + 1 */ +unsigned long log_end;/* Index into log_buf: most-recently-written-char + 1 */ static unsigned long logged_chars;/* Number of chars produced since last read+clear operation */ struct console_cmdline console_cmdline[MAX_CMDLINECONSOLES ];
Quoted 7 lines · Arnaldo Carvalho de Melo
Second try:
arch/parisc/kernel/built-in.o: In function `pdc_console_die':
arch/parisc/kernel/built-in.o(.text.pdc_console_die+0x4c): undefined reference tolog_end' arch/parisc/kernel/built-in.o: In functionpdc_console_restart':
arch/parisc/kernel/built-in.o(.text.pdc_console_restart+0x44): undefined reference to `log_end'
make: ** [.tmp_vmlinux1] Erro 139
You're using Linus' kernel, not ours ;-) The diff's pretty small these days and can be found at
http://cvs.parisc-linux.org/download/linux-2.5/patch-2.6.0-test1-pa1.gz
This particular bit is far too ugly to ever go upstream, so if you have any thoughts on doing it better, please let me know...
Signature · 3 lines
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk