Build errors

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

 



Disclaimer: This is my first attempt to recompile the linux-mips kernel
so these are probably just newbie problems.

I sync'd with git clone rsync://ftp.linux-mips.org/git/linux.git
linux.git 2 days ago. I downloaded and installed sde:
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.02.03-1/mipsel-sdelinux-v6.02.03-1.i386.rpm

I'm building for a Malta eval board. I'm trying to compile in oprofile
support. I execute the following sequence:
1. Copy the default malta config file to .config
2. run make xconfig and add oprofile support
3. make clean
4. make vmlinux.srec

I get a few warnings:

kernel/pid.c: In function `pidhash_init':
kernel/pid.c:260: warning: comparison of distinct pointer types lacks a
cast
  CC      kernel/rcupdate.o
  CC      kernel/intermodule.o
kernel/intermodule.c:178: warning: `inter_module_register' is deprecated
(declared at kernel/intermodule.c:38)
kernel/intermodule.c:179: warning: `inter_module_unregister' is
deprecated (declared at kernel/intermodule.c:78)
kernel/intermodule.c:181: warning: `inter_module_put' is deprecated
(declared at kernel/intermodule.c:159)

...but the one that kills me is:
mm/msync.o: In function `msync_interval':
msync.c:(.text+0x10c): unmatched HI16 relocation
mipsel-linux-ld: final link failed: Bad value
make[1]: *** [mm/built-in.o] Error 1
make: *** [mm] Error 2

Would someone tell me what I'm doing wrong? I'm pretty sure people
wouldn't be checking in code that doesn't even build!

Thanks,
Kurt Schwemmer



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux