Menu

#13 Compile problem form VR4121 (NEC MobilePro 770)

open
nobody
None
5
2013-02-19
2003-10-02
Anonymous
No

Howdy all. I'm having a terrible time trying to get
this thing compiled for an NEC MobilePro 770. Research
shows it is a VR4121. I have the cross compiler
installed and it seems to be working fine. When I do
make *config I get the option for my particular machine:

CONFIG_CLASS_PDA=y
CONFIG_NEC_MOBILEPRO_770=y
CONFIG_CPU_VR41XX=y

This leads to the compiler error of:

mipsel-linux-gcc -msoft-float -D__KERNEL__
-I/home/sharris/linux-mips/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer
-mcpu=r4600 -mips2 -Wa,-m4100,--trap -G 0 -mno-abicalls
-fno-pic -pipe -fno-strict-aliasing -c -o init/main.o
init/main.c
Assembler messages:
Fatal error: The -mcpu option can't be used together
with -march. Use -mtune instead of -mcpu.
init/main.c:168: output pipe has been closed

I have handly tried tweaking with the .config file,
with the first step as removing the reference to
CONFIG_CPU_VR41XX=y. While that gets me further, I
then later will always have problems with the compile
referencing what seems to be the missing 41xx pieces.

mipsel-linux-ld -static -G 0 -T arch/mips/ld.script
arch/mips/kernel/head.o arch/mips/kernel/init_task.o
init/main.o init/version.o \ --start-group \ arch/mips/kernel/kernel.o arch/mips/mm/mm.o
kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ drivers/block/block.o drivers/char/char.o
drivers/misc/misc.o drivers/net/net.o
drivers/media/media.o drivers/parport/parport.a \ net/network.o \ arch/mips/lib/lib.a
/home/sharris/linux-mips/linux/lib/lib.a \ --end-group \ -o vmlinux
init/main.o: In function `check_bugs':
init/main.o(.text.init+0x84): undefined reference to
`vr41xx_wait'
init/main.o(.text.init+0x88): undefined reference to
`vr41xx_wait'
arch/mips/kernel/kernel.o: In function `__die':

And depending on which other kernel features I add it
always seems to bomb on the vr41xx stuff.

Any help would be greatly appreciated.

Scott

linux-vr@synthys.com

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.