It is indeed the toolchain wiki I was following. The only thing I didn't do already was replacing AC_PROG_CC for AC_PROG_CXX. After replacing that I did make clean, om-conf and make. It still complains it still says "*** No rule to make target `main.c', needed by `main.o'".
I've put my complete project on http://peter.industria.be/labyrinth/ so anyone can directly see what the problem might be. (I've not uploaded data/ball.png because of licensing issues.) Thank you all for the help, depeje On Wednesday 14 January 2009 18:49:21 Juan Alberto Aranda Alvarez wrote: > One question, which wiki is the one you used as reference? is it the > toolchain wiki page? > > The issue is the way you have autotools configured for the project. > > Let's suppose I followed the wiki page: > http://wiki.openmoko.org/wiki/Toolchain#How_to_create_your_own_project_from >_the_sample_project > > The issue is modifying 2 files: configure.ac and src/Makefile.am > > AC_CONFIG_SRCDIR(src/main.c) <-- change here to main.cpp > > In configure.ac you have to replace AC_PROG_CC for AC_PROG_CXX. > > in the file src/Makefile.am you replace the file main.c for main.cpp > > This way it will use the Toolchain's C++ compiler. > > I found this link to be very helpful : > > http://www.openismus.com/documents/linux/automake/automake.shtml > > Hope it helps. > > Juan Aranda. _______________________________________________ devel mailing list devel@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/devel