tags 373267 +pending thanks * Marc Herbert wrote: > I just tried tonight to dpkg-buildpackage nulmailer 1.02-7 (among > others) on Ubuntu breezy. As usual when autoconf is involved, it > took me about 3 hours to understand and workaround this obscure > compilation error: > > i486-linux-gnu-g++ -Wall -g -O2 -fno-rtti -fno-exceptions -W -Wall -o > nullmailer-send send.o ../lib/libnullmailer.a > /usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/crt1.o: In function _start': > ../sysdeps/i386/elf/start.S:115: undefined reference to main' > collect2: ld returned 1 exit status > make[3]: *** [nullmailer-send] Error 1 > make[3]: Leaving directory /var/tmp/nullmailer-1.00/src' > > Please find workaround attached in case you are interested.
Thanks! I realized this problem last weekend, took a quick look at the autoconf/automake mess, but the solution wasn't obvious. It was on my TODO list for next weekend... > I'm always amazed how autoconf (with admittedly some help from dpkg) > achieves to push compilation issues far beyond the capacities of > mere mortals. So thanks for yet another brilliant (and surely not > purposeful) demonstration. Indeed. Norbert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]