On Fri, Feb 13, 2009 at 03:06:01PM -0500, stan wrote: > I am making progress on the mission to build 2.6.1 for may archaic Soalris > 2.5.1 machines :-) > > But now I am running in to the followig: > > In file included from genversion.c:31: > amanda.h:743: error: conflicting types for 'bind' > /usr/local/lib/gcc/sparc-sun-solaris2.5.1/3.4.2/include/sys/socket.h:304: > error: previous declaration of 'bind' was here > amanda.h:743: error: conflicting types for 'bind' > /usr/local/lib/gcc/sparc-sun-solaris2.5.1/3.4.2/include/sys/socket.h:304: > error: previous declaration of 'bind' was here > amanda.h:853: error: conflicting types for 'memmove' > amanda.h:853: error: conflicting types for 'memmove' > amanda.h:969: error: conflicting types for 'setpgrp' > /usr/local/lib/gcc/sparc-sun-solaris2.5.1/3.4.2/include/unistd.h:259: > error: previous declaration of 'setpgrp' was here > amanda.h:969: error: conflicting types for 'setpgrp' > /usr/local/lib/gcc/sparc-sun-solaris2.5.1/3.4.2/include/unistd.h:259: > error: previous declaration of 'setpgrp' was here > > Any sugestions as to where to start looking for the root cause this > problem.
Looking at this a bit, the problem sems to be with some #igndefs in common-src/amanda.h which are invoked if function declerations have not been fond by configure. Now I guess this means that the detection for this is broken in configure, which in a perfcet world we should correct. Since what I am trying to do at the moment is just get a compile to work on this architecture. Where are the DEFINES for this set up. I could just correct them by hand which should gte me a bit further along. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
