$make Error : In file included from contrib/elftrunc.c:5: /home/Amit/control-project/daq-module/build-tools/dietlibc-0.21/include/stdio.h:18: warning: ‘malloc’ attribute ignored contrib/elftrunc.c: In function ‘main’: contrib/elftrunc.c:141: warning: implicit declaration of function ‘memcmp’ contrib/elftrunc.c:145: warning: implicit declaration of function ‘strncpy’ contrib/elftrunc.c:145: warning: incompatible implicit declaration of built-in function ‘strncpy’
$ make CROSS_COMPILE=arm-uclibc- Error : Help me out ld: ldso.o: Relocations in generic ELF (EM: 40) ld: ldso.o: Relocations in generic ELF (EM: 40) ldso.o: could not read symbols: File in wrong format make[2]: *** [lib] Error 1 make[2]: Leaving … Continue reading
The toolchains were build from the following sources: – binutils-2.11.2.tar.gz – gcc-2.95.3.tar.gz – gcc-2.95.3.diff.bz2 (a re-diffed version of Phil Blundell’s diff) – glibc-2.2.3.tar.gz – glibc-linuxthreads-2.2.3.tar.gz – linux-2.4.6.tar.gz – patch-2.4.6-rmk2.gz – diff-2.4.6-rmk2-np1.gz Sources : linux-2.4.6.tar.gz http://www.kernel.org/pub/linux/kernel/v2.4/ patch-2.4.6-rmk2.gz http://ftp.linux.org.uk/pub/linux/arm/kernel/v2.4/ diff-2.4.6-rmk2-np1.gz ftp://ftp.arm.linux.org.uk/pub/armlinux/people/nico/v2.4/ gcc-2.95.3.diff.bz2 … Continue reading
decl.c: In function ‘start_struct’: decl.c:4451: error: argument ‘code’ doesn’t match prototype ch-tree.h:736: error: prototype declaration make[2]: *** [decl.o] Error 1 make[2]: Leaving directory `/home/cihan/gcc-2.95.3/gcc/ch’ make[1]: *** [cc1chill] Error 2 make[1]: Leaving directory `/home/cihan/gcc-2.95.3/gcc’ make: *** [all-gcc] Error 2
why the implementation of large files under /proc is a little awkward ? what is benefits of using seq_file interface over /pro file systems ?
I’m trying to update the struct file -> f_pos with count number of bytes in my write function, but everytime i call write(), it will display the value of f_pos = 0. and i call 5 times write() in my … Continue reading
We just used two command “insmod” and “rmmod” to insert and remove the module from the Kernel. And We also make some Pseudo programs for 2.4 and 2.6 compatible kernels. What is the benefit of making some program using 2.6 … Continue reading
Classes of Device Driver will be start on Thursday onwards, so be there at right time and be regular ….
Signal handlers usually execute on the current stack of the process. This lets the signal handler return to the point that execution was interrupted in the process. This can be changed on a per-signal basis so that a signal handler … Continue reading