lkml.org 
[lkml]   [2003]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: compile error with 2.5.59-bk latest
On Sat, 8 Feb 2003, Thomas Molina wrote:

> ld:arch/i386/kernel/.tmp_i386_ksyms.ver:7: ignoring invalid character `#' in expression
> ld:arch/i386/kernel/.tmp_i386_ksyms.ver:7: parse error
> make[1]: *** [arch/i386/kernel/i386_ksyms.o] Error 1
> make: *** [arch/i386/kernel] Error 2

> arch/i386/kernel/.tmp_i386_ksyms.ver shows:
>
> __crc_cpu_gdt_table = 0x08a58dfb ;
> __crc_drive_info = 0x744aa133 ;
> __crc_boot_cpu_data = 0xd1395717 ;
> __crc_EISA_bus = 0x7413793a ;
> __crc_MCA_bus = 0xf48a2c4c ;
> __crc___verify_write = 0x203afbeb ;
> #define __verify_write _set_ver(__verify_write)
> __crc_dump_thread = 0xae90b20c ;
> __crc_dump_fpu = 0xc708c72b ;

Whoops, the grep to filter out the _set_ver lines wasn't quite right.
This patch fixes it.

Thanks for the report,

--Kai


===== scripts/Makefile.build 1.27 vs edited =====
--- 1.27/scripts/Makefile.build Fri Feb 7 21:27:28 2003
+++ edited/scripts/Makefile.build Sat Feb 8 13:30:23 2003
@@ -91,7 +91,7 @@
else \
$(CPP) -D__GENKSYMS__ $(c_flags) $< \
| $(GENKSYMS) -k $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) \
- | grep __ver \
+ | grep -v _set_ver \
| sed 's/\#define __ver_\([^ ]*\)[ ]*\([^ ]*\)/__crc_\1 = 0x\2 ;/g' \
> $(@D)/.tmp_$(@F:.o=.ver); \
\

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.024 / U:1.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site