mlat with python3.4 on gentoo wont compile


mlat compiled fine with python3.3
mlat was working with python3.3

I have cloned mutability/mlat-client from github
when I run build I get this error

armv7a-hardfloat-linux-gnueabi-gcc -fPIC -I/usr/include/python3.4 -c _modes.c -o build/temp.linux-armv7l-3.4/_modes.o
armv7a-hardfloat-linux-gnueabi-gcc -fPIC -I/usr/include/python3.4 -c modes_reader.c -o build/temp.linux-armv7l-3.4/modes_reader.o
armv7a-hardfloat-linux-gnueabi-gcc -fPIC -I/usr/include/python3.4 -c modes_message.c -o build/temp.linux-armv7l-3.4/modes_message.o
armv7a-hardfloat-linux-gnueabi-gcc -fPIC -I/usr/include/python3.4 -c modes_crc.c -o build/temp.linux-armv7l-3.4/modes_crc.o
armv7a-hardfloat-linux-gnueabi-gcc build/temp.linux-armv7l-3.4/_modes.o build/temp.linux-armv7l-3.4/modes_reader.o build/temp.linux-armv7l-3.4/modes_message.o build/temp.linux-armv7l-3.4/modes_crc.o -L/usr/lib -lpython3.4 -o build/lib.linux-armv7l-3.4/
/usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.9.3/../../../crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'
collect2: error: ld returned 1 exit status
error: command 'armv7a-hardfloat-linux-gnueabi-gcc' failed with exit status 1

Any help?


This compilation is driven by Python’s distutils. It looks like distutils is not generating the right link flags for a shared library (extension module). you’ll have to diagnose why this is happening yourself as I don’t test the build under a gentoo environment.