Hi, I wrote the following line into my Makefile.am:
pymsgque_la_SOURCES = pymsgque.c pymsgque.c pymisc.c -> double include the file "pymsgque.c" and got the following compile error :!make 2>&1| tee /tmp/v152727/13 /bin/sh ../libtool --tag=CC --mode=link ccache gcc -std=gnu99 -I../src -I/home/dev1usr/ext/x86_64-suse-linux/thread/include/python3.0 -fno-strict-aliasing -DNDEBUG -Wstrict-prototypes -g -O3 -Wall -Wcast-align -pthread -fgnu89-inline -module -avoid-version -no-undefined -Xlinker -export-dynamic -o pymsgque.la -rpath /tmp/libmsgque-install/lib/libmsgque pymsgque_la-pymsgque.lo pymsgque_la-pymsgque.lo pymsgque_la-pymisc.lo ../src/libmsgque.la -lpthread -ldl -lutil ccache gcc -shared .libs/pymsgque_la-pymsgque.o .libs/pymsgque_la-pymsgque.o .libs/pymsgque_la-pymisc.o -Wl,--rpath -Wl,/home/dev1usr/Project/libmsgque/src/.libs -Wl,--rpath -Wl,/tmp/libmsgque-install/lib ../src/.libs/libmsgque.so -lpthread -ldl -lutil -pthread -Wl,-export-dynamic -Wl,-soname -Wl,pymsgque.so -o .libs/pymsgque.so .libs/pymsgque_la-pymsgque.o: In function `PyInit_pymsgque': /home/dev1usr/Project/libmsgque/pymsgque/pymsgque.c:482: multiple definition of `PyInit_pymsgque' .libs/pymsgque_la-pymsgque.o:/home/dev1usr/Project/libmsgque/pymsgque/pymsgque.c:482: first defined here collect2: ld returned 1 exit status make: *** [pymsgque.la] Fehler 1 it take me quite a while to figure out that the double argument in Makefile.am was the soure -> please check for double argument in Makefile.am and write an error ... mfg Andreas Otto
