sunxi-babelfish
sunxi-babelfish copied to clipboard
Compile failed with "undefined reference"
I know this is pretty old but I still wish to have a try hoping it could work with old kernel. But during compiling I got the following linker error:
out/src/soc.o: In function `match_soc':
soc.c:(.text+0x1dc): undefined reference to `dtb_sun4i_a10'
soc.c:(.text+0x1e4): undefined reference to `dtb_sun5i_a13'
soc.c:(.text+0x1ec): undefined reference to `dtb_sun5i_a10s'
soc.c:(.text+0x1f4): undefined reference to `dtb_sun6i_a31'
soc.c:(.text+0x1fc): undefined reference to `dtb_sun7i_a20'
make: *** [Makefile:82: babelfish] Error 1
Could you please give me some clue on how to fix it?
Do you have dtc installed in your system?
But this is suppose to use an old kernel, then this will not help, it's supposed to be used for an old bootloader with a new kernel.