Altera_Forum
Honored Contributor
17 years agoadd fdisk --> compilation error!
Hi all,
I'm new to the uClinux, I try to implement usb device (isp1761 Usb controller) I want to create and partition a local disk (8 MB) to emulate a mass storage (diskemu). So I add fdisk in uClinux configuration. BusyBox ---> Linux System Utilities ---> [*] fdisk But the compilation doesn't correctly! I don't know how to correct this error! Here is the error message when compiling : .... LD util-linux/built-in.o CC util-linux/dmesg.o CC util-linux/fdisk.o CC util-linux/mount.o AR util-linux/lib.a LINK busybox_unstripped busybox_unstripped.elf2flt(.text.read_line+0x8): In function `read_line': util-linux/fdisk.c:335: Unable to reach ptr_to_globals (at 0x0003d420) from the global pointer (at 0x00045d60) because the offset (-35136) is out of the allowed range, -32678 to 32767. collect2: ld returned 1 exit status make[3]: *** [busybox_unstripped] Erreur 1 make[3]: Leaving directory « /uClinux-dist/user/busybox » make[2]: *** [busybox] Erreur 2 make[2]: Leaving directory « /uClinux-dist/user » make[1]: *** [all] Erreur 2 make[1]: Leaving directory « /uClinux-dist/user » make: *** [subdirs] Erreur 1 When I compile without fdisk the kernel is compiled correctly (Kernel : 2.6.23-uc) Thanks for your help. Regards,