From: Kurt Schwemmer <kurts@vitesse.com>
To: linux-mips@linux-mips.org
Subject: Build errors
Date: Fri, 20 Jan 2006 14:51:05 -0700 [thread overview]
Message-ID: <1137793865.15788.26.camel@lx-kurts> (raw)
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
next reply other threads:[~2006-01-20 21:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-20 21:51 Kurt Schwemmer [this message]
2006-01-22 3:03 ` Build errors 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1137793865.15788.26.camel@lx-kurts \
--to=kurts@vitesse.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox