All of lore.kernel.org
 help / color / mirror / Atom feed
* Build errors
@ 2006-01-20 21:51 Kurt Schwemmer
  2006-01-22  3:03 ` Ralf Baechle
  0 siblings, 1 reply; 6+ messages in thread
From: Kurt Schwemmer @ 2006-01-20 21:51 UTC (permalink / raw)
  To: linux-mips

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-01-23 16:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-20 21:51 Build errors Kurt Schwemmer
2006-01-22  3:03 ` Ralf Baechle
2006-01-23 15:10   ` Nigel Stephens
2006-01-23 15:57     ` Kurt Schwemmer
2006-01-23 16:04       ` Nigel Stephens
2006-01-23 16:10       ` Maciej W. Rozycki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.