errors while insmoding usb-skeleton.o

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am building a module ysb-skeleton.o with following compiler options


/opt/brcm/hndtools-mipsel-linux-3.2.3/bin/mipsel-linux-gcc -D__KERNEL__ -I/u
sr/src/mipslinux/src/linux/linux/include -Wall -Wstrict-prototypes -Wno-trig
raphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/usr/src/m
ipslinux/src/linux/linux/../../include -I/usr/src/mipslinux/src/linux/linux/
include/asm/gcc -G
 -mno-abicalls -fno-pic -pipe -mips2  -mlong-calls  -nostdinc -iwithprefix
include -DKBUILD_BASENAME=usb-skeleton  -c -o usb-skeleton.o usb-skeleton.c

 When insmoding the usb-skeleton.o,  insmod usb-skeleton.o
I am getting the following erros
 Using usb-skeleton.o
 insmod: Relocation overflow of type 4 for __copy_user
 insmod: Relocation overflow of type 4 for __copy_user
 insmod: Relocation overflow of type 4 for __copy_user

Where am i going wrong. Any help would be appreciated.

TIA

Best Regards
Narendra




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux