[Top] [All Lists]

Build errors

Subject: Build errors
From: Kurt Schwemmer <>
Date: Fri, 20 Jan 2006 14:51:05 -0700
Original-recipient: rfc822;
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://
linux.git 2 days ago. I downloaded and installed sde:

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
  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!

Kurt Schwemmer

<Prev in Thread] Current Thread [Next in Thread>