@Everybody with the strange compiling errors:
Did you all upgrade from "Auto DevKit"?
nope, fresh install of the latest devkitPPC, with updated libogc and libofat from GIT
EDIT: Just replaced my devkitPPC folder with the one contained in Auto DevKit and now it compiles fine :\, looks like a problem with elf2dol.exe in the latest devkitPPC ??? This exe isnt even included in the old devkitPPC, but if I remove it from the 'latest' build of devkitPPC it complains it cant find it at the elf>dol compiling stage
EDIT 2 : Just checked out the difference between wii_rules file from both builds
From "Auto DevKit"
CODEifeq ($(strip $(DEVKITPPC)),)
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=devkitPro/devkitPPC)
endif
exportÂÂÂÂLIBOGC_INCÂÂÂÂ:=ÂÂÂÂ$(DEVKITPRO)/libogc/include
exportÂÂÂÂLIBOGC_LIBÂÂÂÂ:=ÂÂÂÂ$(DEVKITPRO)/libogc/lib/wii
MACHDEP =ÂÂ-DGEKKO -mrvl -mcpu=750 -meabi -mhard-float
include $(DEVKITPPC)/base_rules
%.dol: %.elf
ÂÂÂÂ@echo output ... $(notdir $@)
ÂÂÂÂ@$(OBJCOPY)ÂÂ-O binary $< $@
#---------------------------------------------------------------------------------
%.elf:
ÂÂÂÂ@echo linking ... $(notdir $@)
ÂÂÂÂ@$(LD)ÂÂ$^ $(LDFLAGS) $(LIBPATHS) $(LIBS) -o $@
From devkitPPC_r16
CODEifeq ($(strip $(DEVKITPPC)),)
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=devkitPro/devkitPPC)
endif
exportÂÂÂÂLIBOGC_INCÂÂÂÂ:=ÂÂÂÂ$(DEVKITPRO)/libogc/include
exportÂÂÂÂLIBOGC_LIBÂÂÂÂ:=ÂÂÂÂ$(DEVKITPRO)/libogc/lib/wii
MACHDEP =ÂÂ-DGEKKO -mrvl -mcpu=750 -meabi -mhard-float
include $(DEVKITPPC)/base_rules
#---------------------------------------------------------------------------------
%.dol: %.elf
ÂÂÂÂ@echo output ... $(notdir $@)
ÂÂÂÂ@elf2dol $< $@
#---------------------------------------------------------------------------------
%.tpl : %.scf
ÂÂÂÂ@echo $(notdir $