Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: undefined reference to `memcmp'
From: Jerome Kuptz (jerome_at_geekrox.com)
Date: 2002-07-21


Fabian,
         You won't get rockbox compiling with a vanilla cygwin
install. You need to
install cygwin, and then proceed with Bjorn's instructions here....

http://bjorn.haxx.se/rockbox/cross-gcc.html

FYI - the rockbox OS is your "virtual machine". Except you're much closer
to the hardware :).

--jk

At 10:00 PM 7/21/2002 +0200, Fabian Merki wrote:
>[i'm not sure if the mail reached you - sorry, if you got it twice!]
>
>hi everyone
>
>first of all i really love the archos recorder and that you already did so
>lot of work for open source solution!
>
>here my question (my environment: w2k, cygwin):
>after i created the makefile (with the configure-tool) and run make i get
>the following error:
>
> sh-elf-gcc -Os -nostdlib -o ./archos.elf ./credits.o ./main.o
> ./main_menu.o ./menu.o ./play.o ./pla
> ylist.o ./showtext.o ./sound_menu.o ./tree.o ./recorder/bmp.o
> ./recorder/bounce.o ./recorder/boxes.o
> ./recorder/icons.o ./recorder/sokoban.o ./recorder/tetris.o -L.
> -lrockbox -lgcc -L../firmware -T../
> firmware/app.lds -Wl,-Map,./archos.map
> ../firmware\librockbox.a(id3.o): In function `setid3v2title':
> id3.o(.text+0x2ac): undefined reference to `memcmp'
> id3.o(.text+0x340): undefined reference to `memcmp'
>......
>
>where should this memcmp be - in the lib of cygwin there is such a file
>which contains that function - but i think this should not be taken
>because of the -nostdlib... right?
>
>i'm a complete beginner in c (well i'm not new to programming (i know
>java, vb and other languages quite well)).
>so please give me a hint - i think it must be very easy for you!
>
>btw: why is there no one who creates a jvm (java virtual maschine) for the
>recorder? than it would be much easier to create own applications - i believe.
>
>cheers
>fabian



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa