'make check' fails: undefined reference to `main'

Bug #263731 reported by Eric P. Mangold
2
Affects Status Importance Assigned to Milestone
Ecru
New
Undecided
Unassigned

Bug Description

After a successful 'make' I tried to run the tests:

Archimedes ~/code/ecru % make check
make test_vm test_elib test_invoke test_bytecode_loader test_ref test_same test_guards test_vat
make[1]: Entering directory `/home/teratorn/code/ecru'
/bin/bash ./libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o test_vm src/tests/test_vm-test_vm.o -lcheck -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 libecru.la -lgmp -lgc -lm
gcc -std=gnu99 -g -O2 -o .libs/test_vm src/tests/test_vm-test_vm.o -pthread -lcheck /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so ./.libs/libecru.so /usr/lib/libgmp.so /usr/lib/libgc.so -lm
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [test_vm] Error 1
make[1]: Leaving directory `/home/teratorn/code/ecru'
make: *** [check-am] Error 2

I haven't looked in to this at all... Let me know if I can check anything for you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.