Home > ksyms o error > ksyms.o error

Ksyms.o Error

28 Feb 2001 09:53:46 -0600 I am having trouble compiling a new kernel. This is a fresh install of redhat 7.0. I downloaded all the rpms at updates.redhat.com/7.0/i386/ I ran rpm -Fvh on all of them except the kernel ones because I want to stay with 2.2.16 at the moment. I then tried compiling the kernel with `make menuconfig dep clean bzImage` Everything goes fine until it gets to making the image. As soon as it changes to the kernel dir I get a compile error with ksyms.c Below is the output from the make bzImage. Any one know why I am getting this error. Thanks Andy Output from make bzImage: [root cawmobile linux]# make bzImage scripts/split-include include/linux/autoconf.h include/config kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fo mit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m386 -DCP U=386 -c -o init/main.o init/main.c kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fo mit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m386 -DCP U=386 -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c make -C kernel make[1]: Entering directory `/usr/src/linux-2.2.16/kernel' make all_targets make[2]: Entering directory `/usr/src/linux-2.2.16/kernel' kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fo mit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m386 -DCP U=386 -DEXPORT_SYMTAB -c signal.c In file included from /usr/src/linux/include/linux/modversions.h:50, from /usr/src/linux/include/linux/module.h:19, from signal.c:10: /usr/src/linux/include/linux/modules/i386_ksyms.ver:6: warning: `cpu_data' redefined /usr/src/linux/include/asm/processor.h:96: warning: this is the location of the previous definition /usr/src/linux/include/linux/modules/i386_ksyms.ver:28: warning: `smp_num_cpus' redefined /usr/src/linux/include/linux/smp.h:77: warning: this is the location of the previous definition /usr/src/linux/include/linux/modules/i386_ksyms.ver:118: warning: `smp_call_function' redefined /usr/src/linux/include/linux/smp.h:83: warning: this is the location of the previous definition kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fo mit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m386 -DCP U=386 -DEXPORT_SYMTAB -c ksyms.c In file included from /usr/src/linux/include/linux/mo

0.8i to 2.3.40: error during make Date: Sun, 30 Jan 2000 19:11:04 -0500 (EST) All, After applying the patch and running make config and make dep, make shows the following: gcc -D__KERNEL__ -I/usr/src/linux-2.3.40-lvm/include -D__SMP__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DCPU=686 -march=i686 -c -o https://www.redhat.com/archives/redhat-list/2001-February/msg03098.html init/main.o init/main.c gcc -D__KERNEL__ -I/usr/src/linux-2.3.40-lvm/include -D__SMP__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DCPU=686 -march=i686 -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c make -C kernel make[1]: Entering directory `/usr/src/linux-2.3.40-lvm/kernel' make all_targets make[2]: Entering directory `/usr/src/linux-2.3.40-lvm/kernel' gcc -D__KERNEL__ -I/usr/src/linux-2.3.40-lvm/include -D__SMP__ -Wall -Wstrict-prototypes -O2 https://www.redhat.com/archives/linux-lvm/2000-January/msg00080.html -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DCPU=686 -march=i686 -DEXPORT_SYMTAB -c signal.c gcc -D__KERNEL__ -I/usr/src/linux-2.3.40-lvm/include -D__SMP__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DCPU=686 -march=i686 -DEXPORT_SYMTAB -c ksyms.c ksyms.c:258: `block_fsync' undeclared here (not in a function) ksyms.c:258: initializer element for `__ksymtab_block_fsync.value' is not constant ksyms.c:269: `blkdev_close' undeclared here (not in a function) ksyms.c:269: initializer element for `__ksymtab_blkdev_close.value' is not constant make[2]: *** [ksyms.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.3.40-lvm/kernel' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.3.40-lvm/kernel' make: *** [_dir_kernel] Error 2 Has anyone else had a similar problem with this patch? Cheers, Jim Follow-Ups: Re: [linux-lvm] Patch 0.8i to 2.3.40: error during make From: Jan-Benedict Glaw [Date Prev][Date Next] [Thread Prev][Thread Next] [Thread Index] [Date Index] [Author Index]

instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More https://sourceforge.net/p/user-mode-linux/mailman/message/19418831/ information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse User-mode Linux ksyms.o error kernel port Mailing Lists User-mode Linux kernel port Brought to you by: blaisorblade, derrichard, jdike, rusty Summary Files Reviews Support Wiki Mailing Lists Tickets ▾ Bugs Feature Requests Support Requests Patches News Discussion Donate Git CVS user-mode-linux-devel user-mode-linux-user [uml-devel] linux-next: UML build error [uml-devel] linux-next: UML build error From: Gabriel C - 2008-05-21 17:26:36 Hi, I get the following UML compile error on ksyms.o error linux-next-20080521 , 64bit box : ... CC arch/um/sys-x86_64/ksyms.o arch/um/sys-x86_64/ksyms.c:5: error: '__memcpy' undeclared here (not in a function) arch/um/sys-x86_64/ksyms.c:5: warning: type defaults to 'int' in declaration of '__memcpy' make[1]: *** [arch/um/sys-x86_64/ksyms.o] Error 1 make: *** [arch/um/sys-x86_64] Error 2 ... config is UM's defconfig. Regards, Gabriel Thread view [uml-devel] linux-next: UML build error From: Gabriel C - 2008-05-21 17:26:36 Hi, I get the following UML compile error on linux-next-20080521 , 64bit box : ... CC arch/um/sys-x86_64/ksyms.o arch/um/sys-x86_64/ksyms.c:5: error: '__memcpy' undeclared here (not in a function) arch/um/sys-x86_64/ksyms.c:5: warning: type defaults to 'int' in declaration of '__memcpy' make[1]: *** [arch/um/sys-x86_64/ksyms.o] Error 1 make: *** [arch/um/sys-x86_64] Error 2 ... config is UM's defconfig. Regards, Gabriel Re: [uml-devel] linux-next: UML build error From: Jeff Dike - 2008-05-21 20:05:28 On Wed, May 21, 2008 at 07:26:09PM +0200, Gabriel C wrote: > CC arch/um/sys-x86_64/ksyms.o > arch/um/sys-x86_64/ksyms.c:5: error: '__memcpy' undeclared here (not in a function) > arch/um/sys-x86_64/ksyms.c:5: warning: type defaults to 'int' in declaration of '__memcpy' Does the patch below help? There's gcc-version-dependent logic in include/asm-x86/string_64.h which decides whether to declare memcpy or __memcpy and it looks like you're hitting that. Jeff -- Work email - jdike at linux

 

Related content

ksyms.o error 1

Ksyms o Error p recompile error was Re gig relatedl memory Date Mon Mar - Mixing apples with oranges My bad Got it somewhat figured out Thanks though Jacob On Mon Mar you wrote Well I'm having some problems recompiling I get through make config make dep make clean OK I've edited my Makefile to include a unique name in the EXTRAVERSION field However when I run make bzImage errfile I get the errors pasted at the end of this message and I cannot find the bzImage file anywhere Any suggestions for what all these warning this is the location