From: Mitch D. <md...@po...> - 2000-12-29 03:04:01
|
Hello, Here are fixes for some minor problems I've found in the latest kernel: - "as" does not like single quotes in entry.S and memcpy.S. The error is like this: sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/dis/wrk/kernel-compiles/include -ml -m4 -c -o entry.o entry.S entry.S:137: unterminated character constant entry.S:139: unterminated character constant etc etc etc and sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/dis/wrk/kernel-compiles/include -ml -m4 -c -o memcpy.o memcpy.S memcpy.S:23: unterminated character constant Adding the "EXTRA_AFLAGS = -traditional" fixes it. - Philipp's RTC changes weren't added to the generic machine type. The error: sh-linux-gnu-gcc -D__KERNEL__ -I/dis/wrk/kernel-compiles/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -ml -m4 -pipe -c -o mach_unknown.o mach_unknown.c mach_unknown.c:68: `sh_rtc_gettimeofday' undeclared here (not in a function) mach_unknown.c:68: initializer element is not constant mach_unknown.c:68: (near initialization for `mv_unknown.mv_rtc_gettimeofday') Niibe-san, can you check and/or apply this patch please? BTW, is anyone else getting these ridiculous warnings in the UDF code? GCC hasn't supported pragmas since 2.7.2.... In file included from /dis/wrk/kernel-compiles/include/linux/fs.h:649, from /dis/wrk/kernel-compiles/include/linux/capability.h:17, from /dis/wrk/kernel-compiles/include/linux/binfmts.h:5, from /dis/wrk/kernel-compiles/include/linux/sched.h:9, from sock.c:99: /dis/wrk/kernel-compiles/include/linux/udf_fs_sb.h:21: warning: ignoring pragma: pack /dis/wrk/kernel-compiles/include/linux/udf_fs_sb.h:76: warning: ignoring pragma: pack Regards, Mitch. |