From: Mark Hobley on 8 Jun 2010 20:08 On Thu, 03 Jun 2010 22:52:18 -0700, Cat 22 wrote: > Mark Hobley wrote: > > >> I am trying to compile motor, and I am getting an error as follows: >> >> Making all in src >> make[3]: Entering directory >> `/volumes/vol3a/build/motor/motor-3.4.0/ parser/src' gcc >> -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -g -O2 -c llist.c >> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -g -O2 -c >> parlist.c In file included from parlist.c:29: ../include/strfn.h:51: >> error: conflicting types for 'strndup' make[3]: *** [parlist.o] Error 1 >> >> Has anyone else seen this error, and does anyone know how to fix this? >> >> Mark. >> > After you removed the strndup code there, did it compile ok? did it run? No. I had to make additional changes to the code. I have uploaded a new version to berlios. http://prdownload.berlios.de/motor/motor_3.4.2.tar.bz2 Regards, Mark. -- /local/home/mark/.Signature --- news://freenews.netfront.net/ - complaints: news(a)netfront.net --- |