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
From: Dave Chapman (dave_at_dchapman.com)
Date: 2002-09-22


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.



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