|
Rockbox mail archiveSubject: Re: compile failureRe: compile failure
From: Dave Chapman <dave_at_dchapman.com>
Date: Sat, 28 Sep 2002 00:01:55 +0100 I made exactly the same mistake - you previously typed "make" in the apps directory, which creates a lang.c file. Now, when you try and compile in your build directory, you get another copy of lang.c, and the linker tries to link both copies - hence the "multiple definition" error. The solution is simply to delete lang.c from the apps directory. Dave. On Friday 27 September 2002 23:53, Sundar, Shekhar (MSTG-NY) wrote: > Hi.. > > I thought I'd try and build rockbox.. I think my environment is set up fine, but I get this error trying to build a rockbox recorder normal. > > sh-elf-gcc -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns -I../firmware/include -I../firmware -I../firmware/common -I../firmwar > e/drivers -I../firmware/malloc -I. -Ic:/misc/ARCHOS/dev/src/target -DARCHOS_RECORDER -DAPPSVERSION=\"020927-1840\" -DDISABLE_NOTHING -Irecorder -c c:/misc/ARCHOS/dev/src/target/la > ng.c -o c:/misc/ARCHOS/dev/src/target/lang.o > sh-elf-gcc -Os -nostdlib -o c:/misc/ARCHOS/dev/src/target/archos.elf c:/misc/ARCHOS/dev/src/target/lang.o c:/misc/ARCHOS/dev/src/target/credits.o c:/misc/ARCHOS/dev/src/target/deb > ug_menu.o c:/misc/ARCHOS/dev/src/target/demo_menu.o c:/misc/ARCHOS/dev/src/target/games_menu.o c:/misc/ARCHOS/dev/src/target/lang.o c:/misc/ARCHOS/dev/src/target/language.o c:/misc > /ARCHOS/dev/src/target/main.o c:/misc/ARCHOS/dev/src/target/main_menu.o c:/misc/ARCHOS/dev/src/target/menu.o c:/misc/ARCHOS/dev/src/target/playlist.o c:/misc/ARCHOS/dev/src/target/ > screens.o c:/misc/ARCHOS/dev/src/target/settings.o c:/misc/ARCHOS/dev/src/target/settings_menu.o c:/misc/ARCHOS/dev/src/target/showtext.o c:/misc/ARCHOS/dev/src/target/sound_menu.o > c:/misc/ARCHOS/dev/src/target/status.o c:/misc/ARCHOS/dev/src/target/tree.o c:/misc/ARCHOS/dev/src/target/wps-display.o c:/misc/ARCHOS/dev/src/target/wps.o c:/misc/ARCHOS/dev/src/ > target/recorder/bmp.o c:/misc/ARCHOS/dev/src/target/recorder/bounce.o c:/misc/ARCHOS/dev/src/target/recorder/icons.o c:/misc/ARCHOS/dev/src/target/recorder/oscillograph.o c:/misc/A > RCHOS/dev/src/target/recorder/snow.o c:/misc/ARCHOS/dev/src/target/recorder/sokoban.o c:/misc/ARCHOS/dev/src/target/recorder/tetris.o c:/misc/ARCHOS/dev/src/target/recorder/widgets > ..o c:/misc/ARCHOS/dev/src/target/recorder/wormlet.o -Lc:/misc/ARCHOS/dev/src/target -lrockbox -lgcc -L../firmware -T../firmware/app.lds -Wl,-Map,c:/misc/ARCHOS/dev/src/target/archo > s.map > c:/misc/ARCHOS/dev/src/target/lang.o(.data+0x0): multiple definition of `language_strings' > c:/misc/ARCHOS/dev/src/target/lang.o(.data+0x0): first defined here > > I'm using cygwin on win2k Received on 2002-09-28 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |