Re: build error
- Posted by jimcbrown (admin) Apr 02, 2013
- 1815 views
mattlewis said...
coconut said...
Hi, I'm trying to buil euphoria on my Efika Mx (ARM v7l). But get many undefined reference error.
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crt1.o: In function `_start': (.text+0x30): undefined reference to `main' /home/Jacques/euphoria/source/build/intobj/back/be_task.o: In function `ctask_create': be_task.c:(.text+0x9c4): undefined reference to `_00' /home/Jacques/euphoria/source/build/intobj/back/be_task.o: In function `start_task': be_task.c:(.text+0xdb0): undefined reference to `_00' /home/Jacques/euphoria/source/build/intobj/back/be_runtime.o: In function `ctrace': be_runtime.c:(.text+0x2064): undefined reference to `Argc' /home/Jacques/euphoria/source/build/intobj/back/be_runtime.o: In function `eu_startup': be_runtime.c:(.text+0x211c): undefined reference to `Argc' /home/Jacques/euphoria/source/build/intobj/back/be_runtime.o: In function `shift_args': be_runtime.c:(.text+0x2a20): undefined reference to `Argc' be_runtime.c:(.text+0x2a24): undefined reference to `Argv' /home/Jacques/euphoria/source/build/intobj/back/be_runtime.o: In function `Command_Line': be_runtime.c:(.text+0x2aac): undefined reference to `Argc' be_runtime.c:(.text+0x2ab0): undefined reference to `Argv'
Those are all things defined in the translated front end. I don't see any front end files in the linker command. I have a few questions:
- Is this a cross compile?
- Did the front end translate?
- Is this from the default branch?
Matt
Also, it'd be helpful to see your config.gnu file - is EUPHORIA set to 1 or 0?