Rockbox mail archive
Subject: Re: Cygwin Compiler
From: Magnus Holmgren (lear_at_algonet.se)
Björn Stenberg wrote:
> Justin Heiner wrote:
> > /home/Administrator/rockbox/build/tree.o(.text+0x1ec): undefined reference to
> > `_memcmp'
> This is because you are using gcc-3.1.x instead of 3.0.4. gcc-3.1 changes calls to strncmp into memcmp behind your back.
> I haven't investigated it enough to know if there's an easier workaround than downgrading your compiler.
Throwing in memcmp.c from newlib isn't hard. :) Oh, and you need to add
a ro.str1.4 section as well. I put it after the existing ro.str one, and
it seems to work fine.
Page was last modified "Jan 10 2012" The Rockbox Crew