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



Rockbox mail archive

Subject: [PATCH] CVS compile problem

[PATCH] CVS compile problem

From: Dave Chapman <dave_at_dchapman.com>
Date: Sun, 22 Sep 2002 11:40:03 +0100

Hello,

When compiling the latest CVS code, I get an error message as follows:

/home/dave/ROCKBOX/recorder/lang.o(.data+0x0): multiple definition of
`language_strings'
/home/dave/ROCKBOX/recorder/lang.o(.data+0x0): first defined here
collect2: ld returned 1 exit status

This is because "lang.o" is included twice in the "OBJS" Makefile variable.

I am using gcc 2.95.2 under Linux. The fix is to remove "$(OBJDIR)/lang.o"
from line 52 in apps/Makefile. i.e.:

52c52
< OBJS := $(OBJDIR)/lang.o $(SRC:%.c=$(OBJDIR)/%.o)
---
> OBJS := $(SRC:%.c=$(OBJDIR)/%.o)                                            
If this doesn't break anything for other people, can I commit it to CVS?
Thanks,
Dave.
Received on 2002-09-22

Page was last modified "Mon Nov 16 10:57:21 2020" The Rockbox Crew -- Privacy Policy