Hello Everybody, I have a problem with the latest version of L4Re. It just can't build it for ARM. I get the folllowing error message while building:
... Compiling cfg_scanner.o ... Compiling cfg_scan.o ... Compiling cfg_parser.tab.o ==> Linking io main.o: In function `run': /home/jester/Repositories/test/src/l4re/l4/pkg/io/server/src/main.cc:385: undefined reference to `luaopen_Io' make[5]: *** [io] Error 1 make[5]: Leaving directory `/home/jester/Repositories/test/build/l4re/pkg/io/server/src/OBJ-arm_armv7a-l4f' make[4]: *** [/home/jester/Repositories/test/build/l4re/pkg/io/server/src/OBJ-arm_armv7a-l4f] Error 2 make[4]: Leaving directory `/home/jester/Repositories/test/src/l4re/l4/pkg/io/server/src' make[3]: *** [src] Error 2 make[3]: Leaving directory `/home/jester/Repositories/test/src/l4re/l4/pkg/io/server' make[2]: *** [server] Error 2 make[2]: Leaving directory `/home/jester/Repositories/test/src/l4re/l4/pkg/io' make[1]: *** [io] Error 2 make[1]: Leaving directory `/home/jester/Repositories/test/src/l4re/l4/pkg' make: *** [pkg] Error 2 Creating build directory "/home/jester/Repositories/test/build/fiasco"... Already exists, aborting. make: *** [builddir] Error 1 make -C /home/jester/Repositories/test/src/l4re/kernel/fiasco/src/../tool/kconfig O=/home/jester/Repositories/test/build/fiasco Kconfig=Kconfig KCONFIG_AUTOHEADER=globalconfig.h KCONFIG_TRISTATE=config/tristate.conf KCONFIG_CONFIG=globalconfig.out KCONFIG_AUTOCONFIG=config/auto.conf KERNELVERSION=SVN MENUCONFIG_COLOR=blackbg INCLUDE_PPC32= INCLUDE_SPARC= fiasco_srcdir=/home/jester/Repositories/test/src/l4re/kernel/fiasco/src/.. menuconfig silentoldconfig make[1]: Entering directory `/home/jester/Repositories/test/src/l4re/kernel/fiasco/tool/kconfig' scripts/kconfig/mconf Kconfig
*** End of the configuration. *** Execute 'make' to start the build or try 'make help'.
make[2]: *** [menuconfig] Interrupt make[1]: *** [sub-make] Interrupt make: *** [config] Interrupt
There seems to be an issue with the function luaopen_Io but I don't know what to do to fix this. Can anybody help me? I have already tried different toolchains. The Linaro toolchain 2012.10 and also different versions from Code Sourcery (2010.09 and 2012.09).
Thanks in advance.
Cheers, Jester
Hi,
On Wed Nov 21, 2012 at 18:45:25 +0100, Death Jester wrote:
I have a problem with the latest version of L4Re. It just can't build it for ARM. I get the folllowing error message while building: ... Compiling cfg_scan.o ... Compiling cfg_parser.tab.o ==> Linking io main.o: In function `run': /home/jester/Repositories/test/src/l4re/l4/pkg/io/server/src/main.cc:385: undefined
There seems to be an issue with the function luaopen_Io but I don't know what to do to fix this. Can anybody help me? I have already tried different toolchains. The Linaro toolchain 2012.10 and also different versions from Code Sourcery (2010.09 and 2012.09).
There could be some unfortunate thing in the Makefile. Is lua_glue.swg.cc maybe empty? If yes, restore it and try again.
Adam
l4-hackers@os.inf.tu-dresden.de